-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
62 lines (54 loc) · 2.79 KB
/
Dockerfile
File metadata and controls
62 lines (54 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# ═══════════════════════════════════════════════════════════════════════════════
# HackBot — Docker Image
# Full cybersecurity testing environment with AI assistant
# ═══════════════════════════════════════════════════════════════════════════════
FROM python:3.12-slim AS base
LABEL maintainer="HackBot Team"
LABEL description="HackBot AI Cybersecurity Assistant"
LABEL version="1.0.1"
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
ENV PATH="/root/.local/bin:/root/go/bin:${PATH}"
# ── System Dependencies ──────────────────────────────────────────────────────
RUN apt-get update && apt-get install -y --no-install-recommends \
# Networking tools
nmap \
netcat-openbsd \
dnsutils \
whois \
traceroute \
curl \
wget \
# SSL/TLS tools
openssl \
sslscan \
# Web testing
nikto \
dirb \
# Password tools
hydra \
john \
# Build tools
git \
build-essential \
golang \
# Misc
jq \
&& rm -rf /var/lib/apt/lists/*
# ── Go-based Security Tools ─────────────────────────────────────────────────
RUN go install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest 2>/dev/null || true \
&& go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest 2>/dev/null || true \
&& go install github.com/projectdiscovery/httpx/cmd/httpx@latest 2>/dev/null || true \
&& go install github.com/ffuf/ffuf/v2@latest 2>/dev/null || true \
&& go install github.com/tomnomnom/waybackurls@latest 2>/dev/null || true
# ── Python tools ─────────────────────────────────────────────────────────────
RUN pip install --no-cache-dir sqlmap wfuzz
# ── HackBot Installation ────────────────────────────────────────────────────
WORKDIR /app
COPY pyproject.toml .
COPY hackbot/ hackbot/
COPY README.md .
RUN pip install --no-cache-dir ".[all]"
# ── Entrypoint ───────────────────────────────────────────────────────────────
ENTRYPOINT ["hackbot"]
CMD []