-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
26 lines (21 loc) · 819 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
FROM ubuntu:24.04
# Installing SNORT dependencies
RUN apt update
RUN apt install snort -y
# Installing LAB dependencies
RUN apt install net-tools inetutils-ping nano tcpdump vsftpd ssh curl vim psmisc git psmisc nmap netcat-openbsd tmux sshpass scapy apache2 -y
# Copying hackathon evaluation script
#ADD ./hackathon-tools /root
#RUN chmod +x ./hackathon-tools/attack/* ./hackathon-tools/evaluation/*
# Testing installation
RUN snort -V
# Services start
WORKDIR /root
ENTRYPOINT \
service ssh start && \
service vsftpd start && \
service apache2 start && \
git clone https://github.com/evilsh3ll/Snort_Hackathon && \
chmod +x ./Snort_Hackathon/hackathon-tools/attack/* && \
chmod +x ./Snort_Hackathon/hackathon-tools/evaluation/* && \
/bin/bash