Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2016-5699-jinzheng-sha — Reading Course Report | Kitploit
Tools/GitHubGitHub/shajinzheng/cve-2016-5699-jinzheng-sha
Vulnerability AnalysisScripting & AutomationWeb SecurityPapers & ResearchLearning & Education
GitHubshajinzheng/cve-2016-5699-jinzheng-sha

cve-2016-5699-jinzheng-sha

Reading Course Report

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
9 years agoNot yet reviewed

cve-2016-5699-report

Reading Course Report

This repo references an example.

simple-client.py is a Python script to make HTTP requests to the URL passed from a command argument.
simple-server.py uses Flask to construct a simple HTTP server to print the headers of received requests.

Set Up

  • Install virtualenv, pip install virtualenv
  • Get two versions of Python for comparison, one before 2.7.10, the other after 2.7.10. This link might be useful.
  • Create two Python environments with virtualenv. For example:
    • virtualenv -p [path_to_one_Python_version] venv-one-version
    • virtualenv -p [path_to_the_other_Python_version] venv-the-other-version
  • Install flask in both environments. Activate corresponding environment, and pip install flask

Run

  • Choose the version you want to use, activate using source ./venv-one-version/bin/activate
  • To start the server, simply run python simple-server.py
  • To run the client:
    • run python simple-client.py http://127.0.0.1:8000/test-url for healthy URL
    • run python simple-client.py http://127.0.0.1%0d%0aX-injected:%20header%0d%0ax-leftover:%20:8000/test-url for malicious URL

References:

  • http://blog.blindspotsecurity.com/2016/06/advisory-http-header-injection-in.html
  • https://github.com/bunseokbot/CVE-2016-5699-poc
  • https://hg.python.org/cpython/rev/1c45047c5102
Download Tool