The gMan nixWiki

Because the mind is made of Teflon...

User Tools

Site Tools


cheat_sheets_nc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cheat_sheets_nc [2023/01/12 00:35] – [Ncat] gmancheat_sheets_nc [2023/01/12 00:52] (current) – [NetCat (nc)] gman
Line 30: Line 30:
 <code>nc [target IP] 21</code> <code>nc [target IP] 21</code>
  
 +Send output from a listener to a text file:
 +
 +<code>
 +nc -nvlp [port number] > filename.txt
 +</code>
 +
 +Send output from a text file to a remote machine: 
 +
 +<code>
 +nc [IP Address] [port] < filename.txt
 +</code>
  
 ---- ----
cheat_sheets_nc.1673483729.txt.gz · Last modified: by gman