forked from Iankulani/red-bunny
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.txt
More file actions
104 lines (92 loc) · 2.06 KB
/
Copy pathDockerfile.txt
File metadata and controls
104 lines (92 loc) · 2.06 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# ============================================
# 🐇 RED_BUNNY v2.0.0 - Dockerfile
# Based on Ubuntu 22.04 LTS
# Author: Ian Carter Kulani, MSc
# ============================================
FROM ubuntu:22.04
LABEL maintainer="Ian Carter Kulani <iancarterkulani@protonmail.com>"
LABEL version="2.0.0"
LABEL description="🐇 RedBunny - Ultimate Multi-Platform Phishing & Command Center"
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
ENV WORKDIR=/app
# Create working directory
WORKDIR $WORKDIR
# Install system dependencies
RUN apt-get update && apt-get install -y \
# Core tools
python3 \
python3-pip \
python3-dev \
python3-venv \
git \
curl \
wget \
vim \
nano \
build-essential \
gcc \
make \
# Network tools
nmap \
nikto \
traceroute \
dnsutils \
net-tools \
iptables \
iproute2 \
whois \
sshpass \
# Development libraries
libpcap-dev \
libssl-dev \
libffi-dev \
libxml2-dev \
libxslt1-dev \
# Browser for WhatsApp
chromium-browser \
chromium-chromedriver \
# Optional
sudo \
htop \
tmux \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install Python packages
COPY requirements.txt .
RUN pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Create directories
RUN mkdir -p .red_bunny \
reports \
payloads \
workspaces \
scans \
nikto_results \
whatsapp_session \
phishing_pages \
traffic_logs \
phishing_templates \
captured_credentials \
ssh_keys \
ssh_logs \
time_history \
wordlists \
custom_phishing \
signal_session \
web_ui \
webhooks
# Set permissions
RUN chmod +x red_bunny.py
# Expose ports
EXPOSE 8080 8080
EXPOSE 22 22
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD curl -f http://localhost:8080/ || exit 1
# Run RedBunny
CMD ["python3", "red_bunny.py"]