April 02, 2022
1
2
3
4
5
6
7
8
9
10
11
12
13
14
def queueRequests(target, wordlists):
engine = RequestEngine(endpoint=target.endpoint,
concurrentConnections=100,
requestsPerConnection=1,
pipeline=True
)
engine.start()
for i in range(10000):
engine.queue(target.req, '{0:04}'.format(i))
def handleResponse(req, interesting):
if '302' in req.response:
table.add(req)