Skip to content

Instantly share code, notes, and snippets.

@Uyavuz24
Created January 3, 2021 15:38
Show Gist options
  • Save Uyavuz24/a5ac3da52c17fd37ad9d474684b519bb to your computer and use it in GitHub Desktop.
Save Uyavuz24/a5ac3da52c17fd37ad9d474684b519bb to your computer and use it in GitHub Desktop.
def queueRequests(target, wordlists):
engine = RequestEngine(endpoint=target.endpoint,
concurrentConnections=5,
requestsPerConnection=1, # if you increase this from 1, you may get false positives
resumeSSL=False,
timeout=10,
pipeline=False,
maxRetriesPerRequest=0,
engine=Engine.THREADED,
)
for i in range(50):
engine.queue(target.req)
time.sleep(0.05)
def handleResponse(req, interesting):
table.add(req)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment