Project B: Writing a Web Server

Building a web server in python without using any external libraries


Install php-cgi library in Ubuntu:

sudo apt-get update -y

sudo apt-get install -y php-cgi


python3 8000 #http

python3 8000 private.key public.cert #https

Send Requests

GET request to

POST request to where body=firstName=Virat&lastName=Kohli

Attacking the server

Attacking the webserver: Check out the attacking_server.pdf


View Github