Description
Create custom HTTP/HTTPS requests and saves the output to a text file. This is really useful for some CTF challenges and Web Pentesting. (Made to work with Python 3.6.1)
Commands
Use this commands on the Requester console to configure and send your request:
COMMAND | DESCRIPTION |
---|---|
help | Display command reference |
set [url|method] [value] | Set url/method (Methods: POST / GET) |
header [type] [value] | Add/Remove header (removes the header it exists) |
parameter [type] [value] | Add/Remove parameter (removes the parameter it exists) |
output [file|console|none] | Set the output mode (use 'output all' to use file and console outputs) |
values | Display request values. (use 'values reset' to reset them) |
send | Execute request |
exit | Quit Requester console |
Installation and usage example
- Download the script to your computer and run it from terminal.
- Run the depends command to install the dependencies
- Set the target url with "set url http://example.com"
- Set the request method with "set method [POST|GET]" (by default it's set to GET)
- (Optional) Set the request headers (if it is already set, you'll remove it)
- (Optional) Add parameters to the request with "parameter user username" (if it is already set, you'll remove it)
- (Optional) Set the file output mode with "output console"
- Send the request with "send"
Screenshots
Requester console
License
This project is licensed under the MIT License - see the license file for more details. Please note that if you redistribute this project, you have to include this license on it!
Sources, Libraries and Credits
Python HTTP Requests for Humans™ by kennethreitz - http://python-requests.org
Thanks to James for helping teaching me the Python basics and helping me with the development!