def main(): """Start the scanner.""" print_banner() setup_logger() args = require_arguments() options = Options() options.scope.protocol_must_match = args.protocol_must_match options.scope.subdomain_must_match = not args.scan_other_subdomains options.scope.hostname_must_match = not args.scan_other_hostnames options.scope.tld_must_match = not args.scan_other_tlds options.scope.max_depth = args.max_depth if args.crawl else 0 options.performance.max_threads = args.max_threads options.misc.verify_ssl_certificates = not args.ignore_invalid_certificates options.misc.trusted_certificates = args.trusted_certificates """ ########################################################## """ """ """ """ Please add your custom options like e.g. authentication, """ """ cookies, headers, proxies or scope options below. """ """ """ """ ########################################################## """ driver = Driver(args, options) driver.start()
def main(): """Start the scanner.""" print_banner() setup_logger() args = require_arguments() options = Options() options.scope.protocol_must_match = args.protocol_must_match options.scope.subdomain_must_match = not args.scan_other_subdomains options.scope.hostname_must_match = not args.scan_other_hostnames options.scope.tld_must_match = not args.scan_other_tlds options.scope.max_depth = args.max_depth if args.crawl else 0 options.performance.max_threads = args.max_threads options.misc.verify_ssl_certificates = not args.ignore_invalid_certificates options.misc.trusted_certificates = args.trusted_certificates driver = Driver(args, options) driver.start()