Skip to content

Commit 300ab55

Browse files
committed
🔨 Add complete build system for 2 Windows executables
NEW BUILD FILES: - BUILD_WINDOWS.bat: Windows batch script (double-click to build) - BUILD_APPS.sh: Linux/Mac bash script - BUILD_GUIDE.md: Quick build documentation - COMMIT_BUILDS.sh: Commit helper script - PUSH_NOW.sh: Quick push script UPDATED FILES: - .github/workflows/build-windows-exe.yml: Now builds 2 apps - .gitignore: Allow dist/ folder for executables FEATURES: - Builds LulzSec-Forensic-Scanner.exe (main scanner from ext.py) - Builds LulzSec-GUI-Launcher.exe (GUI from run_gui.py) - Auto-installs PyInstaller and dependencies - Creates README and copies config - Works on Windows, Linux, Mac - GitHub Actions automatic build USAGE: Windows: Double-click BUILD_WINDOWS.bat Linux/Mac: chmod +x BUILD_APPS.sh && ./BUILD_APPS.sh GitHub: Automatic on push to main
1 parent 2633547 commit 300ab55

7 files changed

Lines changed: 334 additions & 10 deletions

File tree

.github/workflows/build-windows-exe.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,30 @@ jobs:
2323
python -m pip install --upgrade pip
2424
pip install pyinstaller ecdsa mnemonic pycryptodome requests base58 colorama
2525
26-
- name: Build executable
26+
- name: Build Main Scanner (ext.py)
2727
run: |
2828
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
2929
30+
- name: Build GUI Launcher (run_gui.py)
31+
run: |
32+
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
33+
continue-on-error: true
34+
3035
- name: Create README for release
3136
run: |
3237
echo "# LulzSec Forensic Scanner v2.0 - Windows Edition" > dist/README.txt
3338
echo "" >> dist/README.txt
39+
echo "## 2 Applications Included:" >> dist/README.txt
40+
echo "1. LulzSec-Forensic-Scanner.exe - Main scanner" >> dist/README.txt
41+
echo "2. LulzSec-GUI-Launcher.exe - Alternative GUI" >> dist/README.txt
42+
echo "" >> dist/README.txt
3443
echo "## Quick Start:" >> dist/README.txt
3544
echo "1. Double-click LulzSec-Forensic-Scanner.exe" >> dist/README.txt
3645
echo "2. If Windows Defender blocks it, click 'More info' then 'Run anyway'" >> dist/README.txt
3746
echo "3. Select your stealer logs folder" >> dist/README.txt
3847
echo "4. Click 'SCAN ALL DATA'" >> dist/README.txt
3948
echo "" >> dist/README.txt
40-
echo "## Features:" >> dist/README.txt
41-
echo "- Extract crypto wallets and seed phrases" >> dist/README.txt
42-
echo "- Find credentials from browsers" >> dist/README.txt
43-
echo "- Detect control panels (cPanel, Plesk, WHM)" >> dist/README.txt
44-
echo "- Export to Excel/CSV" >> dist/README.txt
45-
echo "" >> dist/README.txt
49+
echo "## Features: 9 tabs, Control panels, Export, Database" >> dist/README.txt
4650
echo "Support: @Lulz1337" >> dist/README.txt
4751
4852
- name: Copy config file
@@ -54,13 +58,14 @@ jobs:
5458
name: LulzSec-Forensic-Scanner-Windows
5559
path: |
5660
dist/LulzSec-Forensic-Scanner.exe
61+
dist/LulzSec-GUI-Launcher.exe
5762
dist/README.txt
5863
dist/api_config.json
5964
60-
- name: Commit executable to repo
65+
- name: Commit executables to repo
6166
run: |
6267
git config --local user.email "github-actions[bot]@users.noreply.github.com"
6368
git config --local user.name "github-actions[bot]"
6469
git add dist/
65-
git diff --quiet && git diff --staged --quiet || (git commit -m "🚀 Auto-build: Windows Executable [skip ci]" && git push)
70+
git diff --quiet && git diff --staged --quiet || (git commit -m "🚀 Auto-build: 2 Windows Executables [skip ci]" && git push)
6671
continue-on-error: true

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ __pycache__/
66
.Python
77
build/
88
develop-eggs/
9-
dist/
9+
# dist/ - DISABLED to allow Windows executable
1010
downloads/
1111
eggs/
1212
.eggs/

BUILD_APPS.sh

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
#!/bin/bash
2+
# ════════════════════════════════════════════════════════════════════════════
3+
# LulzSec Forensic Scanner - Build Script (Linux/Mac/Windows)
4+
# Builds 2 executables
5+
# ════════════════════════════════════════════════════════════════════════════
6+
7+
echo "════════════════════════════════════════════════════════════════════════════"
8+
echo " 🚀 LulzSec Forensic Scanner - Builder 🚀"
9+
echo " Building 2 Applications"
10+
echo "════════════════════════════════════════════════════════════════════════════"
11+
echo ""
12+
13+
if ! command -v python3 &> /dev/null; then
14+
echo "❌ Python 3 not installed!"
15+
exit 1
16+
fi
17+
18+
echo "✅ Python: $(python3 --version)"
19+
echo ""
20+
21+
echo "📦 Installing dependencies..."
22+
python3 -m pip install --upgrade pip -q
23+
python3 -m pip install pyinstaller ecdsa mnemonic pycryptodome requests base58 colorama -q
24+
echo "✅ Installed"
25+
echo ""
26+
27+
echo "🧹 Cleaning..."
28+
rm -rf build dist *.spec
29+
echo "✅ Cleaned"
30+
echo ""
31+
32+
echo "🔨 Building Main Scanner..."
33+
python3 -m PyInstaller --onefile --windowed \
34+
--name=LulzSec-Forensic-Scanner \
35+
--add-data="api_config.json:." \
36+
--hidden-import=tkinter --hidden-import=tkinter.ttk \
37+
--hidden-import=tkinter.messagebox --hidden-import=tkinter.filedialog \
38+
--hidden-import=sqlite3 --hidden-import=ecdsa --hidden-import=mnemonic \
39+
--hidden-import=Crypto --hidden-import=Crypto.Cipher \
40+
--hidden-import=Crypto.Cipher.AES --hidden-import=requests \
41+
--hidden-import=base58 --hidden-import=colorama \
42+
--collect-all=tkinter --collect-all=mnemonic --collect-all=ecdsa \
43+
ext.py
44+
45+
if [ $? -ne 0 ]; then
46+
echo "❌ Build failed"
47+
exit 1
48+
fi
49+
echo "✅ Main Scanner built!"
50+
echo ""
51+
52+
echo "🔨 Building GUI Launcher..."
53+
if [ -f "run_gui.py" ]; then
54+
python3 -m PyInstaller --onefile --windowed \
55+
--name=LulzSec-GUI-Launcher \
56+
--add-data="api_config.json:." \
57+
--hidden-import=tkinter --hidden-import=tkinter.ttk \
58+
--hidden-import=tkinter.messagebox --hidden-import=tkinter.filedialog \
59+
--hidden-import=sqlite3 --collect-all=tkinter \
60+
run_gui.py
61+
[ $? -eq 0 ] && echo "✅ GUI Launcher built!" || echo "⚠️ GUI build failed"
62+
else
63+
echo "⚠️ run_gui.py not found"
64+
fi
65+
echo ""
66+
67+
echo "📝 Creating README..."
68+
cat > dist/README.txt << 'EOF'
69+
# LulzSec Forensic Scanner v2.0
70+
71+
## Quick Start:
72+
1. Run LulzSec-Forensic-Scanner(.exe)
73+
2. Select stealer logs folder
74+
3. Click "SCAN ALL DATA"
75+
76+
## 2 Apps: Main Scanner + GUI Launcher
77+
## Features: 9 tabs, Control panels, Export, Database
78+
## Support: @Lulz1337
79+
EOF
80+
81+
cp api_config.json dist/ 2>/dev/null
82+
echo "✅ Package ready"
83+
echo ""
84+
85+
echo "════════════════════════════════════════════════════════════════════════════"
86+
echo " ✅ BUILD COMPLETE!"
87+
echo "════════════════════════════════════════════════════════════════════════════"
88+
echo ""
89+
echo "📦 Files in dist/:"
90+
ls -lh dist/ 2>/dev/null | grep -E "\.exe|README|json"
91+
echo ""

BUILD_GUIDE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# 🚀 Build Instructions
2+
3+
## Download and Build
4+
5+
### Windows:
6+
1. Download repository
7+
2. Run `BUILD_WINDOWS.bat`
8+
3. Find executables in `dist\` folder
9+
10+
### Linux/Mac:
11+
```bash
12+
chmod +x BUILD_APPS.sh
13+
./BUILD_APPS.sh
14+
```
15+
16+
## What You Get:
17+
- **LulzSec-Forensic-Scanner.exe** - Main scanner
18+
- **LulzSec-GUI-Launcher.exe** - Alternative GUI
19+
20+
## GitHub Actions:
21+
Push to `main` branch → automatic build → download from Actions tab
22+
23+
## Support: @Lulz1337

BUILD_WINDOWS.bat

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
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

COMMIT_BUILDS.sh

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
#!/bin/bash
2+
3+
echo "╔══════════════════════════════════════════════════════════════════════════════╗"
4+
echo "║ 💾 Committing Build Files to Repository ║"
5+
echo "╚══════════════════════════════════════════════════════════════════════════════╝"
6+
echo ""
7+
8+
cd /workspaces/LulzSec-ULTIMATE-Forensic-Scanner-V2
9+
10+
# Make scripts executable
11+
chmod +x BUILD_APPS.sh
12+
13+
# Add all build files
14+
echo "📦 Adding files..."
15+
git add BUILD_WINDOWS.bat
16+
git add BUILD_APPS.sh
17+
git add BUILD_GUIDE.md
18+
git add .github/workflows/build-windows-exe.yml
19+
20+
echo "✅ Files staged:"
21+
echo " - BUILD_WINDOWS.bat (Windows build script)"
22+
echo " - BUILD_APPS.sh (Linux/Mac build script)"
23+
echo " - BUILD_GUIDE.md (Quick guide)"
24+
echo " - .github/workflows/build-windows-exe.yml (GitHub Actions)"
25+
echo ""
26+
27+
# Commit
28+
echo "💾 Committing..."
29+
git commit -m "🔨 Add build scripts for 2 Windows executables
30+
31+
Files:
32+
- BUILD_WINDOWS.bat: Windows batch script (double-click to build)
33+
- BUILD_APPS.sh: Linux/Mac bash script
34+
- BUILD_GUIDE.md: Quick build guide
35+
- GitHub Actions workflow updated
36+
37+
Builds:
38+
1. LulzSec-Forensic-Scanner.exe (main app from ext.py)
39+
2. LulzSec-GUI-Launcher.exe (GUI from run_gui.py)
40+
41+
Usage:
42+
- Windows: Run BUILD_WINDOWS.bat
43+
- Linux/Mac: chmod +x BUILD_APPS.sh && ./BUILD_APPS.sh
44+
- GitHub Actions: Automatic on push"
45+
46+
if [ $? -ne 0 ]; then
47+
echo "⚠️ Nothing to commit or commit failed"
48+
git status
49+
echo ""
50+
fi
51+
52+
# Pull first to avoid conflicts
53+
echo "📥 Pulling remote changes..."
54+
git pull --rebase origin main
55+
56+
if [ $? -eq 0 ]; then
57+
# Push
58+
echo "📤 Pushing..."
59+
git push origin main
60+
61+
if [ $? -eq 0 ]; then
62+
echo ""
63+
echo "╔══════════════════════════════════════════════════════════════════════════════╗"
64+
echo "║ ✅ SUCCESS! Build files pushed to GitHub! ║"
65+
echo "╚══════════════════════════════════════════════════════════════════════════════╝"
66+
echo ""
67+
echo "📦 Files now in repository:"
68+
echo " ✅ BUILD_WINDOWS.bat"
69+
echo " ✅ BUILD_APPS.sh"
70+
echo " ✅ BUILD_GUIDE.md"
71+
echo " ✅ .github/workflows/build-windows-exe.yml"
72+
echo ""
73+
echo "🚀 GitHub Actions is building now!"
74+
echo " Check: https://github.com/LulzSec1337/LulzSec-ULTIMATE-Forensic-Scanner-V2/actions"
75+
echo ""
76+
echo "📥 Or build locally:"
77+
echo " Windows: BUILD_WINDOWS.bat"
78+
echo " Linux/Mac: ./BUILD_APPS.sh"
79+
echo ""
80+
echo "✅ You'll get 2 executables:"
81+
echo " 1. LulzSec-Forensic-Scanner.exe"
82+
echo " 2. LulzSec-GUI-Launcher.exe"
83+
echo ""
84+
else
85+
echo ""
86+
echo "❌ Push failed - trying alternative..."
87+
git push --force-with-lease origin main || echo "❌ Force push also failed"
88+
fi
89+
else
90+
echo ""
91+
echo "❌ Pull failed - resolving conflicts..."
92+
git pull origin main --allow-unrelated-histories
93+
git push origin main
94+
fi

PUSH_NOW.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
cd /workspaces/LulzSec-ULTIMATE-Forensic-Scanner-V2
3+
chmod +x BUILD_APPS.sh COMMIT_BUILDS.sh
4+
./COMMIT_BUILDS.sh

0 commit comments

Comments
 (0)