Skip to content

Commit

Permalink
More example script tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
albinowax committed Jan 18, 2019
1 parent 38033de commit 7bec912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
6 changes: 1 addition & 5 deletions examples/recursive.py
Original file line number Diff line number Diff line change
@@ -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())
Expand Down

0 comments on commit 7bec912

Please sign in to comment.