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
cert-pinning-flaw-poc — Simple script for testing CVE-2016-2402 and similar flaws | Kitploit
Tools/GitHubGitHub/ikoz/cert-pinning-flaw-poc
Vulnerability AnalysisExploitationWeb SecurityPenetration TestingMobile Security
GitHubikoz/cert-pinning-flaw-poc

cert-pinning-flaw-poc

Simple script for testing CVE-2016-2402 and similar flaws

View Repository
1354610 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

cert pinning flaw POC

Simple POC script for testing CVE-2016-2402 and similar flaws. Read my blog post for details.

This utility will set up a HTTPS server that servers a malicious certificate chain to the client for a specific domain.

If traffic from an app with a vulnerable certificate pinning implementation is redirected to this server, the pinning control will be bypassed and you should be able to see a GET or a POST request in the server console.

By default, this uses a hardcoded CA certificate and key (CA_CERT.pem and CA_KEY.pem files).

You can change these, use the following command to generate a new pair.

openssl req -x509 -days 1825 -nodes -newkey rsa:2048 -outform pem -keyout CA_KEY.key -out CA_CERT.pem

You will want to insert CA_CERT.pem to the platform being tested.

John Kozyrakis

Download Tool