Exemplo n.º 1
0
def wordpresscantor():
    checker.cRojo("Desea Guardar el logs de la informacion? y/n : ")
    resp = raw_input("Introduce tu Respuesta y/n : ")
    if resp == "y":
        web = portsmod.host()
        logsalida = logs.randomarch("wpscan/", "WPSCAN", ".log")
        web = portsmod.host()
        checker.cAmarillo(
            "Buscando vulnerabilidades en el sitio web usando wpscan...")
        owd = os.getcwd()
        os.chdir("/data/data/com.termux/files/home/.wpscan")
        subprocess.call([
            "ruby", "wpscan.rb", "-u", web, "--enumerate", "p", "--enumerate",
            "t", "--enumerate", "u", "--proxy", "socks5://127.0.0.1:9050",
            "--log", logsalida
        ])
        print ""
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.cRojo(["Tu log se ha Guardado en la ruta: ", logsalida])
        checker.cAmarillo(
            "--------------------------------------------------------")
        os.chdir(owd)
        print ""
    elif resp == "n":
        web = portsmod.host()
        owd = os.getcwd()
        os.chdir("/data/data/com.termux/files/home/.wpscan")
        subprocess.call([
            "ruby", "wpscan.rb", "-u", web, "--enumerate", "p", "--enumerate",
            "t", "--enumerate", "u", "--proxy", "socks5://127.0.0.1:9050"
        ])
        os.chdir(owd)
    execute()
Exemplo n.º 2
0
def bypasscloud():
    checker.cRojo("Desea Guardar el logs de la informacion? y/n : ")
    resp=raw_input("Introduce tu Respuesta y/n : ")
    if resp=="y":
        try:
            host()
            logsalida=logs.randomarch("bypass/","BYPASSER",".log")
            checker.cAmarillo("Intentando Bypassear Cloudflare usando fierce...")
            subprocess.call(["fierce","-dns",target,"-fulloutput",logsalida]) 
            print ""
            checker.cAmarillo("--------------------------------------------------------")
            checker.cRojo(["Tu log se ha Guardado en la ruta: ",logsalida])
            checker.cAmarillo("--------------------------------------------------------")
            print ""
        except OSError:
            subprocess.call(["fierce.pl","-dns",target,"-fulloutput",logsalida])
        except:
            print "Ha ocurrido un error, saliendo."
            pass
    elif resp=="n":
        try:
            host()
            subprocess.call(["fierce","-dns",target]) 
        except OSError:
            subprocess.call(["fierce.pl","-dns",target])
        except:
            print "Ha ocurrido un error, saliendo."
            pass
Exemplo n.º 3
0
def wordpresscan():
    checker.cRojo("Desea Guardar el logs de la informacion? y/n : ")
    resp = raw_input("Introduce tu Respuesta y/n : ")
    if resp == "y":
        web = portsmod.host()
        logsalida = logs.randomarch("wpscan/", "WPSCAN", ".log")
        subprocess.call([
            "sudo", "wpscan", "-u", web, "--enumerate", "p", "--enumerate",
            "t", "--enumerate", "u", "--log", logsalida
        ])
        print ""
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.cRojo(["Tu log se ha Guardado en la ruta: ", logsalida])
        checker.cAmarillo(
            "--------------------------------------------------------")
        print ""
    elif resp == "n":
        web = portsmod.host()
        subprocess.call([
            "sudo", "wpscan", "-u", web, "--enumerate", "p", "--enumerate",
            "t", "--enumerate", "u"
        ])
    execute()
Exemplo n.º 4
0
def nickscan():
    checker.cRojo("Desea Guardar el logs de la informacion? y/n : ")
    resp = raw_input("Introduce tu Respuesta y/n : ")
    if resp == "y":
        web = portsmod.host()
        checker.cAmarillo(
            "Buscando vulnerabilidades en el sitio web usando nikto...")
        logsalida = logs.randomarch("nikto/", "NIKTO", ".html")
        subprocess.call(["nikto", "-no404", "-host", web, "-o", logsalida])
        print ""
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.cRojo(["Tu log se ha Guardado en la ruta: ", logsalida])
        checker.cAmarillo(
            "--------------------------------------------------------")
        print ""
    elif resp == "n":
        web = portsmod.host()
        checker.cAmarillo(
            "Buscando vulnerabilidades en el sitio web usando nikto...")
        subprocess.call(["nikto", "-no404", "-host", web])
    execute()
Exemplo n.º 5
0
def whatw():
    checker.cRojo("Desea Guardar el logs de la informacion? y/n : ")
    resp = raw_input("Introduce tu Respuesta y/n : ")
    if resp == "y":
        web = portsmod.host()
        checker.cAmarillo("Obteniendo informacion del sitio web.")
        print ""
        logsalida = logs.randomarch("whatweb/", "WHATWEB", ".log")
        subprocess.call(["whatweb", "-v", web, "--log-verbose", logsalida])
        print ""
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.cRojo(["Tu log se ha Guardado en la ruta: ", logsalida])
        checker.cAmarillo(
            "--------------------------------------------------------")
        print ""
    elif resp == "n":
        web = portsmod.host()
        checker.cAmarillo("Obteniendo informacion del sitio web.")
        print ""
        subprocess.call(["whatweb", "-v", web])
        execute()
Exemplo n.º 6
0
def enumdns():
    checker.cRojo("Desea Guardar el logs de la informacion? y/n : ")
    resp=raw_input("Introduce tu Respuesta y/n : ")
    if resp=="y":
        host()
        logsalida=logs.randomarch("dnsenum/","DNSENUM",".xml")
        checker.cAmarillo("Enumerando DNS's")
        subprocess.call(["dnsenum",target,"-o",logsalida])
        print ""
        checker.cAmarillo("--------------------------------------------------------")
        checker.cRojo(["Tu log se ha Guardado en la ruta: ",logsalida])
        checker.cAmarillo("--------------------------------------------------------")
        print ""
    elif resp=="n":
        host()
        subprocess.call(["dnsenum",target])
Exemplo n.º 7
0
        'controlpanel.html', 'admincontrol.html',
        'panel-administracion/login.brf', 'wp-login.brf', 'adminLogin.brf',
        'admin/adminLogin.brf', 'home.brf', 'admin.brf', 'adminarea/index.brf',
        'adminarea/admin.brf', 'adminarea/login.brf',
        'panel-administracion/index.brf', 'panel-administracion/admin.brf',
        'modelsearch/index.brf', 'modelsearch/admin.brf',
        'admincontrol/login.brf', 'adm/admloginuser.brf', 'admloginuser.brf',
        'admin2.brf', 'admin2/login.brf', 'admin2/index.brf',
        'usuarios/login.brf', 'adm/index.brf', 'adm.brf', 'affiliate.brf',
        'adm_auth.brf', 'memberadmin.brf', 'administratorlogin.brf'
    ]

    try:
        site = raw_input("Escribe el Nombre del Dominio: ")
        site = site.replace("http://", "")
        checker.cAmarillo("\tChecking website " + site + "...")
        conn = httplib.HTTPConnection(site)
        conn.connect()
        checker.cVerde("\t[$] SI... El servidor esta online.")
    except (httplib.HTTPResponse, socket.error) as Exit:
        raw_input(
            "\t [!] Ups ha Ocurrido un error, Servidor Offline o Url invalida")
        exit()
    print "Introduce el codigo del sitio.:"
    print "1 PHP, 2 ASP, 3 CFM, 4 JS, 5 CGI, 6 BRF"
    print "\nPress 1 and 'Enter' to Select PHP, 2 for ASP etc...\n"
    code = input("> ")

    if code == 1:
        checker.cAmarillo("\t [+] Escaneando " + site + "...\n\n")
        for admin in php:
Exemplo n.º 8
0
def menu():
    checker.cAmarillo("\nElige la tarea que quieres realizar:")
    print """
    a) Identificacion de hashes.
    b) Desencriptación de hashes usando John The Ripper + Wordlists.
    c) Desencriptacion de Hashes online y Wordlist para bruteforce.
    d) Salir.
    """
    option = raw_input("Introduce tu opcion: ")
    try:
        if option == "a":
            os.system("python2 modules/hashidentifier")
            menu()

        elif option == "b":
            checker.cAmarillo("Elige la opción que deseas usar: ")
            print """
                a) Desencriptación de un Hash tipo MD5.
                b) Desencriptación de un Hash tipo Sha-1.
                c) Desencriptación de un Hash tipo MySQL.
                d) Desencriptación de un Hash tipo Django.
                e) Desencriptación de cualquier tipo de Hash (Debes conocer previamente el tipo de Hash).
                f) Regresar al menú anterior.
                """
            tipodehashh = raw_input("Teclea tu opción: ")
            if tipodehashh == "a":
                johnmod.md5hash()
                menu()
            elif tipodehashh == "b":
                johnmod.sha1hash()
                menu()
            elif tipodehashh == "c":
                johnmod.mysqlhash()
                menu()
            elif tipodehashh == "d":
                johnmod.djangohash()
                menu()
            elif tipodehashh == "e":
                johnmod.anyhash()
                menu()
            elif tipodehashh == "f":
                print "Regresando al menú anterior.\n"
                pass
            else:
                print "Opción invalida, intentalo de nuevo."
                menu()
        elif option == "c":
            checker.cAmarillo(
                "Utiliza las siguientes direcciones Web para buscar tus hash.")
            print """
            1) Para hash MD5 - https://hashkiller.co.uk/md5-decrypter.aspx
            2) Para hash Sha-1 - https://hashkiller.co.uk/sha1-decrypter.aspx
            3) Para claves WPA/WPA2 - https://hashkiller.co.uk/wpa-crack.aspx
            4) Para hash NTML https://hashkiller.co.uk/ntlm-decrypter.aspx
            """
            checker.cRojo(
                "Adicionalmente puedes descargar tus wordlist para ataques de fuerza bruta directamente desde aquí: "
            )
            os.system(
                "cat modules/wordlist/worlists.txt | curl -F c=@- https://ptpb.pw/?u=1"
            )
            print ""

            menu()
        elif option == "d":
            print "Saliendo."
        else:
            menu()
    except KeyboardInterrupt:
        pass
Exemplo n.º 9
0
def joomsc():
    web = portsmod.host()
    checker.cAmarillo(
        "Buscando vulnerabilidades en el sitio web usando joomlavs...")
    subprocess.call(["ruby", "joomlavs", "-u", web, "-a"])
    execute()