Exploit databaseDownload repository ZIP
GH-9dc504b8e28c55415e7f17b0471203fc
d1a0y1bb/php2shell-poc
Sources for CVE-2026-109618
411 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files7
d1a0y1bb/php2shell-pocRevision a9d3ebefc209
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
env/i072/start.sh
Shell · 1,139 bytes#!/usr/bin/env bash
# Start the i072 single-worker stock-PHP harness inside php2shell-lab.
set -euo pipefail
CONTAINER=${CONTAINER:-php2shell-lab}
PORT=${PORT:-19582}
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
podman exec "$CONTAINER" mkdir -p /tmp/i072/sessions
podman exec "$CONTAINER" chmod 777 /tmp/i072/sessions
podman cp "$HERE/apache-i072.conf" "$CONTAINER":/tmp/i072/apache.conf
podman cp "$HERE/i072.py" "$CONTAINER":/tmp/i072/i072.py
podman exec "$CONTAINER" bash -lc "
test ! -e /etc/php/8.5/apache2/conf.d/99-lab.ini || { echo '99-lab.ini present; stock-php requirement not met' >&2; exit 1; }
if [ -f /tmp/i072/httpd.pid ]; then kill \$(cat /tmp/i072/httpd.pid) 2>/dev/null || true; fi
sleep .3
rm -f /tmp/i072/error.log /tmp/i072/httpd.pid
/usr/sbin/apache2 -f /tmp/i072/apache.conf
for i in \$(seq 1 60); do
code=\$(curl -s -o /dev/null -w '%{http_code}' -m 2 http://127.0.0.1:${PORT}/index.html || true)
[ \"\$code\" = 200 ] && { echo \"i072 harness up on ${PORT}\"; exit 0; }
sleep .2
done
echo 'i072 harness failed to start' >&2
tail -20 /tmp/i072/error.log >&2 || true
exit 1
"