HackGPT Enterprise is a cloud-native penetration testing platform designed for security teams that require rapid deployment without sacrificing depth. The platform integrates modern AI, machine learning, microservice architectures, and rigorous security frameworks to provide professional-grade network assessments.
# Clone the repository
git clone https://github.com/yashab-cyber/HackGPT.git
cd HackGPT
# Execute the enterprise installer to initialize all services
chmod +x install.sh
./install.sh
# Configure the environment variables
cp .env.example .env
# Edit .env to include your API keys and local settings
nano .env
# Verify the installation
python3 test_installation.py
1. Standalone Enterprise Mode
source venv/bin/activate
python3 hackgpt_v2.py
2. API Server Mode
python3 hackgpt_v2.py --api
# API Access: http://localhost:8000
# Health Check: http://localhost:8000/api/health
3. Web Dashboard Mode
python3 hackgpt_v2.py --web
# Dashboard Access: http://localhost:8080
4. Full Enterprise Stack (Recommended)
docker-compose up -d
# Service Endpoints:
# - API Server: http://localhost:8000
# - Web Dashboard: http://localhost:8080
# - Monitoring (Prometheus): http://localhost:9090
# - Analytics (Grafana): http://localhost:3000
# - Logging (Kibana): http://localhost:5601
5. Direct Assessment Mode
python3 hackgpt_v2.py \
--target example.com \
--scope "Web App and API" \
--auth-key "ENTERPRISE-2025-AUTH" \
--assessment-type black-box \
--compliance OWASP
config.ini)The configuration file includes over 200 granular options. Below is a sample:
[app]
debug = false
environment = production
max_sessions = 100
[database]
url = postgresql://hackgpt:hackgpt123@localhost:5432/hackgpt
pool_size = 20
backup_enabled = true
[ai]
openai_api_key = your_key_here
openai_model = gpt-4
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)Tunable variables for enterprise-specific optimization:
DATABASE_URL=postgresql://hackgpt:hackgpt123@localhost:5432/hackgpt
REDIS_URL=redis://localhost:6379/0
OPENAI_API_KEY=your_openai_api_key
SECRET_KEY=your_secret_key
JWT_SECRET_KEY=your_jwt_secret
LDAP_SERVER=ldaps://your-ldap.com:636
AWS_ACCESS_KEY_ID=your_aws_key
AZURE_SUBSCRIPTION_ID=your_azure_id
GCP_PROJECT_ID=your_gcp_project
PROMETHEUS_ENDPOINT=http://localhost:9090
GRAFANA_API_KEY=your_grafana_key
ELASTICSEARCH_ENDPOINT=http://localhost:9200
HackGPT employs a rigorous six-phase assessment lifecycle.
python3 hackgpt_v2.py
# CLI Menu:
# 1. Full enterprise pentest (6-phase)
# 2. Execute specific phase
# 3. Custom assessment workflow
# 4. View reports and analytics
# 5. Live dashboard access
# 6. User and permission management
# 7. System configuration
# 8. Compliance management
# 9. Cloud and container management
# 10. AI engine tuning
python3 hackgpt_v2.py --api
# Key Endpoints:
# GET /api/health
# POST /api/pentest/start
# GET /api/sessions
# GET /api/reports/{id}
# POST /api/users
# GET /api/compliance
python3 hackgpt_v2.py --web
# Provides real-time monitoring, vulnerability lifecycle management, executive dashboards, and framework-specific reporting.
python3 hackgpt_v2.py --voice
# Example prompts: "Start enterprise assessment on example.com," "Generate executive report," or "Scale worker pool."
| Framework | Coverage | Reporting | Automation |
|---|---|---|---|
| OWASP Top 10 | Full | Yes | Automated |
| NIST CSF | Full | Yes | Automated |
| ISO 27001 | Partial | Yes | Semi-automated |
| SOC 2 | Partial | Yes | Semi-automated |
| PCI DSS | Partial | Yes | Manual |
# Accessing Grafana
http://localhost:3000
# Default Login: admin / hackgpt123
# Features: Pre-configured dashboards for vulnerability trends, system performance, and compliance status.
config['ai']['custom_model_endpoint'] = 'http://your-llm:8000'
config['ai']['model_type'] = 'custom'
from security.compliance import ComplianceFrameworkMapper
mapper = ComplianceFrameworkMapper()
mapper.add_framework('CUSTOM_INTERNAL', {
'sql_injection': 'INTERNAL-SEC-01',
'xss': 'INTERNAL-SEC-02',
})
kubectl apply -f k8s/
# Automated deployment to AWS
python3 hackgpt_v2.py --deploy aws
# Deployment to Azure
python3 hackgpt_v2.py --deploy azure
# Deployment to GCP
python3 hackgpt_v2.py --deploy gcp
docker swarm init
docker stack deploy -c docker-compose.yml hackgpt
kubectl create namespace hackgpt
kubectl apply -f k8s/
kubectl scale deployment hackgpt-worker --replicas=10
AWS (ECS):
aws ecs create-cluster --cluster-name hackgpt
aws ecs create-service --service-name hackgpt-api
Azure (ACI):
az container create --resource-group hackgpt --name hackgpt-api
GCP (GKE):
gcloud container clusters create hackgpt-cluster
kubectl apply -f k8s/
systemctl status postgresql
docker logs hackgpt-database
python3 -c "from database import get_db_manager; print(get_db_manager().test_connection())"
redis-cli ping
docker logs hackgpt-redis
redis-cli FLUSHALL
python3 -c "import openai; print(openai.Model.list())"
ollama list
ollama run llama2:7b
celery -A performance.parallel_processor inspect active
docker-compose restart hackgpt-worker
python3 -c "from database import optimize_database; optimize_database()"
python3 -c "from performance.cache_manager import warm_cache; warm_cache()"
docker-compose up --scale hackgpt-worker=10
Fuck-U-Code: A Brutally Honest Code Quality Analyzer
Checkmate: Open-Source Server Monitoring with Uptime Alerts
CodeIndexer: Semantic Code Search for IDEs (AI-Powered)
Transformers Library: Installation, Pipeline API, and Model Examples
Kodi Setup Guide: Building a Powerful Media Center on Any Device
Dots.LLM1: 142B MoE Model Trained on 11.2T Real-World Tokens
Bolo Blog: A Free Java Blog Engine with Markdown and Dark Mode
Microsoft’s NLWeb: Converting Any Website into a Conversational Interface
Ditto Clipboard Manager: Never Lose Your Copied Text Again
ChatTTS: A Text-to-Speech Model Optimized for Dialogue
Shendeng VPN: Game & App Accelerator – Now 22% Off
How to Add Missing Games to Shendeng VPN’s Library