3 ms·
dest$ nc -l > file src$ nc $IP_DEST < file On some installs of netcat you'll need to specify a port because they don't have a default one (typically 31337
by enriquto 4y ago
dest$ nc -l > file
src$ nc $IP_DEST < file
On some installs of netcat you'll need to specify a port because they don't have a default one (typically 31337). Look at the manpage to see what is the case for yours.