示例#1
0
def wordpresscan():
    checker.cRojo("Desea Guardar el logs de la informacion? y/n : ")
    resp = input("Introduce tu Respuesta y/n : ")
    if resp == "y":
        logsdirectory = "/opt/wpscan/modules/logs/wpscan/"
        if not os.path.exists(logsdirectory):
            print("El directorio ", logsdirectory, " no existe, se creará.")
            os.system("sudo mkdir -p /opt/wpscan/modules/logs/wpscan/")
        web = portsmod.host()
        logsalida = logs.randomarch("wpscan/", "WPSCAN", ".log")
        call([
            "sudo", "wpscan", "-u", web, "--enumerate", "p", "--enumerate",
            "t", "--enumerate", "u", "--log", logsalida
        ])
        checker.bspc()
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.cRojo(["Tu log se ha Guardado en la ruta: ", logsdirectory])
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.bspc()
    elif resp == "n":
        web = portsmod.host()
        call([
            "sudo", "wpscan", "-u", web, "--enumerate", "p", "--enumerate",
            "t", "--enumerate", "u"
        ])
    execute()
示例#2
0
def joomsctor():
    web = host = portsmod.host()
    checker.cAmarillo(
        "Buscando vulnerabilidades en el sitio web usando joomlavs usando TOR..."
    )
    call([
        "ruby", "joomlavs/joomlavs.rb", "-u", web, "--proxy",
        "SOCKS5://127.0.0.1:9050", "-a"
    ])
    execute()
示例#3
0
def nickscan():
    checker.cRojo("Desea Guardar el logs de la informacion? y/n : ")
    resp = 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")
        call(["nikto", "-no404", "-host", web, "-o", logsalida])
        checker.bspc()
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.cRojo(["Tu log se ha Guardado en la ruta: ", logsalida])
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.bspc()
    elif resp == "n":
        web = portsmod.host()
        checker.cAmarillo(
            "Buscando vulnerabilidades en el sitio web usando nikto...")
        call(["nikto", "-no404", "-host", web])
    execute()
示例#4
0
def whatw():
    checker.cRojo("Desea Guardar el logs de la informacion? y/n : ")
    resp = input("Introduce tu Respuesta y/n : ")
    if resp == "y":
        web = portsmod.host()
        checker.cAmarillo("Obteniendo informacion del sitio web.")
        checker.bspc()
        logsalida = logs.randomarch("whatweb/", "WHATWEB", ".log")
        call(["whatweb", "-v", web, "--log-verbose", logsalida])
        checker.bspc()
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.cRojo(["Tu log se ha Guardado en la ruta: ", logsalida])
        checker.cAmarillo(
            "--------------------------------------------------------")
        checker.bspc()
    elif resp == "n":
        web = portsmod.host()
        checker.cAmarillo("Obteniendo informacion del sitio web.")
        checker.bspc()
        call(["whatweb", "-v", web])
        execute()
示例#5
0
def joomsc():
    web = portsmod.host()
    checker.cAmarillo(
        "Buscando vulnerabilidades en el sitio web usando joomlavs...")
    call(["ruby", "joomlavs/joomlavs.rb", "-u", web, "-a"])
    execute()