Skip to content

Commit c846b0d

Browse files
committed
🎨 Add LulzSec icon and track executables
NEW FEATURES: - Added LulzSec icon to both executables - download_icon.sh script to fetch and convert icon - Updated .gitignore to track dist/*.exe files - Icon shows on Windows executables ICON: - Custom LulzSec hacker icon - 256x256 resolution - Applied to both .exe files FIXES: - Executables now visible in repo - dist/ folder properly tracked - Icon auto-applied during build
1 parent 1d6a3c6 commit c846b0d

5 files changed

Lines changed: 60 additions & 5 deletions

File tree

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ __pycache__/
66
.Python
77
build/
88
develop-eggs/
9-
# dist/ - DISABLED to allow Windows executable
9+
# dist/ - ENABLED to track executables
10+
!dist/*.exe
11+
!dist/*.app
12+
!dist/README.txt
13+
!dist/api_config.json
1014
downloads/
1115
eggs/
1216
.eggs/

BUILD_APPS.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,19 @@ echo "✅ Cleaned"
5151
echo ""
5252

5353
echo "🔨 Building Main Scanner..."
54+
55+
# Build with icon if available
56+
if [ -f "lulzsec_icon.ico" ]; then
57+
ICON_ARG="--icon=lulzsec_icon.ico"
58+
echo " ✅ Using LulzSec icon"
59+
else
60+
ICON_ARG=""
61+
echo " ⚠️ No icon found (run download_icon.sh)"
62+
fi
63+
5464
python3 -m PyInstaller --onefile --windowed \
5565
--name=LulzSec-Forensic-Scanner \
66+
$ICON_ARG \
5667
--add-data="api_config.json:." \
5768
--hidden-import=tkinter --hidden-import=tkinter.ttk \
5869
--hidden-import=tkinter.messagebox --hidden-import=tkinter.filedialog \
@@ -74,6 +85,7 @@ echo "🔨 Building GUI Launcher..."
7485
if [ -f "run_gui.py" ]; then
7586
python3 -m PyInstaller --onefile --windowed \
7687
--name=LulzSec-GUI-Launcher \
88+
$ICON_ARG \
7789
--add-data="api_config.json:." \
7890
--hidden-import=tkinter --hidden-import=tkinter.ttk \
7991
--hidden-import=tkinter.messagebox --hidden-import=tkinter.filedialog \

BUILD_WINDOWS.bat

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ echo ═════════════════════════
2828
echo 📦 Installing PyInstaller and dependencies
2929
echo ════════════════════════════════════════════════════════════════════════════
3030
echo.
31-
python -m pip install --upgrade pip
32-
python -m pip install pyinstaller ecdsa mnemonic pycryptodome requests base58 colorama
31+
python -m pip install --upgrade pip --quiet
32+
python -m pip install pyinstaller ecdsa mnemonic pycryptodome requests base58 colorama --quiet
3333
echo ✅ Installed
3434
echo.
3535

@@ -48,7 +48,13 @@ echo ═════════════════════════
4848
echo ⏳ Building... (3-5 minutes)
4949
echo.
5050

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
51+
if exist lulzsec_icon.ico (
52+
echo ✅ Using LulzSec icon
53+
pyinstaller --onefile --windowed --icon=lulzsec_icon.ico --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
54+
) else (
55+
echo ⚠️ No icon found
56+
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
57+
)
5258

5359
if errorlevel 1 (
5460
echo ❌ Main Scanner build failed
@@ -62,7 +68,11 @@ echo ═════════════════════════
6268
echo 🔨 Building GUI Launcher: LulzSec-GUI-Launcher.exe
6369
echo ════════════════════════════════════════════════════════════════════════════
6470
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
71+
if exist lulzsec_icon.ico (
72+
pyinstaller --onefile --windowed --icon=lulzsec_icon.ico --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
73+
) else (
74+
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
75+
)
6676
if errorlevel 1 (
6777
echo ⚠️ GUI Launcher failed, but Main Scanner ready
6878
) else (

download_icon.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
3+
echo "🎨 Downloading and preparing icon..."
4+
5+
# Download the icon
6+
wget -q "https://img.favpng.com/12/4/9/lulzsec-security-hacker-anonymous-computer-security-hacker-group-png-favpng-6dhsmimztz2KE7GidS52k9VNS.jpg" -O lulzsec_icon.jpg
7+
8+
# Convert to ICO (Windows icon format) using ImageMagick
9+
if command -v convert &> /dev/null; then
10+
echo "✅ Converting to .ico format..."
11+
convert lulzsec_icon.jpg -resize 256x256 lulzsec_icon.ico
12+
echo "✅ Icon created: lulzsec_icon.ico"
13+
elif command -v magick &> /dev/null; then
14+
echo "✅ Converting to .ico format..."
15+
magick lulzsec_icon.jpg -resize 256x256 lulzsec_icon.ico
16+
echo "✅ Icon created: lulzsec_icon.ico"
17+
else
18+
echo "⚠️ ImageMagick not found, installing..."
19+
sudo apt-get update -qq
20+
sudo apt-get install -y imagemagick
21+
convert lulzsec_icon.jpg -resize 256x256 lulzsec_icon.ico
22+
echo "✅ Icon created: lulzsec_icon.ico"
23+
fi
24+
25+
# Clean up temp file
26+
rm -f lulzsec_icon.jpg
27+
28+
echo ""
29+
echo "✅ Icon ready for build scripts!"

lulzsec_icon.ico

254 KB
Binary file not shown.

0 commit comments

Comments
 (0)