Exploit databaseDownload repository ZIP
GH-69e7e7c315c6748278384db916a60c97
leonewt0n/php2shell-poc
Sources for CVE-2026-109618
413 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files9
leonewt0n/php2shell-pocRevision 882631474ba7
- ↑..Parent directory
- attacker.php
- index.php
- oom.php
- opcache_probe.php
- overwrite.php
- readback.php
- shm_layout.php
- trigger_persist.php
- victim.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/www-bug4/opcache_probe.php
PHP · 1,176 bytes<?php
// Bug 4 olcum ucu: OPcache durumunun kucuk bir ozetini JSON doner.
// bug4_opcache_confusion.py baseline ile karsilastirip tutarsizlik arar.
// SADECE LAB: bu dosyayi uretime koymayin (bilgi ifsasi).
header('Content-Type: application/json');
if (!function_exists('opcache_get_status')) {
echo json_encode(array('enabled' => false));
exit;
}
$st = opcache_get_status(false);
if ($st === false) {
echo json_encode(array('enabled' => false));
exit;
}
$stats = isset($st['opcache_statistics']) ? $st['opcache_statistics'] : array();
$mem = isset($st['memory_usage']) ? $st['memory_usage'] : array();
echo json_encode(array(
'enabled' => !empty($st['opcache_enabled']),
'num_cached_scripts' => isset($stats['num_cached_scripts']) ? $stats['num_cached_scripts'] : null,
'num_cached_keys' => isset($stats['num_cached_keys']) ? $stats['num_cached_keys'] : null,
'max_cached_keys' => isset($stats['max_cached_keys']) ? $stats['max_cached_keys'] : null,
'used_memory' => isset($mem['used_memory']) ? $mem['used_memory'] : null,
'free_memory' => isset($mem['free_memory']) ? $mem['free_memory'] : null,
));