Python

Python is a versatile, high-level programming language known for its readability and simplicity

Basic Usage

name = "John"
print("Hello, " + name + "!")

How to extract files using Python

Generate a private key with openssl
import http.server
import ssl

port = 8443

httpd = http.server.HTTPServer(('0.0.0.0', port), http.server.SimpleHTTPRequestHandler)

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

print(f"Serving on https://0.0.0.0:{port}")
httpd.serve_forever()
Execute the script
Download the file with wget
Wireshark Results

Last updated