- Docker and Docker Compose
- 4GB+ RAM (8GB recommended)
- 20GB+ disk space
- Domain with SSL certificate
- Pull the repository
git clone https://github.com/doomedramen/crackhouse.git
cd crackhouse- Configure environment
cp .env.example .env
nano .env # Edit with your values- Start services
docker compose up -d- Run migrations
docker exec -it crackhouse-api pnpm db:pushAccess at your configured domain.
# Database
DATABASE_URL=postgresql://user:password@db:5432/crackhouse
# Redis
REDIS_URL=redis://redis:6379
# Security (generate strong random values)
AUTH_SECRET=your-32-char-secret-here
JWT_SECRET=your-32-char-secret-here
# Application
API_URL=https://api.yourdomain.com
FRONTEND_URL=https://yourdomain.com# File limits
MAX_PCAP_SIZE=524288000 # 500MB
MAX_DICTIONARY_SIZE=10737418240 # 10GB
# Hashcat
HASHCAT_MAX_CONCURRENT_JOBS=2
# Logging
LOG_LEVEL=infoThe included docker compose.yml uses pre-built images from ghcr.io:
services:
db:
image: postgres:16-alpine
redis:
image: redis:7-alpine
api:
image: ghcr.io/doomedramen/crackhouse/api:latest
web:
image: ghcr.io/doomedramen/crackhouse/web:latestExample nginx configuration:
server {
listen 443 ssl http2;
server_name yourdomain.com;
ssl_certificate /etc/nginx/ssl/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
client_max_body_size 500M;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location /api {
proxy_pass http://localhost:3001;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}# Install certbot
sudo apt-get install certbot
# Get certificate
sudo certbot certonly --standalone -d yourdomain.com
# Auto-renewal
sudo crontab -e
# Add: 0 3 * * * certbot renew --quiet && systemctl reload nginxdocker exec crackhouse-db pg_dump -U postgres crackhouse | gzip > backup.sql.gzgunzip -c backup.sql.gz | docker exec -i crackhouse-db psql -U postgres crackhousecurl https://yourdomain.com/api/healthdocker compose logs -f api
docker compose logs -f webdocker stats crackhouse-api crackhouse-web# Pull latest images
docker compose pull
# Recreate containers
docker compose up -d
# Run migrations if needed
docker exec -it crackhouse-api pnpm db:push- Use strong secrets for AUTH_SECRET and JWT_SECRET
- Enable HTTPS with valid SSL certificate
- Set up firewall (allow only 22, 80, 443)
- Regular backups
- Keep dependencies updated
- Monitor logs for suspicious activity
This tool is for authorized security testing only. Unauthorized access to networks is illegal. Ensure you have proper authorization before use.