rastleak_2_0.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:RastLeak 作者: n4xh4ck5 项目源码 文件源码
def ShowResults(newlist,num_files,target,output,option,captcha):
    if option == 1:
        print "Files into the target "+target+" are:\n"
        if captcha == False:
            print "Files indexed:", len (url_google)
            for i in url_google:
                #if i not in url_google:
                newlist.append(i)
                print i     
        else: ##Catpcha == True, try results of Bing
            print "Files indexed:", len (urls_final)
            for i in urls_final:
                #if i not in url_google:
                newlist.append(i)
                print i 
    else:
        #option ==2
        print "ShowResults outside target"
        print "Files outside target "+target+" are:\n"
        print "Files indexed:", len (url_google)
        for i in url_google:
        #if i not in url_google:
            newlist.append(i)
            print i 
    #verify if the user wants to export results
    if (output == 'Y') or (output =='y'):
        #Only it can enter if -j is put in the execution
        ExportResults(newlist)
    #Call to function to download the files     
    Downloadfiles(newlist,output)

#MAIN
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号