MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 2 as of 2014-02-26 11:10:02
  • netcat

netcat

A featured networking utility which reads and writes data across network connections, using the TCP/IP protocol.

netcat.sourceforge.net

Examples

Send HTTP request

The request was fetched with tcpdump.

   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

   1 cat requestsmtp1.txt | nc 192.168.1.1 25
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01