if int(config['Common']['scramble']) == 1: is_scramble = True except Exception as e: msg = 'Reading config.ini is failure : {}'.format(e) utility.print_exception(e, msg) utility.write_log(40, msg) utility.write_log(20, '[Out] GyoiThon [{}].'.format(file_name)) exit(1) # 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)
# Create report. date = utility.get_current_date('%Y%m%d%H%M%S%f')[:-3] print_date = utility.transform_date_string(utility.transform_date_object(date[:-3], '%Y%m%d%H%M%S')) report = CreateReport(utility) report.create_inventory_report(fqdn_list, keyword, parsed.hostname, print_date) # Create merged report. report.create_all_inventory_report() 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.