-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
81 lines (68 loc) · 2.04 KB
/
Dockerfile
File metadata and controls
81 lines (68 loc) · 2.04 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣆⡀⠀⠀⠀⠀
#⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣦⠀⠀⠀⠀⠀
#⠀⠀⠀⠀⠀⠀⠀⠀⢀⡀⣀⣀⠘⣿⣿⣇⠀⠀⠀⠀
#⠀⠀⠀⠀⠀⠀⠈⠹⠿⡿⣿⣿⣷⣾⣿⣿⣿⣦⠀⠀
#⠀⠀⠀⠀⠀⢀⣄⣤⣠⣠⣀⣁⣿⣿⣿⣿⣿⣿⣷⠀
#⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠁⠀
#⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀
#⠀⠠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⠀⠀⠀
#⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁⠀⠀⠀⠀
#⠀⢴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣋⣹⣿⣏⠀⠀⠀⠀⠀
#⠀⠈⠛⠛⠋⠙⠛⠛⠛⠛⠛⠛⠛⠙⠛⠃
# WhiteRabbitMCP v1.0⠀
# @atiilla
# Start from official Kali Linux image
FROM kalilinux/kali-rolling
# Set working directory
WORKDIR /app
# Environment variable to suppress interaction during apt installs
ENV DEBIAN_FRONTEND=noninteractive
# Update and install dependencies
RUN apt update && apt install -y \
gnupg \
curl \
wget \
unzip \
git \
iproute2 \
iputils-arping \
iputils-ping \
net-tools \
zmap \
nmap \
amass \
sublist3r \
wpscan \
dnsrecon \
sqlmap \
ca-certificates \
tesseract-ocr \
build-essential \
ruby-full \
python3 \
python3-pip \
python3-venv \
python3-setuptools \
python3-pil \
&& apt clean && rm -rf /var/lib/apt/lists/*
# Set up tools directory
RUN mkdir -p /tools
ENV PATH="/tools:${PATH}"
# Set up virtual environment for Python packages
RUN python3 -m venv /venv
ENV PATH="/venv/bin:$PATH"
# Install setuptools in the virtual environment
RUN pip install --upgrade pip setuptools wheel
# Clone and install Holehe
RUN git clone https://github.com/megadose/holehe.git && \
cd holehe && \
python3 setup.py install
# Sherlock Project
RUN pip install sherlock-project
# Copy and install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . /app
# Set the default command
CMD ["python", "server.py"]