/usr/share/doc/netwox-doc/tools/120.html is in netwox-doc 5.39.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | <HTML>
<HEAD>
<TITLE>Tool 120: HTTP POST</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER> <H3>Tool 120: HTTP POST</H3>
</CENTER>
<P><H3>Description:</H3>
<PRE>
This tool sends a HTTP request using method POST. HTTP protocol
defines POST method to retrieve a document, giving some more
parameters. For example, 'http://server/index.s?v=a1&v=2' can be
converted to a POST request with '--uri http://server/index.s' and
'--parameters v=a1&v=2'.
Please note & is a special shell character, so it has to be escaped.
Parameter --uri is the uri/url requested.
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.
Parameter --display-body indicates to display reply body.
Parameter --file-body indicates the filename where to store body.
</PRE>
<P><H3>Synonyms:</H3>
web<BR>
<P><H3>Usage:</H3>
netwox 120 -u uri [-a data] [-s|+s] [-h|+h] [-b|+b] [-p ip] [-P port] [-l login] [-L password] [-U useragent] [-H file] [-B file] [-T uint32]<BR>
<P><H3>Parameters:</H3>
<TABLE BORDER=1 CELLPADDING=4>
<TR>
<TD ALIGN=middle><I>parameter</I></TD>
<TD ALIGN=middle><I>description</I></TD>
<TD ALIGN=middle><I>example</I></TD>
</TR>
<TR><TD><TT>-u|--uri uri</TD>
<TD>url/uri to download</TD>
<TD>http://www.example.com/</TD></TR>
<TR><TD><TT>-a|--parameters data</TD>
<TD>parameters</TD>
<TD> </TD></TR>
<TR><TD><TT>-s|--display-status|+s|--no-display-status</TD>
<TD>display statuscode to screen</TD>
<TD> </TD></TR>
<TR><TD><TT>-h|--display-headers|+h|--no-display-headers</TD>
<TD>display headers to screen</TD>
<TD> </TD></TR>
<TR><TD><TT>-b|--display-body|+b|--no-display-body</TD>
<TD>display body to screen</TD>
<TD> </TD></TR>
<TR><TD><TT>-p|--proxy-ip ip</TD>
<TD>IP address of proxy</TD>
<TD>5.6.7.8</TD></TR>
<TR><TD><TT>-P|--proxy-port port</TD>
<TD>port of proxy</TD>
<TD>3128</TD></TR>
<TR><TD><TT>-l|--proxy-login login</TD>
<TD>login of proxy</TD>
<TD> </TD></TR>
<TR><TD><TT>-L|--proxy-password password</TD>
<TD>password of proxy</TD>
<TD> </TD></TR>
<TR><TD><TT>-U|--user-agent useragent</TD>
<TD>user agent</TD>
<TD>Mozilla/5.0</TD></TR>
<TR><TD><TT>-H|--file-headers file</TD>
<TD>file receiving headers</TD>
<TD>filehdr.txt</TD></TR>
<TR><TD><TT>-B|--file-body file</TD>
<TD>file receiving body</TD>
<TD>filebody.txt</TD></TR>
<TR><TD><TT>-T|--timeout uint32</TD>
<TD>timeout in ms</TD>
<TD>60000 </TD></TR>
</TABLE>
<P><H3>Examples:</H3>
netwox 120 -u "http://www.example.com/"<BR>
<BR>
netwox 120 --uri "http://www.example.com/"<BR>
<BR>
</BODY>
</HTML>
|