Skip to content

Instantly share code, notes, and snippets.

@uzeyirdestan
Created May 8, 2020 11:22
Show Gist options
  • Save uzeyirdestan/4a314ac8b7fc262e9474005e9155241a to your computer and use it in GitHub Desktop.
Save uzeyirdestan/4a314ac8b7fc262e9474005e9155241a to your computer and use it in GitHub Desktop.
Turbointruder bruteforce script
# Turbo intruder bruteforcer
# Uzeyir Destan
def bruteforce(counter):
if counter == 0:
return ""
else:
returnValues = []
valuesFromPrevious = bruteforce(counter-1)
alphabet = "abcdefghijklmnopqrstuvwxyz" # set keywords according to your needs
if valuesFromPrevious != "":
for i in alphabet:
for j in valuesFromPrevious:
returnValues.append(i+j)
else:
for i in alphabet:
returnValues.append(i)
return returnValues
def queueRequests(target, wordlists):
engine = RequestEngine(endpoint=target.endpoint,
concurrentConnections=20,
requestsPerConnection=200,
pipeline=False
)
for i in range(1,4): # select bruteforce min and max range eg( a, aaaa)
wordlist = bruteforce(i)
for word in wordlist:
engine.queue(target.req, word.rstrip())
def handleResponse(req, interesting):
if req.status != 404:
table.add(req)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment