Loading repository data…
Loading repository data…
yashab-cyber / repository
HackGPT Enterprise is a production-ready, cloud-native AI-powered penetration testing platform designed for enterprise security teams. It combines advanced AI, machine learning, microservices architecture, and comprehensive security frameworks to deliver professional-grade cybersecurity assessments.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
HackGPT Enterprise is a production-ready, cloud-native AI-powered penetration testing platform designed for enterprise security teams. It combines advanced AI, machine learning, microservices architecture, and comprehensive security frameworks to deliver professional-grade cybersecurity assessments.
Created by Yashab Alam
💰 Support the Project: Donate to HackGPT Development | Help us build the future of AI-powered penetration testing!
# Clone the repository
git clone https://github.com/yashab-cyber/HackGPT.git
cd HackGPT
# Run enterprise installer (sets up all services)
chmod +x install.sh
./install.sh
# Configure environment
cp .env.example .env
# Edit .env with your API keys and settings
nano .env
# Verify installation
python3 test_installation.py
# Activate virtual environment
source venv/bin/activate
# Run enterprise application
python3 advance_hackgpt.py
# Start REST API server
python3 advance_hackgpt.py --api
# API available at: http://localhost:8000
# Health check: http://localhost:8000/api/health
# Start web dashboard
python3 advance_hackgpt.py --web
# Dashboard available at: http://localhost:8080
# Deploy complete microservices stack
docker-compose up -d
# Services:
# - API Server: http://localhost:8000
# - Web Dashboard: http://localhost:8080
# - Monitoring: http://localhost:9090 (Prometheus)
# - Analytics: http://localhost:3000 (Grafana)
# - Logs: http://localhost:5601 (Kibana)
# Run immediate assessment
python3 advance_hackgpt.py \
--target example.com \
--scope "Web application and API" \
--auth-key "ENTERPRISE-2025-AUTH" \
--assessment-type black-box \
--compliance OWASP
graph TD
A[Load Balancer/Nginx] --> B[HackGPT API Gateway]
B --> C[Authentication Service]
B --> D[AI Engine Service]
B --> E[Exploitation Service]
B --> F[Reporting Service]
B --> SOC[SOC Analysis Service]
C --> G[LDAP/AD]
D --> H[OpenAI API]
D --> H2[Anthropic API]
D --> H3[Google Gemini API]
D --> H4[DeepSeek API]
D --> H5[GLM / Zhipu API]
D --> H6[OpenRouter API]
D --> I[Local LLM / Ollama]
D --> J[ML Models]
E --> K[Parallel Processor]
F --> L[Report Generator]
SOC --> S1[Splunk HEC/Search API]
SOC --> S2[IBM QRadar Ariel API]
SOC --> S3[Elasticsearch Query DSL]
SOC --> S4[Webhook Alerts]
K --> M[Celery Workers]
M --> N[Redis Queue]
B --> O[PostgreSQL]
B --> P[Redis Cache]
Q[Prometheus] --> R[Grafana]
S[Elasticsearch] --> T[Kibana]
| Service | Purpose | Port | Technology |
|---|---|---|---|
| hackgpt-app | Main application | 8000, 8080 | Python/Flask |
| hackgpt-soc | SOC & SIEM Correlation Engine | - | Python / Log Normalizer |
| hackgpt-worker | Background tasks | - | Celery |
| hackgpt-database | Data persistence | 5432 | PostgreSQL 15 |
| hackgpt-redis | Cache & queues | 6379 | Redis 7 |
| prometheus | Metrics collection | 9090 | Prometheus |
| grafana | Monitoring dashboard | 3000 | Grafana |
| elasticsearch | Log aggregation | 9200 | Elasticsearch |
| kibana | Log visualization | 5601 | Kibana |
| consul | Service discovery | 8500 | Consul |
| nginx | Load balancer | 80, 443 | Nginx |
config.ini)The configuration file supports 200+ options across multiple categories:
[app]
debug = false
environment = production
max_sessions = 100
[database]
url = postgresql://hackgpt:hackgpt123@localhost:5432/hackgpt
pool_size = 20
backup_enabled = true
[ai]
default_model = gpt-5
default_provider =
openai_api_key = your_key_here
anthropic_api_key = your_key_here
google_api_key = your_key_here
enable_local_fallback = true
confidence_threshold = 0.8
[security]
secret_key = your_secret_here
jwt_algorithm = HS256
rate_limit_enabled = true
[ldap]
server = ldaps://your-ldap-server.com:636
bind_dn = cn=admin,dc=example,dc=com
[compliance]
frameworks = OWASP,NIST,ISO27001,SOC2,PCI-DSS
auto_compliance_check = true
[cloud]
docker_host = unix:///var/run/docker.sock
service_registry_backend = consul
.env)Over 100 environment variables for enterprise deployment:
# Core Services
DATABASE_URL=postgresql://hackgpt:hackgpt123@localhost:5432/hackgpt
REDIS_URL=redis://localhost:6379/0
# AI Configuration — Multi-Provider
HACKGPT_MODEL=gpt-5 # Any model from ai_engine/model_registry.py
OPENAI_API_KEY=your_openai_api_key
ANTHROPIC_API_KEY=your_anthropic_api_key
GOOGLE_API_KEY=your_google_api_key
DEEPSEEK_API_KEY=your_deepseek_api_key
GLM_API_KEY=your_glm_api_key
OPENROUTER_API_KEY=your_openrouter_api_key
LOCAL_LLM_ENDPOINT=http://localhost:11434
# Security
SECRET_KEY=your_secret_key
JWT_SECRET_KEY=your_jwt_secret
LDAP_SERVER=ldaps://your-ldap.com:636
# Cloud Providers
AWS_ACCESS_KEY_ID=your_aws_key
AZURE_SUBSCRIPTION_ID=your_azure_id
GCP_PROJECT_ID=your_gcp_project
# Monitoring
PROMETHEUS_ENDPOINT=http://localhost:9090
GRAFANA_API_KEY=your_grafana_key
ELASTICSEARCH_ENDPOINT=http://localhost:9200
Enterprise Features:
Enterprise Features:
Enterprise Features:
Enterprise Features:
Enterprise Features:
Enterprise Features:
# Interactive enterprise mode
python3 advance_hackgpt.py
# Available options:
# 1. Full Enterprise Pentest (All 6 Phases)
# 2. Run Specific Phase
# 3. Custom Assessment Workflow
# 4. View Reports & Analytics
# 5. Real-time Dashboard
# 6. User & Permission Management
# 7. System Configuration
# 8. Compliance Management
# 9. Cloud