Deploying HunterX in Production with Docker

HunterX provides an optimized 271MB multi-stage Docker image running as a non-root user.

Quick Start

docker run --rm nullc0d30/hunterx:latest scan http://example.com --profile bounty

Production Deployment

Volume Mounting

docker run --rm \
  -v $(pwd)/hunterx.yaml:/app/hunterx.yaml:ro \
  -v $(pwd)/reports:/data \
  nullc0d30/hunterx:latest \
  scan http://example.com -o /data

Resource Limits

docker run --rm \
  --memory="512m" \
  --cpus="2" \
  nullc0d30/hunterx:latest scan http://example.com

API Server

docker run --rm \
  -p 8443:8443 \
  -v $(pwd)/reports:/data \
  nullc0d30/hunterx:latest api --port 8443

CI/CD Integration

GitHub Actions

jobs:
  scan:
    runs-on: ubuntu-latest
    container:
      image: nullc0d30/hunterx:latest
    steps:
      - run: hunterx scan ${{ secrets.TARGET_URL }} \
          -o /data/report.sarif

GitLab CI

scan:
  image: nullc0d30/hunterx:latest
  script:
    - hunterx scan $TARGET_URL -o report.sarif
  artifacts:
    paths: [report.sarif]

Security

Image Tags