Exploit database

GH-30e76a71e7d985cfcfb3db9ddfb9e427

dinosn/php-cve-2026-10961x-lab-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-10961

1 source

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

Repository files16
dinosn/php-cve-2026-10961x-lab-pocRevision 6e0989762b58

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

scripts/lab-stop.sh

Shell · 477 bytes
#!/bin/sh
set -eu

# shellcheck source=./scripts/constants.sh
. "$(dirname -- "$0")/constants.sh"

if docker container inspect "$LAB_CONTAINER" >/dev/null 2>&1; then
    container_label=$(docker inspect -f "{{ index .Config.Labels \"$LAB_LABEL\" }}" "$LAB_CONTAINER")
    [ "$container_label" = "1" ] || {
        echo "refusing to stop foreign container $LAB_CONTAINER" >&2
        exit 2
    }
    docker stop "$LAB_CONTAINER"
else
    echo "lab container does not exist"
fi