proti0070 commited on
Commit
ac4e5c6
·
verified ·
1 Parent(s): 59aa66a

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +55 -0
Dockerfile ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM kalilinux/kali-rolling
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive
4
+ ENV HOSTNAME=xro
5
+
6
+ # ---- Base packages ----
7
+ RUN apt-get update && apt-get install -y --no-install-recommends \
8
+ ca-certificates \
9
+ curl \
10
+ wget \
11
+ git \
12
+ sudo \
13
+ htop \
14
+ btop \
15
+ neovim \
16
+ nano \
17
+ tmux \
18
+ screen \
19
+ lsof \
20
+ python3 \
21
+ python3-pip \
22
+ python3-venv \
23
+ nmap \
24
+ netcat-traditional \
25
+ whois \
26
+ dnsutils \
27
+ net-tools \
28
+ iputils-ping \
29
+ sqlmap \
30
+ nikto \
31
+ dirb \
32
+ gobuster \
33
+ && rm -rf /var/lib/apt/lists/*
34
+
35
+ # ---- Python packages for ClawBot ----
36
+ RUN pip3 install --break-system-packages \
37
+ pyTelegramBotAPI \
38
+ python-telegram-bot \
39
+ requests \
40
+ aiohttp \
41
+ httpx \
42
+ rich
43
+
44
+ # ---- Install ttyd (browser terminal) ----
45
+ RUN curl -fsSL https://github.com/tsl0922/ttyd/releases/download/1.7.4/ttyd.x86_64 \
46
+ -o /usr/local/bin/ttyd && chmod +x /usr/local/bin/ttyd
47
+
48
+ WORKDIR /workspace
49
+
50
+ COPY start.sh /start.sh
51
+ RUN chmod +x /start.sh
52
+
53
+ EXPOSE 7860
54
+
55
+ CMD ["/start.sh"]