Exploit database

GH-665d00ce4b4d984370299d7e17c8c059

aancw/php2shell-scanner

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

412 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files8
aancw/php2shell-scannerRevision ac7e99e05eb4

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

lab/start-sshd.sh

Shell · 369 bytes
#!/bin/sh
# Installs the mounted public key, sets the lab password, serves PHP over http
# and runs sshd.
set -e

if [ -s /run/authorized_keys ]; then
  install -m 600 -o root -g root /run/authorized_keys /root/.ssh/authorized_keys
fi

if [ -n "$P2S_ROOT_PASSWORD" ]; then
  echo "root:$P2S_ROOT_PASSWORD" | chpasswd
fi

apache2-foreground &

exec /usr/sbin/sshd -D -e