Tool 121: HTTP PUT
Description:
This tool sends a HTTP request using method PUT. HTTP protocol defines
PUT method to store a document on a web server.
Parameter --uri is the uri/url requested.
Parameter --file-body defines the filename of file to store on web
server.
Parameters --proxy-ip, --proxy-port, --proxy-login and
--proxy-password defines the web proxy and credentials.
Parameter --user-agent defines the client name to send. For example
'Mozilla/5.0'.
Parameter --display-status indicates to display status code of reply
to screen.
Parameter --display-headers indicates to display reply headers.
Parameter --file-headers indicates the filename where to store
headers.
Synonyms:
upload, web
Usage:
netwox 121 -u uri -B file [-s|+s] [-h|+h] [-p ip] [-P port] [-l login] [-L password] [-U useragent] [-H file] [-T uint32]
Parameters:
parameter |
description |
example |
-u|--uri uri |
url/uri to download |
http://www.example.com/ |
-B|--file-body file |
file containing body |
filebody.txt |
-s|--display-status|+s|--no-display-status |
display statuscode to screen |
|
-h|--display-headers|+h|--no-display-headers |
display headers to screen |
|
-p|--proxy-ip ip |
IP address of proxy |
5.6.7.8 |
-P|--proxy-port port |
port of proxy |
3128 |
-l|--proxy-login login |
login of proxy |
|
-L|--proxy-password password |
password of proxy |
|
-U|--user-agent useragent |
user agent |
Mozilla/5.0 |
-H|--file-headers file |
file receiving headers |
filehdr.txt |
-T|--timeout uint32 |
timeout in ms |
60000 |
Examples:
netwox 121 -u "http://www.example.com/" -B "filebody.txt"
netwox 121 --uri "http://www.example.com/" --file-body "filebody.txt"