Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
PHP2SHELL-Checker-v-1.0-CVE-2026-115560- — Script que detecta si tu versión de PHP es vulnerable a PHP2Shell (CVE-2026-109618 / 109619) | Kitploit
Tools/GitHubGitHub/pr0fes0r-x/php2shell-checker-v-1.0-cve-2026-115560-
Defensive ToolsVulnerability ScannersWeb Vulnerability ScannersVulnerability AnalysisConfiguration AuditingWeb SecurityUtilities & Frameworks
GitHubpr0fes0r-x/php2shell-checker-v-1.0-cve-2026-115560-

PHP2SHELL-Checker-v-1.0-CVE-2026-115560-

Script que detecta si tu versión de PHP es vulnerable a PHP2Shell (CVE-2026-109618 / 109619)

View Repository
224 days agoNot yet reviewed
Share

PHP2Shell Detector V 1.0 Full

Made by Pr@fEsOr X PHP2Shell CVSS Python License

Platform Dependencies Status PRs Welcome

CLI detector for the PHP2Shell vulnerability (CVE-2026-109618 / CVE-2026-109619) in local PHP installations.

PHP2Shell is the name researchers gave to two critical unauthenticated remote code execution (RCE) vulnerabilities in the PHP interpreter, disclosed on October 21, 2026 with a CVSS v4.0 score of 9.2 (Critical). It affects PHP from version 5.4.0 onward and has no partial mitigation: only patching.

This script checks the locally installed PHP version and tells you:

  • Whether your installation is vulnerable
  • Whether an official patch exists for your branch
  • Which minimum version you need to apply
  • Whether your distro likely backported the patch (full mode)

Features

1. Automatic detection

Compares the version number of your php from PATH against the official patch table (8.5.12, 8.4.27, 8.3.36, 8.2.35).

python3 php2shell_check_v_1.0.py

2. Full mode (detects backports)

In addition to the version, it parses the build date and compares it against the date of the official advisory. It detects when your distro backported the patch without bumping the version number (typical in Debian/Ubuntu/RHEL).

python3 php2shell_check_v_1.0.py --mode full

3. Custom path to the PHP binary

Specify a specific binary when you have several PHP installations or the one in PATH is not the one serving the website.

python3 php2shell_check_v_1.0.py --php /usr/bin/php8.2
python3 php2shell_check_v_1.0.py --php /usr/bin/php8.2 --mode full

Exit codes

CodeMeaning
0Not vulnerable
1Vulnerable
2PHP not detected
3Unknown PHP branch
4Probable backport (mode full)

Example output (mode full with backport)

    ____  __  ______ ___  _____ __         ____
   / __ \/ / / / __ \__ \/ ___// /_  ___  / / /
  / /_/ / /_/ / /_/ /_/ /\__ \/ __ \/ _ \/ / /
 / ____/ __  / ____/ __/___/ / / / /  __/ / /
/_/   /_/ /_/_/   /____/____/_/ /_/\___/_/_/

==================================================================
  Detector de vulnerabilidad PHP2Shell
  CVE-2026-109618 / CVE-2026-109619   |   CVSS v4.0: 9.2 (Critical)
==================================================================
  made by Pr@fEsOr X

[*] Modo: full
[*] Detectando interprete PHP local...

[*] Binario: php
[*] Version: 8.5.11
[*] Build:   2026-10-22 14:00:00 UTC

  [BACKPORT?]  Version dice vulnerable, build posterior al parche.
         Tu distro probablemente backporteo sin subir version.
         php.net sugiere: 8.5.12
         Build: 2026-10-22 14:00 UTC  >=  parche: 2026-10-21 14:00 UTC
         Confirma con tu distro o phpinfo().

Example output (confirmed vulnerability)

  [VULNERABLE]  Actualiza YA, existe parche oficial.
         Sube a 8.5.12 o superior.
         Reinicia php-fpm / Apache / FrankenPHP / LiteSpeed despues.

How it detects the vulnerability

The script does not inspect the binary or launch a PoC. What it does:

  1. Runs php -v and captures the output.
  2. Extracts two pieces of data with regex:
    • Version: PHP 8.5.11 → (8, 5, 11) tuple
    • Build date: (built: Oct 22 2026 14:00:00) → datetime
  3. Classifies according to the mode:
    • version mode: compares the tuple against a hardcoded table of patched versions (PATCHED = {8.5: (8,5,12), 8.4: (8,4,27), 8.3: (8,3,36), 8.2: (8,2,35)}).
    • full mode: also compares the build date against PATCH_RELEASE = 2026-10-21 14:00 UTC (date of the official advisory). If the build is later than the patch but the version still says vulnerable → your distro backported it.
VersionModeBuild dateResult
8.5.12+anyanysafe
8.5.11version(ignored)vulnerable
8.5.11fullbefore Oct 21, 2026vulnerable
8.5.11fullafter Oct 21, 2026backport
8.1.30version(ignored)eol_vulnerable
8.1.30fullafter Oct 21, 2026backport
5.3.29anyanyunaffected

It is detection based on binary metadata, not on code inspection. It works quickly, without privileges and without risk, but it depends on the version and build date being honest.


Developer

Pr@fEsOr X

GitHub

MIT License — see LICENSE.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    594
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    387
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    322
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    308
  • 6

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    275

Explore all tools

Browse our collection of tools

View all tools →