Exploit database

GH-56a5614eca576c08feea4e04aacfa2a2

kipmyk/php2shell

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

411 sources

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

Repository files11
kipmyk/php2shellRevision e354452bffba

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

Dockerfile.php

Suggested starting filePHP · 618 bytes
FROM php:8.4.26-fpm

# Install debugging and analysis utilities (gdb, strace, procps, valgrind)
RUN apt-get update && apt-get install -y --no-install-recommends \
    gdb \
    strace \
    procps \
    curl \
    net-tools \
    binutils \
    && rm -rf /var/lib/apt/lists/*

# Create mock print-flag binary
COPY bin/print-flag.c /tmp/print-flag.c
RUN gcc /tmp/print-flag.c -o /usr/local/bin/print-flag \
    && chmod 4755 /usr/local/bin/print-flag \
    && rm /tmp/print-flag.c

# Ensure standard permissions
WORKDIR /var/www/html
RUN chown -R www-data:www-data /var/www/html /tmp

EXPOSE 9000
CMD ["php-fpm", "-F"]