App
assetnote / php2shell-scanner
High fidelity scanner for php2shell (CVE-2026-109618 and CVE-2026-109619)
What is php2shell-scanner?
php2shell-scanner is a command-line tool for detecting CVE-2026-109618 and CVE-2026-109619 in PHP applications. It sends a minimal multipart control request followed by crafted multipart probes that nest PHP array keys 62 levels deep, then reads the responses for crash signals. It is written in Python. To install it, run git clone https://github.com/assetnote/php2shell-scanner.git and follow the steps below. Its code health is 3.7 out of 10 (At_risk). The last commit to php2shell-scanner was on Oct 24, 2026, and 4 people have contributed.
As of commit 052b56e, indexed Oct 25, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentsphp2shell-scanner.md
Repo facts: type, license, health, rank, contributors
| Type | App |
|---|---|
| License | MIT |
| Code health | 3.7 / 10 (At_risk) |
| Health rank | Not ranked (leaderboards need 100+ files) |
| Last commit | Oct 24, 2026 |
| Contributors | 4 |
| Bus factor | 1 |
| Size | 3 files, 1,168 lines |
Ask about php2shell-scanner
Answers come from php2shell-scanner's README and source, with the files they cite. Two free answers a day without an account.
Install php2shell-scanner
Commands copied from the README
- 1Clone the php2shell-scanner repository.
git clone https://github.com/assetnote/php2shell-scanner.git - 2Move into the php2shell-scanner folder.
cd php2shell-scanner - 3Install the Python dependencies.
pip install -r requirements.txt - 4Scan a list of hosts with 20 threads and save the vulnerable hosts to a JSON file.
python3 scanner.py -l hosts.txt -t 20 -o results.json - 5Or build the Docker image instead of installing the dependencies.
docker build -t php2shell-scanner .
Ask about this code in your agent
This connects Repowise to php2shell-scanner's code. It does not install php2shell-scanner. To install php2shell-scanner, use the install steps.
Useful if you want to change or fork php2shell-scanner: your agent can ask how it is put together and get answers that cite its files.
assetnote/php2shell-scanner FAQ
What does php2shell-scanner do?
php2shell-scanner is a command-line tool for detecting CVE-2026-109618 and CVE-2026-109619 in PHP applications. It flags a target when a probe triggers a PHP memory-exhaustion error, a PHP-FPM worker failure, or a differential empty HTTP 500.
How do I install php2shell-scanner?
php2shell-scanner requires Python 3.9 or later. Install its dependencies with pip install -r requirements.txt, or build the Docker image with docker build -t php2shell-scanner . See the install steps
What does php2shell-scanner change in my project?
php2shell-scanner produces output only. It prints results to the terminal, and with -o it saves vulnerable hosts to a JSON file with the verdict reason and redacted HTTP request and response evidence.
What license does php2shell-scanner use?
php2shell-scanner is licensed under the MIT license, identified as MIT.
About this page
Get a page like this for your own codebase
Repowise built this map of assetnote/php2shell-scanner from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
Key features of php2shell-scanner
- Detects CVE-2026-109618 and CVE-2026-109619 in PHP applications.
- Sends a minimal multipart control request followed by up to three crafted multipart probes for each tested path.
- Applies mod_php and PHP-FPM verdict rules by default, and can be limited to one SAPI with --sapi.
- Tests /index.php by default, accepts custom paths with --path or --path-file, and retests phpMyAdmin targets at /show_config_errors.php.
- Saves vulnerable hosts to a JSON file with the verdict reason and redacted HTTP request and response evidence when -o is used.
How assetnote/php2shell-scanner works
Install the dependencies with pip install -r requirements.txt, or build the Docker image from the Dockerfile. Then run scanner.py with -u for a single URL or -l for a file of hosts. For each tested path, scanner.py sends the control request and up to three probes, stops once the verdict is settled, and prints results to the terminal. With -o, it writes vulnerable hosts to a JSON file.
Code health is 3.6 out of 10, rated at risk.
Maintain assetnote/php2shell-scanner?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of assetnote/php2shell-scanner. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask php2shell-scanner's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/assetnote/php2shell-scanner?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/assetnote/php2shell-scanner?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/assetnote/php2shell-scanner.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/assetnote/php2shell-scanner?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/assetnote/php2shell-scanner.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/assetnote/php2shell-scanner.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>Repowise maps public repos from their source. Not affiliated with assetnote. What is Repowise?