repowiserepowise

App

assetnote / php2shell-scanner

High fidelity scanner for php2shell (CVE-2026-109618 and CVE-2026-109619)

PythonMIT

github.com/assetnote/php2shell-scannerIndexed

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
php2shell-scanner facts
TypeApp
LicenseMIT
Code health3.7 / 10 (At_risk)
Health rankNot ranked (leaderboards need 100+ files)
Last commitOct 24, 2026
Contributors4
Bus factor1
Size3 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

  1. 1Clone the php2shell-scanner repository.
    git clone https://github.com/assetnote/php2shell-scanner.git
  2. 2Move into the php2shell-scanner folder.
    cd php2shell-scanner
  3. 3Install the Python dependencies.
    pip install -r requirements.txt
  4. 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
  5. 5Or build the Docker image instead of installing the dependencies.
    docker build -t php2shell-scanner .

Full install notes on GitHub

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.

Repowise maps public repos from their source. Not affiliated with assetnote. What is Repowise?