Created
May 8, 2020 11:22
-
-
Save uzeyirdestan/4a314ac8b7fc262e9474005e9155241a to your computer and use it in GitHub Desktop.
Turbointruder bruteforce script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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