/Vitejs-exploit

Vite Development Server's @fs endpoint (CVE-2025-31125) to access sensitive files like /etc/passwd and /etc/hosts via crafted URLs.

Primary LanguagePython

Vite Exploit (CVE-2025-31125)

Description: Exploits path traversal in Vite Development Server's @fs endpoint (CVE-2025-31125) to access sensitive files like /etc/passwd and /etc/hosts via crafted URLs.

Created by Muhammad Waseem.

Usage: python vite_exploit.py -u http://target.com python vite_exploit.py -f urls.txt -o output.txt

image

image

Requirements:

Python 3.x pip install requests colorama

Disclaimer: This tool is for educational purposes and authorized security testing only. The author is not responsible for any misuse or damage caused by this script. Use at your own risk. Warning: Use with permission only. Unauthorized testing is illegal. License: MIT