Skip to content

Commit

Permalink
creates a new warning when doing multithreaded detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekultek committed Aug 30, 2019
1 parent 6d258a8 commit ca4c317
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,11 @@ def detection_main(url, payloads, cursor, **kwargs):
"detected website protection identified as '{}'".format(detected_protections)
)
if not skip_bypass_check:
lib.formatter.info("performing bypass analysis")
lib.formatter.info("starting bypass analysis")
if threaded is not None:
lib.formatter.warn(
"in order to accurately perform bypass analysis threading will be dropped to a single thread"
)
found_working_tampers = get_working_tampers(
url, normal_response, payloads, proxy=proxy, agent=agent, verbose=verbose,
tamper_int=tamper_int, provided_headers=provided_headers, throttle=throttle,
Expand Down Expand Up @@ -670,7 +674,11 @@ def detection_main(url, payloads, cursor, **kwargs):
lib.formatter.discover("{}".format(protection))

if not skip_bypass_check:
lib.formatter.info("searching for bypasses")
lib.formatter.info("starting bypass analysis")
if threaded is not None:
lib.formatter.warn(
"in order to accurately perform bypass analysis threading will be dropped to a single thread"
)
found_working_tampers = get_working_tampers(
url, normal_response, payloads, proxy=proxy, agent=agent, verbose=verbose,
tamper_int=tamper_int, throttle=throttle, timeout=req_timeout, provided_headers=provided_headers
Expand Down

0 comments on commit ca4c317

Please sign in to comment.