This PHP script is an educational tool designed to demonstrate brute-force password recovery techniques on ZIP files. It systematically attempts numeric passwords (from 000000 to 999999) to unlock a ZIP archive.
β Disclaimer: This script is strictly for educational and ethical purposes. Do not use it to access files without explicit permission. Unauthorized use may violate laws and ethical guidelines.
β
Attempts numeric passwords (6-digit range)
β
Displays progress every 1,000 attempts
β
Stops immediately upon finding the correct password
β
Unlimited execution time for long-running operations
- PHP 7+
ZipArchiveextension enabled
- Place the ZIP file you want to test in the same directory as the script.
- Rename the file to
recover.zip(or modify$zipFilein the script). - Run the script using:
php script.php
`` If the password is found, the contents will be extracted into the unzipped folder.
This script is intended only for educational and testing purposes on files you legally own. Unauthorized usage against third-party data is illegal and unethical. Use responsibly!
This project is released under the MIT License. See LICENSE for details.
Special thanks to the open-source community for knowledge-sharing and ethical hacking education.
This README clearly explains the purpose, usage, and legal disclaimer while making it professional for GitHub! π