Exploit databaseDownload repository ZIP
GH-7d53f457e9858be948fe780dd520f6b3
wormw/nginx2root-rce-lab
Sources for CVE-2026-123007
24 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files3
wormw/nginx2root-rce-labRevision 822586918d5d
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
scripts/collect_evidence.sh
Shell · 955 bytes#!/usr/bin/env bash
# Collect a small, non-sensitive evidence bundle from the target container.
#
# Authorized lab use only.
set -euo pipefail
CONTAINER="${CONTAINER:-nginx2root-target}"
HOST_PORT="${HOST_PORT:-19443}"
MARKER="${MARKER:-/tmp/nginx2root-lab-ok}"
echo "== nginx =="
docker exec "$CONTAINER" nginx -v
echo "== memcpy gate (needs /tmp/memcpy_gate copied in) =="
docker exec "$CONTAINER" /tmp/memcpy_gate || true
echo "== HTTP/2 fingerprint =="
curl -skS --http2 -D - -o /dev/null "https://127.0.0.1:${HOST_PORT}/index.html" | head -n 6
echo "== marker oracle =="
docker exec "$CONTAINER" sh -c \
"stat -c 'uid=%u gid=%g mode=%a size=%s mtime=%y' $MARKER 2>/dev/null; \
echo -n 'hex='; od -An -tx1 $MARKER 2>/dev/null | tr -d ' \n'; echo; \
echo -n 'text='; cat $MARKER 2>/dev/null; echo" || true
echo "== worker exits =="
docker logs "$CONTAINER" 2>&1 | grep -E "exited on signal|start worker process" | tail -n 6 || true