|
| 1 | +@echo off |
| 2 | +REM ════════════════════════════════════════════════════════════════════════════ |
| 3 | +REM LulzSec Forensic Scanner - Windows EXE Builder |
| 4 | +REM Builds 2 Windows Executables |
| 5 | +REM ════════════════════════════════════════════════════════════════════════════ |
| 6 | + |
| 7 | +echo. |
| 8 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 9 | +echo. |
| 10 | +echo 🚀 LulzSec Forensic Scanner - Windows EXE Builder 🚀 |
| 11 | +echo. |
| 12 | +echo Building 2 Applications |
| 13 | +echo. |
| 14 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 15 | +echo. |
| 16 | + |
| 17 | +python --version >nul 2>&1 |
| 18 | +if errorlevel 1 ( |
| 19 | + echo ❌ Python not installed! Download from: https://www.python.org/downloads/ |
| 20 | + pause |
| 21 | + exit /b 1 |
| 22 | +) |
| 23 | + |
| 24 | +echo ✅ Python found |
| 25 | +echo. |
| 26 | + |
| 27 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 28 | +echo 📦 Installing PyInstaller and dependencies |
| 29 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 30 | +echo. |
| 31 | +python -m pip install --upgrade pip |
| 32 | +python -m pip install pyinstaller ecdsa mnemonic pycryptodome requests base58 colorama |
| 33 | +echo ✅ Installed |
| 34 | +echo. |
| 35 | + |
| 36 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 37 | +echo 🧹 Cleaning old builds |
| 38 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 39 | +if exist build rmdir /s /q build |
| 40 | +if exist dist rmdir /s /q dist |
| 41 | +if exist *.spec del /q *.spec |
| 42 | +echo ✅ Cleaned |
| 43 | +echo. |
| 44 | + |
| 45 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 46 | +echo 🔨 Building Main Scanner: LulzSec-Forensic-Scanner.exe |
| 47 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 48 | +echo ⏳ Building... (3-5 minutes) |
| 49 | +echo. |
| 50 | + |
| 51 | +pyinstaller --onefile --windowed --name=LulzSec-Forensic-Scanner --add-data="api_config.json;." --hidden-import=tkinter --hidden-import=tkinter.ttk --hidden-import=tkinter.messagebox --hidden-import=tkinter.filedialog --hidden-import=sqlite3 --hidden-import=ecdsa --hidden-import=mnemonic --hidden-import=Crypto --hidden-import=Crypto.Cipher --hidden-import=Crypto.Cipher.AES --hidden-import=requests --hidden-import=base58 --hidden-import=colorama --collect-all=tkinter --collect-all=mnemonic --collect-all=ecdsa ext.py |
| 52 | + |
| 53 | +if errorlevel 1 ( |
| 54 | + echo ❌ Main Scanner build failed |
| 55 | + pause |
| 56 | + exit /b 1 |
| 57 | +) |
| 58 | +echo ✅ Main Scanner built! |
| 59 | +echo. |
| 60 | + |
| 61 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 62 | +echo 🔨 Building GUI Launcher: LulzSec-GUI-Launcher.exe |
| 63 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 64 | +if exist run_gui.py ( |
| 65 | + pyinstaller --onefile --windowed --name=LulzSec-GUI-Launcher --add-data="api_config.json;." --hidden-import=tkinter --hidden-import=tkinter.ttk --hidden-import=tkinter.messagebox --hidden-import=tkinter.filedialog --hidden-import=sqlite3 --collect-all=tkinter run_gui.py |
| 66 | + if errorlevel 1 ( |
| 67 | + echo ⚠️ GUI Launcher failed, but Main Scanner ready |
| 68 | + ) else ( |
| 69 | + echo ✅ GUI Launcher built! |
| 70 | + ) |
| 71 | +) else ( |
| 72 | + echo ⚠️ run_gui.py not found |
| 73 | +) |
| 74 | +echo. |
| 75 | + |
| 76 | +echo 📝 Creating README... |
| 77 | +( |
| 78 | +echo # LulzSec Forensic Scanner v2.0 - Windows Edition |
| 79 | +echo. |
| 80 | +echo ## Quick Start: |
| 81 | +echo 1. Double-click LulzSec-Forensic-Scanner.exe |
| 82 | +echo 2. If Windows Defender blocks: Click "More info" then "Run anyway" |
| 83 | +echo 3. Select stealer logs folder |
| 84 | +echo 4. Click "SCAN ALL DATA" |
| 85 | +echo. |
| 86 | +echo ## 2 Apps Included: |
| 87 | +echo - LulzSec-Forensic-Scanner.exe (Main) |
| 88 | +echo - LulzSec-GUI-Launcher.exe (Alternative GUI) |
| 89 | +echo. |
| 90 | +echo ## Features: 9 tabs, Control panels, Export, Database |
| 91 | +echo Support: @Lulz1337 |
| 92 | +) > dist\README.txt |
| 93 | + |
| 94 | +copy api_config.json dist\ >nul 2>&1 |
| 95 | +echo ✅ Package ready |
| 96 | +echo. |
| 97 | + |
| 98 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 99 | +echo ✅ BUILD COMPLETE! |
| 100 | +echo ════════════════════════════════════════════════════════════════════════════ |
| 101 | +echo. |
| 102 | +echo 📦 Executables in dist\ folder: |
| 103 | +dir /B dist\*.exe 2>nul |
| 104 | +echo. |
| 105 | +echo 🎯 Test: Double-click dist\LulzSec-Forensic-Scanner.exe |
| 106 | +echo. |
| 107 | +pause |
0 commit comments