Skip to content

Instantly share code, notes, and snippets.

@Chan9390
Created March 23, 2021 12:16
Show Gist options
  • Save Chan9390/b77d795e193d8d14f9ff0e89c497b61a to your computer and use it in GitHub Desktop.
Save Chan9390/b77d795e193d8d14f9ff0e89c497b61a to your computer and use it in GitHub Desktop.
Send X requests to target after Y seconds in Turbo Intruder
import time
def queueRequests(target, wordlists):
engine = RequestEngine(endpoint=target.endpoint,
concurrentConnections=1,
requestsPerConnection=100,
pipeline=False
)
requests = 0
for word in open('/usr/share/dict/words'):
if requests == 10:
time.sleep(5)
requests = 0
engine.queue(target.req, word.rstrip())
requests = requests + 1
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