engine = RequestEngine(endpoint=target.endpoint,
concurrentConnections=5,
requestsPerConnection=100,
pipeline=False
)
for i in range(1000):
engine.queue(target.req)
engine.start()
def handleResponse(req, interesting):
if "cos" in req.response:
table.add(req)