-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix command line use, no-payload attacks, and status pane generation
- Loading branch information
Showing
3 changed files
with
49 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This is just for making sure the engine works during development | ||
def queueRequests(target, wordlists): | ||
engine = RequestEngine(endpoint='https://hackxor.net:443', | ||
concurrentConnections=1, | ||
requestsPerConnection=10, | ||
pipeline=False | ||
) | ||
engine.start() | ||
|
||
noPayload = '''GET /static/404 HTTP/1.1 | ||
Host: hackxor.net | ||
Connection: close | ||
''' | ||
engine.queue(noPayload) | ||
|
||
onePayload = '''GET /static/404?q=%s HTTP/1.1 | ||
Host: hackxor.net | ||
Connection: close | ||
''' | ||
engine.queue(onePayload, 'one payload') | ||
|
||
twoPayloads = '''GET /static/404?q=%s HTTP/1.1 | ||
Host: hackxor.net | ||
Connection: close | ||
''' | ||
|
||
engine.queue(twoPayloads, ['first payload', 'second payload']) | ||
|
||
|
||
|
||
def handleResponse(req, interesting): | ||
table.add(req) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters