Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
FROM kalilinux/kali-rolling:latest

RUN apt-get update && \
apt-get install -y git python3-pip figlet sudo && \
apt-get install -y boxes php curl xdotool wget
apt-get install -y git python3-pip python3-venv figlet sudo boxes php curl xdotool wget && \
apt-get clean && rm -rf /var/lib/apt/lists/*

WORKDIR /root/hackingtool

COPY requirements.txt ./
RUN pip3 install --no-cache-dir boxes flask lolcat requests -r requirements.txt

RUN python3 -m venv /opt/venv && \
/opt/venv/bin/pip install --upgrade pip && \
/opt/venv/bin/pip install --no-cache-dir boxes flask lolcat requests -r requirements.txt

ENV PATH="/opt/venv/bin:$PATH"

COPY . .
RUN true && echo "/root/hackingtool/" > /home/hackingtoolpath.txt;

RUN true && echo "/root/hackingtool/" > /home/hackingtoolpath.txt

EXPOSE 1-65535
ENTRYPOINT ["python3", "/root/hackingtool/hackingtool.py"]

ENTRYPOINT ["python3", "/root/hackingtool/hackingtool.py"]