Advertisement
Neolex

Untitled

Dec 6th, 2019
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.49 KB | None | 0 0
  1. def queueRequests(target, wordlists):
  2.     engine = RequestEngine(endpoint=target.endpoint,
  3.                            concurrentConnections=10,
  4.                            requestsPerConnection=150,
  5.                            pipeline=True
  6.                            )
  7.     engine.start()
  8.     for word in open('/home/neolex/wordlists/mylist.txt'):
  9.         engine.queue(target.req, word.rstrip())
  10.  
  11.  
  12. def handleResponse(req, interesting):
  13.     if '200 OK' in req.response:
  14.         table.add(req)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement