Netcat: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Created page with "== netcat (nc) == netcat (often abbreviated to nc) is ''a computer networking utility for reading from and writing to network connections'' using TCP or UDP<ref>https://en.wikipedia.org/wiki/Netcat</ref> == Send raw data over nc == <syntaxhighlight lang="bash"> echo -e -n '\x01\x03\x10\x00\x00\x01\x80\xCA' | nc 192.168.0.5 2000 -e allows the conversion of escaped chars -n prevents a newline character being appended </syntaxhighlight> == References ==")
 
(Add categories: Linux, Reference)
Line 11: Line 11:


== References ==
== References ==
[[Category:Linux]]
[[Category:Reference]]

Revision as of 00:58, 15 July 2026

netcat (nc)

netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP[1]

Send raw data over nc

echo -e -n '\x01\x03\x10\x00\x00\x01\x80\xCA' | nc 192.168.0.5 2000

-e allows the conversion of escaped chars
-n prevents a newline character being appended

References