A security research tool for discovering writable/executable paths through ZIP file upload vulnerabilities and deploying reverse shells.
This tool demonstrates a technique for discovering writable/executable paths on a target system through a ZIP file upload vulnerability with directory traversal, and subsequently deploying reverse shells to those discovered paths. It uses multiple callback methods to confirm successful payload execution.
** DISCLAIMER**: This tool is intended for authorized security testing and educational purposes only. Use only on systems you own or have explicit permission to test. Unauthorized use may violate laws and regulations.
- Blind Path Discovery: Probes target systems for writable paths using callback mechanisms
- Multi-Method Callback Detection: HTTP callbacks, raw socket connections, and DNS exfiltration via nip.io
- Time-Based Detection: Identifies execution through response time analysis
- Automated Reverse Shell Deployment: Automatically uploads reverse shells to discovered paths
- Customizable Ports: Flexible configuration for callback and shell ports
- Real-Time Feedback: Live updates when writable paths are discovered
- Retry Mechanism: Automatic retry for reliable shell connections
- Creates a ZIP file with a payload designed to write to a specific path
- Uploads the ZIP through the vulnerable endpoint
- The payload executes and attempts to call back via HTTP, TCP, and DNS
- A listener catches callbacks and confirms writable paths
- Creates a reverse shell payload for discovered paths
- Uploads through the same vulnerability
- Payload connects back with a fully interactive PTY shell
- 5 retry attempts ensure reliable connection
- Callback Detection: Listener catches inbound connections from payloads
- Time-Based Detection: Unusual response times indicate script execution
# Clone the repository
git clone https://github.com/yourusername/blind-path-discovery.git
cd blind-path-discovery
# Start your listener (in another terminal)
nc -lvnp 4444
# Run the exploit
python exploit.py