-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathDockerfile.sandbox
More file actions
61 lines (56 loc) · 1.28 KB
/
Copy pathDockerfile.sandbox
File metadata and controls
61 lines (56 loc) · 1.28 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
# LazyOwn Sandbox Dockerfile
# Usage: docker build -f Dockerfile.sandbox -t lazyown-sandbox .
# docker run -it --rm -v "$(pwd):/app" -w /app lazyown-sandbox [args...]
FROM debian:stable-slim
ENV DEBIAN_FRONTEND=noninteractive
# System dependencies required by LazyOwn
RUN apt-get update && apt-get install -y --no-install-recommends \
python3 \
python3-pip \
python3-venv \
nmap \
masscan \
hydra \
nikto \
john \
hashcat \
gobuster \
dirb \
sqlmap \
enum4linux \
smbclient \
smbmap \
crackmapexec \
nbtscan \
onesixtyone \
snmpwalk \
whois \
wget \
tmux \
jq \
golang-go \
git \
curl \
ca-certificates \
gcc \
mingw-w64 \
upx-ucl \
libcurl4-openssl-dev \
libssl-dev \
libffi-dev \
netcat-traditional \
dnsutils \
iputils-ping \
iproute2 \
net-tools \
tcpdump \
openssl \
ssh \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy dependency manifests first for layer caching
COPY requirements.txt install.sh ./
RUN bash install.sh 2>/dev/null || \
(pip3 install --break-system-packages -r requirements.txt 2>/dev/null || true)
# Default entrypoint delegates to lazyown.py
ENTRYPOINT ["python3", "-W", "ignore", "lazyown.py"]