Exploit database

GH-3446dfa9e19b9ff870bf2fff9f9498f7

leisurelinux/php2shell

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

412 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files6
leisurelinux/php2shellRevision d9e2774db586

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

target/lab/gadget.php

PHP · 321 bytes
<?php
/**
 * The gadget.  On a real target this is a framework class whose __destruct
 * happens to be useful (Guzzle FileCookieJar / Symfony Process / Monolog
 * handlers ...).  This is a minimal stand-in.
 */
class Evil {
    public $cmd;
    public function __destruct() { if ($this->cmd) { @system($this->cmd); } }
}