Pentesting icon indicating copy to clipboard operation
Pentesting copied to clipboard

#Pentest all the things!

Url shortening

curl -i https://git.io -F "url=https://github.com/..."

Python https server

(this will probably get put in a standalone file at some point I guess)

import BaseHTTPServer, SimpleHTTPServer
import ssl

httpd = BaseHTTPServer.HTTPServer(('0.0.0.0', 443), SimpleHTTPServer.SimpleHTTPRequestHandler)

httpd.socket = ssl.wrap_socket (httpd.socket, certfile='cert.pem', keyfile='privkey.pem', server_side=True)

httpd.serve_forever()