Exploit databaseDownload repository ZIP
GH-61e861224ca37d791c28f53a069b7812
ethen1212/php2shell-cve-2026-109618
Sources for CVE-2026-109618
412 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files16
ethen1212/php2shell-cve-2026-109618Revision 6adf06c58724
- env/
- README.md
- build_fixed.sh
- download_php.sh
- download_php2.sh
- download_php3.sh
- download_tag.sh
- download_tag2.sh
- fetch_ghsa.sh
- notes.md
- php2shell_复现报告.md
- setup_env.sh
- setup_modphp.sh
- start_apache.sh
- start_apache2.sh
- start_web.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
download_tag.sh
Shell · 605 bytes#!/bin/bash
# Download PHP 8.4.16 (known-vulnerable release) source tarball
cd /root/work/php2shell
URL="https://gh-proxy.com/https://codeload.github.com/php/php-src/tar.gz/refs/tags/php-8.4.16"
n=0
while [ $n -lt 30 ]; do
curl -sL --max-time 270 -C - "$URL" -o php-8.4.16.tgz
rc=$?
s=$(stat -c%s php-8.4.16.tgz 2>/dev/null)
s=${s:-0}
echo "attempt $n rc=$rc size=$s"
if [ "$rc" -eq 0 ] && [ "$s" -gt 18000000 ] && gzip -t php-8.4.16.tgz 2>/dev/null; then
echo "DOWNLOAD_COMPLETE size=$s"
exit 0
fi
n=$((n+1))
sleep 2
done
echo "DOWNLOAD_FAILED"
exit 1