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/bootstrap.php

PHP · 516 bytes
<?php
/**
 * Application bootstrap (auto_prepend_file) -- lives OUTSIDE the webroot,
 * exactly like a real app's vendor/autoload.php.
 *
 * It must run BEFORE the session is read, otherwise the object we inject is
 * created as __PHP_Incomplete_Class and never gets a __destruct call.
 * That is why session.auto_start is Off: the bootstrap opens the session
 * itself, after the gadget class is available.
 */
require __DIR__ . '/gadget.php';

if (session_status() !== PHP_SESSION_ACTIVE) {
    session_start();
}