From 7bec912eba0c069c6fc801d90a9ab45607650404 Mon Sep 17 00:00:00 2001 From: James Kettle Date: Fri, 18 Jan 2019 11:52:20 +0000 Subject: [PATCH] More example script tweaks --- examples/misc.py | 2 +- examples/recursive.py | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/misc.py b/examples/misc.py index 83b272a..73b0347 100644 --- a/examples/misc.py +++ b/examples/misc.py @@ -10,7 +10,7 @@ def queueRequests(target, wordlists): engine.start() # You can queue arbitrary requests - you don't have to use the insertion point - oddRequest = """GET /style.css HTTP/1.1 + oddRequest = """GET /static/style.css HTTP/1.1 Host: hackxor.net """ diff --git a/examples/recursive.py b/examples/recursive.py index 4a0f4c0..21b3a6f 100644 --- a/examples/recursive.py +++ b/examples/recursive.py @@ -1,9 +1,5 @@ def queueRequests(target, wordlists): - engine = RequestEngine(endpoint=target.endpoint, - concurrentConnections=5, - requestsPerConnection=100, - pipeline=False - ) + engine = RequestEngine(endpoint=target.endpoint) engine.start() for word in open('/usr/share/dict/words'): engine.queue(target.req, word.rstrip())