Netcat

From HPCWIKI
Revision as of 17:17, 11 March 2024 by Admin (talk | contribs) (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 ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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