Esempio n. 1
0
def runUnpackDialog():
    input = unpackDialog()
    if input != '':  # if file is entered
        print('Unpacker:', input)
        unpack(
            ifile=input,
            prefix='')  # default, writes out new files without a 'new' prefix
Esempio n. 2
0
def CDA(url):
    r = requests.get(url)
    match = re.compile("eval(.*?)\{\}\)\)").findall(r.text)
    try:
         if match[1]:
             #print match[1] + ' eval'
             spakowany = match[1]
             spakowany = spakowany.replace("\\'","")
             unpacked = unpacker.unpack(spakowany)
             #print unpacked + ' wypakowany'
             match = re.compile('var video=<video src="(.*?)"').findall(unpacked)
             videourl = match[0]
             match = re.compile('poster="(.*?)"').findall(unpacked)
             posterurl = match[0]
             print videourl+ ' cda_videourl'
             return (videourl,posterurl)
         #else :
              #return ""
     
    except IndexError: 
          print "material usuniety ? "
          return ("","")
Esempio n. 3
0
def runUnpackDialog():
    input_ = unpackDialog()
    if input_ != '':
        print('Unpacker:', input_)
        unpack(ifile=input_, prefix='')
Esempio n. 4
0
def runUnpackDialog():
    input = unpackDialog()
    if input != '':
        print('Unpacker:', input)
        unpack(ifile=input, prefix='')
Esempio n. 5
0
def runUnpackDialog():
    input = unpackDialog()                  # 从图形界面获得输入
    if input != '':                         # 处理非图形界面化的东西
        print('Unpacker:', input)           # 从对话框获得输入,运行程序
        unpack(ifile=input, prefix='')
Esempio n. 6
0
def runUnpackDialog():
    input = unpackDialog()
    if input != '':
        print('[*] Unpacker ', input)
        unpack(infile=input)
Esempio n. 7
0
def runUnpackDialog():
    input = unpackDialog()
    if input != '':
        print('Unpacker:', input)
        unpack(ifile=input, prefix='')
Esempio n. 8
0
def runUnpackDialog():
    input = unpackDialog()                    # get input from GUI
    if input != '':                           # do non-GUI file stuff
        print('Unpacker:', input)             # run with input from dialog
        unpack(ifile=input, prefix='')
Esempio n. 9
0
def runUnpackDialog():
    input = unpackDialog()                    # get input from GUI
    if input != '':                           # do non-GUI file stuff
        print('Unpacker:', input)             # run with input from dialog
        unpack(ifile=input, prefix='')