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()
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()
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()
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()
def joomsc(): web = portsmod.host() checker.cAmarillo( "Buscando vulnerabilidades en el sitio web usando joomlavs...") call(["ruby", "joomlavs/joomlavs.rb", "-u", web, "-a"]) execute()