netcat
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
netcat [2025-03-18] – removed - external edit (Unknown date) 127.0.0.1 | netcat [2025-03-18] (current) – ↷ Page moved from user:hanez:netcat to netcat hanez | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== netcat ====== | ||
+ | |||
+ | ===== Simple Example: ===== | ||
+ | |||
+ | on host1: cat file | nc $host2 6666 | ||
+ | on host2: nc -l -p 6666 | cat > file # needs to be interrupted with ctrl-c | ||
+ | |||
+ | Source: [[https:// |