View on GitHub

AAU Network Security

A collection of relevant background information!

In some exercises, you may need to spin up your own simple web server. Luckily, this can be done relatively easy with Python’s HTTP server.

In Kali Linux, open a terminal and run the following:

python3 -m http.server 80

which will run a web server indefinitely. The 80 specifies the TCP ports on which to run your web server. The command will use the file index.html in the current directory as the HTML page to server.