Skip to content

Commit 6d702d6

Browse files
committed
feat: Add release preparation script and fix merge conflicts
- Add quick_release.py for GitHub releases - Resolve LICENSE merge conflict - Prepare v1.0.0 release files
2 parents 36eab6b + 8110920 commit 6d702d6

File tree

7 files changed

+362
-1
lines changed

7 files changed

+362
-1
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

quick_release.py

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# quick_release_fixed.py
2+
import os
3+
import shutil
4+
import datetime
5+
6+
7+
def prepare_release():
8+
print("Preparing CyberGuardian-X v1.0.0 Release...")
9+
10+
# Create release directory
11+
release_dir = "release_v1.0.0"
12+
if os.path.exists(release_dir):
13+
shutil.rmtree(release_dir)
14+
os.makedirs(release_dir)
15+
16+
# Copy executable
17+
exe_source = "dist/CyberGuardian-X.exe"
18+
if os.path.exists(exe_source):
19+
shutil.copy2(exe_source, release_dir)
20+
print("Copied: CyberGuardian-X.exe")
21+
else:
22+
print("Executable not found. Build it first.")
23+
return
24+
25+
# Copy key documentation
26+
files_to_copy = [
27+
"README.md",
28+
"LICENSE",
29+
"requirements.txt",
30+
"keys.example.ini"
31+
]
32+
33+
for file in files_to_copy:
34+
if os.path.exists(file):
35+
shutil.copy2(file, release_dir)
36+
print(f"Copied: {file}")
37+
38+
# Create quick start guide WITHOUT emojis
39+
with open(f"{release_dir}/QUICK_START.md", "w", encoding='utf-8') as f:
40+
f.write("""# CyberGuardian-X Quick Start
41+
42+
## 1. Run the Application
43+
Double-click `CyberGuardian-X.exe`
44+
45+
## 2. Configure API Keys
46+
1. Copy `keys.example.ini` to `config.ini`
47+
2. Add your API keys to `config.ini`
48+
3. Get free API keys from:
49+
- VirusTotal: https://www.virustotal.com/gui/join-us
50+
- AbuseIPDB: https://www.abuseipdb.com/account/api
51+
- OTX: https://otx.alienvault.com/api
52+
- Shodan: https://account.shodan.io/
53+
- URLScan: https://urlscan.io/about-api/
54+
- Hybrid Analysis: https://www.hybrid-analysis.com/signup
55+
- MetaDefender: https://www.metadefender.com/signup
56+
57+
## 3. Start Scanning!
58+
- Use the GUI for interactive scanning
59+
- Enable real-time monitoring in Settings
60+
- Scan domains, IPs, and files for threats
61+
62+
## Support
63+
- Issues: https://github.com/APMarzuki/CyberGuardian-X/issues
64+
- Discussions: https://github.com/APMarzuki/CyberGuardian-X/discussions
65+
""")
66+
67+
print(f"Release package ready in: {release_dir}/")
68+
print("Upload the entire folder to GitHub Releases!")
69+
70+
71+
if __name__ == "__main__":
72+
prepare_release()

release_v1.0.0/CyberGuardian-X.exe

42.8 MB
Binary file not shown.

release_v1.0.0/LICENSE

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
MIT License
2+
3+
Copyright (c) 2025 APMarzuki
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
<<<<<<< HEAD
22+
SOFTWARE.
23+
=======
24+
SOFTWARE.
25+
>>>>>>> 81109202452a45f4ee8fc386c5c7de167cd77db4

release_v1.0.0/QUICK_START.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# CyberGuardian-X Quick Start
2+
3+
## 1. Run the Application
4+
Double-click `CyberGuardian-X.exe`
5+
6+
## 2. Configure API Keys
7+
1. Copy `keys.example.ini` to `config.ini`
8+
2. Add your API keys to `config.ini`
9+
3. Get free API keys from:
10+
- VirusTotal: https://www.virustotal.com/gui/join-us
11+
- AbuseIPDB: https://www.abuseipdb.com/account/api
12+
- OTX: https://otx.alienvault.com/api
13+
- Shodan: https://account.shodan.io/
14+
- URLScan: https://urlscan.io/about-api/
15+
- Hybrid Analysis: https://www.hybrid-analysis.com/signup
16+
- MetaDefender: https://www.metadefender.com/signup
17+
18+
## 3. Start Scanning!
19+
- Use the GUI for interactive scanning
20+
- Enable real-time monitoring in Settings
21+
- Scan domains, IPs, and files for threats
22+
23+
## Support
24+
- Issues: https://github.com/APMarzuki/CyberGuardian-X/issues
25+
- Discussions: https://github.com/APMarzuki/CyberGuardian-X/discussions

release_v1.0.0/README.md

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
# 🛡️ CyberGuardian-X - Unified Security & Threat Intelligence Suite
2+
3+
![CyberGuardian-X](assets/logo.png)
4+
5+
**Professional-grade cybersecurity tool that combines threat intelligence, real-time monitoring, and forensic analysis in one unified platform.**
6+
7+
---
8+
9+
## 🚀 Features
10+
11+
### 🔍 Threat Intelligence Pro
12+
- **Multi-Source Analysis**: 7 integrated threat intelligence APIs
13+
- **Domain/IP/File Scanning**: Comprehensive threat assessment
14+
- **Real-Time Scoring**: Advanced multi-source threat scoring system
15+
- **Export Capabilities**: PDF/JSON report generation
16+
17+
### 🛡️ Real-Time Protection
18+
- **File Monitoring**: Automatic scanning of new files
19+
- **Auto-Quarantine**: Isolate malicious files automatically
20+
- **Watchdog Integration**: Real-time directory monitoring
21+
22+
### 📊 Security Modules
23+
- **Personal Security**: Breach monitoring & password analysis
24+
- **System Audit**: Startup programs & process inspection
25+
- **Forensics Lite**: Evidence collection & browser history
26+
- **Network Tools**: Host discovery & port scanning
27+
28+
---
29+
30+
## 🏗️ Architecture
31+
32+
CyberGuardian-X/
33+
├── apis/ # Threat Intelligence API Clients
34+
├── core/ # Core Engine & Utilities
35+
├── gui/ # PyQt6 User Interface
36+
├── modules/ # Security Modules
37+
├── database/ # SQLite Data Storage
38+
└── assets/ # Icons & Resources
39+
40+
text
41+
42+
---
43+
44+
## 🔧 Installation
45+
46+
### Option 1: Download Executable (Recommended)
47+
1. Go to [Releases](https://github.com/APMarzuki/CyberGuardian-X/releases)
48+
2. Download `CyberGuardian-X.exe`
49+
3. Run directly - no installation required
50+
51+
### Option 2: Build from Source
52+
```bash
53+
# Clone repository
54+
git clone https://github.com/APMarzuki/CyberGuardian-X.git
55+
cd CyberGuardian-X
56+
57+
# Create virtual environment
58+
python -m venv .venv
59+
.venv\Scripts\activate # Windows
60+
# source .venv/bin/activate # Linux/Mac
61+
62+
# Install dependencies
63+
pip install -r requirements.txt
64+
65+
# Run application
66+
python app.py
67+
⚙️ Configuration
68+
Copy configuration template:
69+
70+
bash
71+
cp keys.example.ini config.ini
72+
Add your API keys to config.ini:
73+
74+
ini
75+
[API_KEYS]
76+
VIRUSTOTAL_API_KEY = your_virustotal_key_here
77+
OTX_API_KEY = your_otx_key_here
78+
ABUSEIPDB_API_KEY = your_abuseipdb_key_here
79+
SHODAN_API_KEY = your_shodan_key_here
80+
URLSCAN_API_KEY = your_urlscan_key_here
81+
HYBRIDANALYSIS_API_KEY = your_hybrid_analysis_key_here
82+
METADEFENDER_API_KEY = your_metadefender_key_here
83+
Get FREE API Keys:
84+
85+
VirusTotal - 500 requests/day
86+
87+
AbuseIPDB - 1,000 requests/day
88+
89+
OTX AlienVault - Unlimited
90+
91+
Shodan - Limited results
92+
93+
URLScan - Free tier available
94+
95+
Hybrid Analysis - Free account
96+
97+
MetaDefender - Free tier
98+
99+
🎯 Usage
100+
GUI Application
101+
bash
102+
# Launch the application
103+
python app.py
104+
# or
105+
CyberGuardian-X.exe
106+
Command Line Interface
107+
bash
108+
# Scan a domain
109+
python -m cli.cli scan-domain example.com
110+
111+
# Scan an IP address
112+
python -m cli.cli scan-ip 8.8.8.8
113+
114+
# Scan a file
115+
python -m cli.cli scan-file suspicious_file.exe
116+
Real-Time Monitoring
117+
Enable in Settings → Real-Time Monitoring
118+
119+
Monitors Downloads and Desktop by default
120+
121+
Automatically scans new files
122+
123+
Quarantines high-threat files
124+
125+
🔍 Supported Threat Intelligence APIs
126+
Service Type Free Tier
127+
VirusTotal File/Domain/IP Reputation 500 req/day
128+
OTX AlienVault Threat Intelligence Unlimited
129+
AbuseIPDB IP Reputation 1,000 req/day
130+
Shodan Internet Intelligence Limited
131+
URLScan Website Analysis Free tier
132+
Hybrid Analysis Malware Analysis Free account
133+
MetaDefender Multi-Antivirus Free tier
134+
🛡️ Security Features
135+
API Key Protection: Never committed to repository
136+
137+
Local Cache: Reduces API calls and improves performance
138+
139+
Rate Limiting: Respects API limits automatically
140+
141+
Quarantine System: Isolates malicious files securely
142+
143+
Encrypted Config: Optional configuration encryption
144+
145+
📊 Screenshots
146+
Threat Intelligence Dashboard
147+
Real-Time Monitoring Settings
148+
Scan Results with Threat Scoring
149+
150+
🏗️ Development
151+
Project Structure
152+
text
153+
CyberGuardian-X/
154+
├── apis/ # API clients (VT, OTX, AbuseIPDB, etc.)
155+
├── core/ # Core functionality
156+
│ ├── config_manager.py
157+
│ ├── threat_score.py
158+
│ ├── watchdog_monitor.py
159+
│ └── logger.py
160+
├── modules/ # Security modules
161+
│ ├── threat_intel/ # Threat intelligence
162+
│ ├── forensic_lite/ # Forensics tools
163+
│ ├── net_scanner/ # Network scanning
164+
│ └── system_audit/ # System analysis
165+
├── gui/ # PyQt6 interface
166+
├── database/ # SQLite storage
167+
└── assets/ # Resources
168+
Building from Source
169+
bash
170+
# Install dependencies
171+
pip install -r requirements.txt
172+
173+
# Build executable
174+
pyinstaller --name CyberGuardian-X --windowed --onefile --icon=assets/logo.ico app.py
175+
🤝 Contributing
176+
Fork the repository
177+
178+
Create a feature branch (git checkout -b feature/amazing-feature)
179+
180+
Commit your changes (git commit -m 'Add amazing feature')
181+
182+
Push to the branch (git push origin feature/amazing-feature)
183+
184+
Open a Pull Request
185+
186+
📝 License
187+
This project is licensed under the MIT License - see the LICENSE file for details.
188+
189+
⚠️ Disclaimer
190+
This tool is for educational and legitimate security purposes only. Users are responsible for complying with all applicable laws and API terms of service. The developers are not responsible for any misuse or damage caused by this program.
191+
192+
🏆 Achievements
193+
✅ 7 Integrated Threat Intelligence APIs
194+
195+
✅ Real-Time File Monitoring
196+
197+
✅ Professional GUI Interface
198+
199+
✅ Standalone Executable
200+
201+
✅ Multi-Source Threat Scoring
202+
203+
✅ Automated Quarantine System
204+
205+
📞 Support
206+
Issues: GitHub Issues
207+
208+
Discussions: GitHub Discussions
209+
210+
CyberGuardian-X - Your unified shield against cyber threats! 🛡️
211+
212+
text
213+
214+
### **3. Create requirements.txt** (if not exists)
215+
```txt
216+
PyQt6>=6.3
217+
requests>=2.28
218+
dnspython>=2.3
219+
python-whois>=0.9
220+
cryptography>=41.0
221+
psutil>=5.9
222+
rich>=12.6
223+
tldextract>=3.4
224+
pyinstaller>=5.10
225+
python-magic-bin; sys_platform == "win32"
226+
pillow>=10.0
227+
watchdog>=3.0.0

release_v1.0.0/requirements.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
PyQt6>=6.3
2+
requests>=2.28
3+
dnspython>=2.3
4+
python-whois>=0.9
5+
cryptography>=41.0
6+
psutil>=5.9
7+
rich>=12.6
8+
tldextract>=3.4
9+
pyinstaller>=5.10
10+
python-magic-bin; sys_platform == "win32"
11+
pillow>=10.0
12+
watchdog>=3.0.0 # ← ADD THIS LINE

0 commit comments

Comments
 (0)