-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
39 lines (30 loc) · 866 Bytes
/
Dockerfile
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
FROM kalilinux/kali-rolling
RUN apt update -y
RUN apt install python3 -y
RUN apt install python3-pip -y
RUN apt install git -y
RUN apt install iputils-ping -y
RUN apt install curl -y
RUN apt install wget -y
RUN curl https://sh.rustup.rs --output rust.rs
RUN chmod +x rust.rs
RUN /rust.rs -y
RUN git clone https://github.com/RustScan/RustScan.git
WORKDIR /RustScan
RUN $HOME/.cargo/bin/cargo build --release
RUN mv target/release/rustscan /usr/bin
WORKDIR /
RUN apt install nmap -y
RUN apt install gobuster -y
RUN apt install exploitdb -y
RUN apt install sudo -y
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install dnsutils -y
RUN mkdir p1rat3
COPY . /p1rat3
WORKDIR /p1rat3
RUN pip3 install -r requirements.txt
ENV PYTHONUNBUFFERED=1
ENV api_key=V27thSllZy85ohAn9DYi83xlQjICTGS65f2ZKOhk
WORKDIR /
EXPOSE 6969
CMD ["python3", "-u", "/p1rat3/main.py"]