# Show banner. show_banner(utility) # Create instances. cloud_checker = CloudChecker(utility) version_checker = VersionChecker(utility) version_checker_ml = VersionCheckerML(utility) comment_checker = CommentChecker(utility) error_checker = ErrorChecker(utility) page_checker = PageChecker(utility) google_hack = GoogleCustomSearch(utility) content_explorer = ContentExplorer(utility) spider = SpiderControl(utility) report = CreateReport(utility) cve_explorer = CveExplorerNVD(utility) censys = Censys(utility) # Get target information from "host.txt". protocol_list, fqdn_list, port_list, path_list = get_target_info( full_path, utility) # Start investigation. for idx in range(len(fqdn_list)): # Check parameters. msg = 'investigation : {}, {}, {}, {}'.format(protocol_list[idx], fqdn_list[idx], port_list[idx], path_list[idx]) utility.write_log(20, 'Start ' + msg) if utility.check_arg_value(protocol_list[idx], fqdn_list[idx],
from modules.Gyoi_CveExplorerNVD import CveExplorerNVD from urllib3 import util from util import Utilty ''' SST API Isaac Thiessen - 2019 This file just updates Gyoithons database. This will be ran in building the dockerfile to save time when running new scans. ''' cve_explorer = CveExplorerNVD(Utilty(), False)
else: utility.print_message(FAIL, '"inventory_list.txt" is not found : {}'.format(inventory_list_path)) exit(0) # Create instances. cloud_checker = CloudChecker(utility) version_checker = VersionChecker(utility) version_checker_ml = VersionCheckerML(utility) comment_checker = CommentChecker(utility) error_checker = ErrorChecker(utility) page_checker = PageChecker(utility) google_hack = GoogleCustomSearch(utility) content_explorer = ContentExplorer(utility) spider = SpiderControl(utility) report = CreateReport(utility) cve_explorer = CveExplorerNVD(utility, opt_no_update_vulndb) censys = Censys(utility) # Get target information from "host.txt". protocol_list, fqdn_list, port_list, path_list = get_target_info(full_path, utility) # Start investigation. for idx in range(len(fqdn_list)): # Check parameters. msg = 'investigation : {}, {}, {}, {}'.format(protocol_list[idx], fqdn_list[idx], port_list[idx], path_list[idx]) utility.write_log(20, 'Start ' + msg) if utility.check_arg_value(protocol_list[idx], fqdn_list[idx], port_list[idx], path_list[idx]) is False: msg = 'Invalid parameter : {}, {}, {}, {}'.format(protocol_list[idx], fqdn_list[idx], port_list[idx], path_list[idx]) utility.print_message(FAIL, msg) utility.write_log(30, msg)