parameters: ()
docstring: Start the scanner.
docstring_summary: Start the scanner.
docstring_tokens: Start the scanner .
function: 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
  
      #INSERT CUSTOM OPTIONS HERE
  
  
      driver = Driver(args, options)
      driver.start()
function_tokens: def main ( ) : 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 #INSERT CUSTOM OPTIONS HERE driver = Driver ( args , options ) driver . start ( )