Created
July 5, 2021 17:09
-
-
Save adithyan-ak/cbc9d20205f0492a3471c0b47416ff6d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def queueRequests(target, wordlists): | |
engine = RequestEngine(endpoint=target.endpoint, | |
concurrentConnections=5, | |
requestsPerConnection=100, | |
pipeline=False | |
) | |
# regular wordlist | |
for line in open('C:\wordlist.txt'): | |
engine.queue(target.req, line.rstrip()) | |
# clipboard, split on lines | |
for word in wordlists.clipboard: | |
engine.queue(target.req, word) | |
# list of all words observed during passive scans | |
for word in wordlists.observedWords: | |
engine.queue(target.req, word) | |
# infinitely-running bruteforce (a, b ... aaa, aab etc) | |
seed = 0 | |
while True: | |
batch = [] | |
seed = wordlists.bruteforce.generate(seed, 5000, batch) | |
for word in batch: | |
engine.queue(target.req, word) | |
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