Permalink
Branch: master
Find file Copy path
7473aa9 Jan 22, 2019
1 contributor

Users who have contributed to this file

29 lines (22 sloc) 865 Bytes
def queueRequests(target, wordlists):
engine = RequestEngine(endpoint=target.endpoint,
concurrentConnections=5,
requestsPerConnection=100,
pipeline=False
)
engine.start()
# regular wordlist
for line in open('/Users/james/Dropbox/lists/favourites/disc_words.txt'):
engine.queue(target.req, line.rstrip())
# list of all words observed in traffic
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)