Exploit databaseDownload repository ZIP
GH-8b6eb190b305a00d1abd5c5fdac6ed80
evenomn/cve-2026-125396-upload2shell
Sources for CVE-2026-125396
6 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files8
evenomn/cve-2026-125396-upload2shellRevision a870cfed2452
- ↑..Parent directory
- baseline.ps
- gen_poc.py
- poc-native-write.pdf
- probe-chain.ps
- probe-rce.ps
- run-matrix.sh
- wp-payload.pdf
- wp-shell-gen.pdf
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
poc/run-matrix.sh
Shell · 711 bytes#!/bin/zsh
# CVE-2026-125396 复现矩阵执行脚本
# 用法: ./run-matrix.sh [gs-binary] [label]
# 产物: results/<label>-<test>.log
set -u
BASE="$0:A:h"
RES="$BASE/results"
mkdir -p "$RES"
run_one() {
local GS="$1" LABEL="$2" INPUT="$3" NAME="$4"
echo "== $LABEL :: $NAME =="
# 中立 cwd 执行(不在解压目录内跑解释器)
( cd /tmp && "$GS" -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage "$INPUT" ) \
>"$RES/$LABEL-$NAME.log" 2>&1
local RC=$?
echo "rc=$RC"
cat "$RES/$LABEL-$NAME.log"
echo "----------------------------------------"
}
GS="$1"; LABEL="$2"
run_one "$GS" "$LABEL" "$BASE/poc/baseline.ps" baseline
run_one "$GS" "$LABEL" "$BASE/poc/poc-native-write.pdf" poc