Last updated 2 years ago
Was this helpful?
python -c 'import pty; pty.spawn("/bin/bash")'
python -m uploadserver Download files curl http://0.0.0.0:8000/file.txt -o file.txt Send files curl -X POST http://127.0.0.1:8000/upload -F 'files=@multiple-example-1.txt' -F 'files=@multiple-example-2.txt'
Bypass SSL warning or errors Source:
import ssl # Use if you don't care about the validity of the ssl cert ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE