# ambionics/phpggc

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

Repository: https://github.com/ambionics/phpggc
Canonical: https://ross.abutalabs.com/products/phpggc
Homepage: https://ambionics.io/blog
Language: PHP
License: Apache-2.0
License Family: permissive
Last push: 2025-09-29T14:51:06+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 44, release rhythm 35, longevity 100
- inputs: {"age_days": 3348, "days_push": 338, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3876, forks 557 (observed 2026-08-28T04:08:27.914061+00:00)

## What it is
PHPGGC is a library of PHP unserialize() payloads (gadget chains) with a command-line tool to generate them, covering frameworks like Laravel, Symfony, WordPress, and Magento. It is the PHP equivalent of ysoserial, used for exploiting insecure deserialization vulnerabilities.

## Use cases
- generate php unserialize payloads for penetration testing
- exploit insecure deserialization in php applications
- find gadget chains for laravel or symfony
- generate rce payloads for ctf challenges
- test php applications for deserialization vulnerabilities
- generate deserialization payloads programmatically from php

## When to choose
- you need ready-made gadget chains for popular PHP frameworks
- you are doing authorized penetration testing or CTF challenges involving PHP deserialization
- you want a ysoserial-like tool for PHP

## When to avoid
- you need deserialization exploits for languages other than PHP
- you want a defensive scanning tool rather than payload generation
- your use case is not authorized security testing

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, penetration-testing, cli, serialization
- domain: security, penetration-testing, developer-tools
- platform: cli, php, windows
- tags: deserialization, gadget-chains, exploit-generation, php-unserialize, offensive-security, ysoserial-equivalent, linux, macos

## Member repositories
- ambionics/phpggc (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:27.914061+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:25:45.324904+00:00, confidence not recorded.
  - readme: https://github.com/ambionics/phpggc (fetched 2026-08-28T04:08:27.914061+00:00, sha dfb203837004)
  - homepage: https://ambionics.io/blog (fetched 2026-08-29T09:19:53.897807+00:00, sha 35249acaa274)
- Data as of 2026-08-30T08:39:29.467469+00:00.
