Skip to content

Web proxy capable of accepting HTTP requests, forwarding requests to remote (origin) servers, and returns response data to a client

Notifications You must be signed in to change notification settings

jesuszarate/BasicProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BasicProxy

Simple HTTP Web Proxy Server implemented using sockets in python, which is capable of filtering malware from reaching a user’s system. The proxy is capable of serving multiple concurrent requests. The proxy only supports the HTTP GET method.

Running the proxy server

python MalwareProxy/proxy.py <port>

Stop the server

Ctrl + C

Making a request using telnet absolute URLexample

telnet localhost <port>

Trying 127.0.0.1...

Connected to localhost.localdomain (127.0.0.1).

Escape character is ’^]’.

GET http://www.cs.utah.edu/~kobus/simple.html HTTP/1.0 //->[Enter URL and press enter]

//->[In order to let the server know you're done entering input press enter again]

Making a request using telnet relative URL example

telnet localhost

Trying 127.0.0.1...

Connected to localhost.localdomain (127.0.0.1).

Escape character is ’^]’.

GET /~kobus/simple.html HTTP/1.0 //-> [Press Enter]

Host: www.cs.utah.edu //-> [Press Enter] [Press Enter once more to let the server know you are finished]

Notes:

  • The server will print out some stuff to the console letting the user know what's happening with the current process.

About

Web proxy capable of accepting HTTP requests, forwarding requests to remote (origin) servers, and returns response data to a client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published