This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
H4sIAKmpTl0AA+1ca4/cxpX1V+tXlGQEkoye8UiybERarzGj14ytVzzjKEZkBEWyulkaktVhkd1q | |
L/Lf95x7q9g9spXsAusFFttEoulmF+t577nnPujYl1988jtfR7i+vn+ff+98ff9o92++Prlz7/5d | |
/O/Lr+7c/eTozp079+9+Yu7/3hPjNcbB9sZ8EltfLdzH2/2r3/+PXhHnvxy7yg+H5e81Bg/4qy+/ | |
/Oj5f33vq+n873/1Nc7/7ldfHn1ijn6vCe1e/8/P/zPflc1YOfNv0S862xzW/35t595QFSH8+qYP | |
v7rV+OLqvcG37uqdsfNoeOXejSR79Y1r11bBVwaz8N1wC/83f7tt/uPap8sen+e3brw9unfvr9/e | |
Ofryj82N2w+vffq3J+/9cOsIH/9x7Rqbt9Z38pztF+XMlKGLgylrHO7n+hn3V3/9WTplM+PX1g/m | |
G71/52fzrbFD8LfS19vmgbmPca59GnvbVbe4nFsvf3z+/DZHj24oxvktLCeMw8zI/Ye/NdlaJqt7 | |
e+v87NnZy4tZWiR+uPbpuvaNM7eGfnQys6td3PlO/zy8c/qHeGNmdLf+KhO6bf5gOr3xM8f4NDbO | |
LW/Jqvj9H9iYf33+O/pf/14y9s/1/8t7d47uiv5D7+8ffXlf9P/uXv//V67P/Lyr3Ny8/vHl47OL | |
v51e+wzffOe2N679WpOSGP4M5YHI3vi+ccshtLbztnxgzLHpfVmbofZufnhjhgbPbRF6/PIK/YY5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/env python3 | |
######################################################################## | |
# | |
# Simple HTTP server that supports file upload for moving data around | |
# between boxen on HTB. Based on a gist by bones7456, but mangled by me | |
# as I've tried (badly) to port it to Python 3, code golf it, and make | |
# It a little more robust. I was also able to strip out a lot of the | |
# code trivially because Python3 SimpleHTTPServer is a thing, and the | |
# cgi module handles multipart data nicely. | |
# |