def run(): print("Starting test Vulns...") ip = socket.gethostbyname("apache-php7.2") vc = VulnsCrawler("http://{}:{}/vulns".format(ip, vulns_port)) print("Crawling Vulns...") vc.crawl() print("Vulns crawling complete...") host = iast_api.run_task(vulns_port, 5) _get_result(host)
def run(): print("Starting test DVWA...") ip = socket.gethostbyname("apache-php7.2") dc = DvwaCrawler("http://{}:{}/DVWA-1.9".format(ip, dvwa_port)) print("Crawling DVWA...") dc.crawl() print("DVWA crawling complete...") host = iast_api.run_task(dvwa_port, 5) _get_result(host)
def run(): print("Starting test WebGoat...") ip = socket.gethostbyname("webgoat") wgc = WebGoatCrawler("http://{}:{}/WebGoat".format(ip, webgoat_port)) print("Crawling WebGoat...") wgc.crawl() print("WebGoat crawling complete...") host = iast_api.run_task(webgoat_port, 5) _get_result(host)
def run(): print("Starting test Mutillidae...") ip = socket.gethostbyname("apache-php7.2") # ip = "127.0.0.1" dc = MutillidaeCrawler("http://{}:{}/mutillidae".format( ip, mutillidae_port)) print("Crawling Mutillidae...") dc.crawl() print("Mutillidae crawling complete...") host = iast_api.run_task(mutillidae_port, 5) _get_result(host)
def run(): print("Starting test benchmark...") benchmark_host = iast_api.run_task(8443, 1200) _get_result(benchmark_host)
def run(): benchmark_host = iast_api.run_task(8443, 100) # benchmark_host = "192.168.96.6" _get_result(benchmark_host)