🚀 A fast, parallel brute-force cracker for password-protected Microsoft Office files (.xlsx
, .docx
, etc.).
Leverage your CPU's full power, customize the character set, and crack passwords through raw processing power.
- Supports
.docx
,.xlsx
,.pptx
(modern Office formats) - Multi-core support via Python multiprocessing
- Real-time progress display using
tqdm
- Configurable character set (lowercase, uppercase, digits, symbols)
- Adjustable password length and chunk size
- Automatically detects number of logical CPU cores
- Python 3.10+
- msoffcrypto-tool
- tqdm
Install dependencies:
pip install msoffcrypto-tool tqdm
Edit the configuration block at the top of main.py
:
file_path = "protected_file.xlsx"
min_length = 1
max_length = 4
chunk_size = 5000
Enable or disable character types:
use_lowercase = True
use_uppercase = False
use_digits = True
use_symbols = False
Then simply run the script:
python main.py
You'll see output like:
🚀 Starting brute-force attack
⚙️ Processes: 24
🔤 Charset: abcdefghijklmnopqrstuvwxyz0123456789
🔢 Password length: 1 to 4
🧩 Chunk size: 5000
✅ Password found: mypass123
⏱️ Finished in 58.43 seconds.
This tool is intended for educational purposes or authorized testing only.
Do not use it on files or systems you do not own or have permission to test.
MIT License