Exploit databaseDownload repository ZIP
GH-0f1d9d379cff43fb3682f81df57d5bee
lstudlo/nextjs-cve-demo
Sources for CVE-2025-29927
158 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files12
lstudlo/nextjs-cve-demoRevision c8f7e4dd41c6
- app/
- public/
- .gitignore
- README.md
- eslint.config.mjs
- extractor.sh
- middleware.ts
- next.config.ts
- package.json
- pnpm-lock.yaml
- postcss.config.mjs
- tsconfig.json
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
extractor.sh
Shell · 648 bytesq#!/bin/bash
timestamp=$(date +%Y%m%d_%H%M%S)
output_dir="./extracted/$timestamp"
mkdir -p "$output_dir"
echo "Processing all directories (excluding node_modules, .expo and extracted)..."
find . -type f \( -name "*.ts" -o -name "*.tsx" \) \
-not -path "*/node_modules/*" \
-not -path "*/extracted/*" \
-not -path "*/.wrangler/*" \
-not -path "*/.open-next/*" \
-not -path "*/.next/*" \
-exec bash -c '
file="$1"
out_dir="$2"
clean_path=${file#./}
new_name="${clean_path//\//->}"
cp "$file" "$out_dir/$new_name"
echo "Copied: $file -> $new_name"
' _ {} "$output_dir" \;
echo "Files extracted to: $output_dir"