payload.set_extensions(extension) payload.set_remove_slash(remove_slash) payload.set_uppercase(uppercase) payload.set_banned_response_codes(banned_response_codes) payload.set_unbanned_response_codes(unbanned_response_codes) payload.set_content(content) total_requests = payload.get_total_requests() print("Total requests %s (aprox: %s / thread)" % (total_requests, total_requests / threads)) payload_queue = payload.get_queue() # # Manager queue configuration # database_name = urlparse.urlparse(target).hostname manager = DBManager(database_name) manager.set_timeout(MANAGER_TIMEOUT) # # Configure Visitor Objects # Visitor.set_authentication(authentication) Visitor.set_banned_location(autodiscriminator_location) Visitor.set_banned_md5(autodiscriminator_md5) Visitor.set_delay(request_delay) Visitor.set_discriminator(discriminator) Visitor.set_proxy(proxy) Visitor.set_requests(request_type) Visitor.set_size_discriminator(size_discriminator) Visitor.set_user_agent(user_agent)
# # Payload queue configuration # payload.set_extensions(extension) payload.set_remove_slash(remove_slash) payload.set_uppercase(uppercase) payload.set_banned_response_codes(banned_response_codes) payload.set_unbanned_response_codes(unbanned_response_codes) payload.set_content(content) payload.set_recursive(recursive) # # Manager queue configuration # database_name = urlparse.urlparse(target).hostname manager = DBManager(database_name) manager.set_timeout(MANAGER_TIMEOUT) # # Configure Visitor Objects # Visitor.set_authentication(authentication) Visitor.set_banned_location(autodiscriminator_location) Visitor.set_banned_md5(autodiscriminator_md5) Visitor.set_delay(request_delay) Visitor.set_discriminator(discriminator) Visitor.set_proxy(proxy) Visitor.set_requests(request_type) Visitor.set_size_discriminator(size_discriminator) Visitor.set_user_agent(user_agent)
payload.set_recursive(recursive) payload_queue = payload.get_queue() total_requests = payload.get_total_requests() print("{:30} {:>}".format( "Total requests:", "%s (aprox: %s / thread)" % (total_requests, int(total_requests / threads)))) # # Manager queue configuration # database_name = urlparse.urlparse(target).scheme + '_' + urlparse.urlparse( target).hostname if urlparse.urlparse(target).port is not None: database_name += '_' + str(urlparse.urlparse(target).port) manager = DBManager(database_name) manager_lock = threading.Lock() # # Configure Visitor Objects # Visitor.set_authentication(authentication) Visitor.set_banned_location(autodiscriminator_location) Visitor.set_banned_md5(autodiscriminator_md5) Visitor.set_delay(request_delay) Visitor.set_discriminator(discriminator) Visitor.set_proxy(proxy) Visitor.set_requests(request_type) Visitor.set_size_discriminator(size_discriminator) Visitor.set_user_agent(user_agent) Visitor.set_persist(persist)
# # Payload queue configuration # payload.set_extensions(extension) payload.set_remove_slash(remove_slash) payload.set_uppercase(uppercase) payload.set_banned_response_codes(banned_response_codes) payload.set_unbanned_response_codes(unbanned_response_codes) payload.set_content(content) payload.set_recursive(recursive) # # Manager queue configuration # database_name = urlparse.urlparse(target).hostname manager = DBManager(database_name) # # Configure Visitor Objects # Visitor.set_authentication(authentication) Visitor.set_banned_location(autodiscriminator_location) Visitor.set_banned_md5(autodiscriminator_md5) Visitor.set_delay(request_delay) Visitor.set_discriminator(discriminator) Visitor.set_proxy(proxy) Visitor.set_requests(request_type) Visitor.set_size_discriminator(size_discriminator) Visitor.set_user_agent(user_agent) Visitor.set_persist(persist) Visitor.allow_redirects(args.allow_redirects)
payload.set_banned_response_codes(banned_response_codes) payload.set_unbanned_response_codes(unbanned_response_codes) payload.set_content(content) payload.set_recursive(recursive) payload_queue = payload.get_queue() total_requests = payload.get_total_requests() # # Manager queue configuration # database_name = (urlparse.urlparse(target).scheme + "_" + urlparse.urlparse(target).hostname) if urlparse.urlparse(target).port is not None: database_name += "_" + str(urlparse.urlparse(target).port) manager = DBManager(database_name) manager.output = output manager_lock = threading.Lock() # # Configure Visitor Objects # Visitor.set_authentication(authentication) Visitor.set_banned_location(autodiscriminator_location) Visitor.set_banned_md5(autodiscriminator_md5) Visitor.set_delay(request_delay) Visitor.set_discriminator(discriminator) Visitor.set_proxy(proxy) Visitor.set_requests(request_type) Visitor.set_size_discriminator(size_discriminator) Visitor.set_user_agent(user_agent)
payload.set_remove_slash(remove_slash) payload.set_uppercase(uppercase) payload.set_banned_response_codes(banned_response_codes) payload.set_unbanned_response_codes(unbanned_response_codes) payload.set_content(content) total_requests = payload.get_total_requests() print("Total requests %s (aprox: %s / thread)" % (total_requests, total_requests / threads)) payload_queue = payload.get_queue() # # Manager queue configuration # database_name = urlparse.urlparse(target).hostname manager = DBManager(database_name) manager.set_timeout(MANAGER_TIMEOUT) # # Configure Visitor Objects # Visitor.set_authentication(authentication) Visitor.set_banned_location(autodiscriminator_location) Visitor.set_banned_md5(autodiscriminator_md5) Visitor.set_delay(request_delay) Visitor.set_discriminator(discriminator) Visitor.set_proxy(proxy) Visitor.set_requests(request_type) Visitor.set_size_discriminator(size_discriminator) Visitor.set_user_agent(user_agent)
payload.set_banned_response_codes(banned_response_codes) payload.set_unbanned_response_codes(unbanned_response_codes) payload.set_content(content) payload.set_recursive(recursive) payload_queue = payload.get_queue() total_requests = payload.get_total_requests() # # Manager queue configuration # database_name = (urlparse.urlparse(target).scheme + "_" + urlparse.urlparse(target).hostname) if urlparse.urlparse(target).port is not None: database_name += "_" + str(urlparse.urlparse(target).port) manager = DBManager(database_name) manager_lock = threading.Lock() # # Configure Visitor Objects # Visitor.set_authentication(authentication) Visitor.set_banned_location(autodiscriminator_location) Visitor.set_banned_md5(autodiscriminator_md5) Visitor.set_delay(request_delay) Visitor.set_discriminator(discriminator) Visitor.set_proxy(proxy) Visitor.set_requests(request_type) Visitor.set_size_discriminator(size_discriminator) Visitor.set_user_agent(user_agent) Visitor.set_persist(persist)