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
TWSL2011-007_iOS_code_workaround — Workaround for the vulnerability identified by TWSL2011-007 or CVE-2008-0228 - iOS x509 Certificate Chain Validation Vulnerability | Kitploit
Tools/GitHubGitHub/spiderlabs/twsl2011-007_ios_code_workaround
iOS SecurityVulnerability AnalysisCryptographyMobile SecurityLearning & Education
GitHubspiderlabs/twsl2011-007_ios_code_workaround

TWSL2011-007_iOS_code_workaround

Workaround for the vulnerability identified by TWSL2011-007 or CVE-2008-0228 - iOS x509 Certificate Chain Validation Vulnerability

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
7315 years agoNot yet reviewed

= testcert

Reference implementation for TWSL2011-007 vulnerability workaround (aka CVE-2011-0228).

Author: Eric Monti Date: July 28, 2011

= Compiling

Compile with your Apple iOS SDK CFLAGS along with: gcc -o testcert testcert.m -framework Foundation -framework Security

The compile arguments above should work as-is for OS X if you just want to check it out.

= Usage:

root@kitploit:~
$ testcert path/to/file.der severname

The file should be in raw DER format, which is just base64-decoded data found beween the BEGIN and END CERTIFICATE lines in an encoded certificate:

-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----

= License:

Copyright (C) 2011 Eric Monti - Trustwave Holdings

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Download Tool