⇤ ← Revision 1 as of 2013-08-19 11:54:07
Size: 310
Comment:
|
Size: 542
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
=== Send http request === | === Send HTTP request === |
Line 14: | Line 14: |
=== Send SMTP request === The request was fetched with tcpdump. {{{ ehlo example.com mail from: userx@example.com rcpt to: usery@example.net quit }}} {{{#!highlight bash cat requestsmtp1.txt | nc 192.168.1.1 25 }}} |
netcat
A featured networking utility which reads and writes data across network connections, using the TCP/IP protocol.
Examples
Send HTTP request
The request was fetched with tcpdump.
Toggle line numbers
1 cat request1.txt | nc 192.168.1.1 8080
Send SMTP request
The request was fetched with tcpdump.
ehlo example.com mail from: userx@example.com rcpt to: usery@example.net quit
Toggle line numbers
1 cat requestsmtp1.txt | nc 192.168.1.1 25