ambionics/phpggc

PHPGGC is a library of PHP unserialize() payloads along with a tool to generate them, from command line or programmatically.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 33 minutes ago
Added to GitGenius on September 17th, 2026
Created on July 3rd, 2017
Open Issues & Pull Requests: 22 (+0)
GitHub issues: Enabled
Number of forks: 557
Total Stargazers: 3,890 (+0)
Total Subscribers: 67 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 31.7 hours
Mean response time: 126.3 days
90th percentile: 612.3 days
Tracked items: 5

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 938 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • gadget chain (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

PHPGGC is a payload generation tool that creates PHP unserialize() exploits for security testing and vulnerability research.

The tool addresses the challenge of crafting gadget chain payloads for PHP deserialization vulnerabilities. PHPGGC maintains a curated library of known gadget chains from popular PHP frameworks and libraries, allowing users to generate working exploit payloads without manually constructing complex object graphs. The approach works by providing pre-analyzed chains that can be instantiated with custom parameters and serialized into payloads ready for injection into vulnerable applications.

Security researchers and penetration testers evaluating this tool should understand it serves primarily as a reference implementation and testing utility rather than a production exploit framework. It suits projects involving security assessments of PHP applications, proof-of-concept development, and educational purposes around deserialization vulnerabilities. The tool supports both command-line usage for quick payload generation and programmatic access for integration into custom testing workflows. Users should note that the effectiveness of any payload depends on the target application having the specific gadget chain library installed and the vulnerable unserialize() call exposed.

The project shows consistent maintenance with regular updates to the gadget chain library as new vulnerabilities are discovered in popular frameworks. Development activity demonstrates responsiveness to community contributions and emerging security research in the PHP ecosystem. The codebase maintains clear separation between the payload library and generation tooling, making it straightforward to add new chains or modify existing ones.