# assetnote/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.

Source: https://github.com/assetnote/php2shell-scanner
Indexed: commit 052b56e on 2026-10-25 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: Python
- Stars: 1,011 at index time
- License: MIT
- Code health: 3.7/10, At_risk
- Last commit: 2026-10-24
- Contributors: 4

## Install

From the README: https://github.com/assetnote/php2shell-scanner#installation

Clone the php2shell-scanner repository.
    git clone https://github.com/assetnote/php2shell-scanner.git

Move into the php2shell-scanner folder.
    cd php2shell-scanner

Install the Python dependencies.
    pip install -r requirements.txt

Scan 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

Or build the Docker image instead of installing the dependencies.
    docker build -t php2shell-scanner .

## How it 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.

- Dockerfile: central file
- README.md: central file
- scanner.py: central file
Modules: root. 3 files, 1,168 lines, 84 symbols.

## Code health

- Score: 3.7/10 (At_risk)
- Rank: not ranked (leaderboards need 100+ files)
- Hotspots: none
- Lowest file: scanner.py
- Dead code: none found

## Maintenance

- Last commit 2026-10-24, first commit 2026-10-22, 7 commits
- 4 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/assetnote/php2shell-scanner/security

## More

- Page: https://repowise.dev/repo/assetnote/php2shell-scanner
- Ask this codebase: https://repowise.dev/repo/assetnote/php2shell-scanner/chat
- Docs: https://repowise.dev/repo/assetnote/php2shell-scanner/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/assetnote/php2shell-scanner
