mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-19 21:52:27 +00:00

updating .env, env.example and compose files regarding sentrypeer ENVs make glutton image aware of payloads feature bump glutton to latest master, alpine 3.19, multi-stage build bump ipphoney to alpine 3.19 bump mailoney to alpine 3.19, adjust for py3 revert medpot to previous master, use multi stage build and alpine 3.19 bump cyberchef to latest master bump ngninx to alpine 3.19 bump p0f to alpine 3.19, use multi stage build bump redishoneypot to alpine 3.19, use multi stage build bump sentrypeer to latest master, fix bug for open ports in compose files, now all tcp/5060, udp/5060 traffic will be seen bump spiderfoot to latest master bump spiderfoot to alpine 3.19 bump suricata to 7.0.2, fix performance issue with capture-filter-bpf by reducing the rules update clean.sh to include glutton payloads folder
39 lines
1.1 KiB
Docker
39 lines
1.1 KiB
Docker
FROM alpine:3.19
|
|
#
|
|
# Include dist
|
|
COPY dist/ /root/dist/
|
|
#
|
|
# Get and install dependencies & packages
|
|
RUN apk -U --no-cache add \
|
|
nginx \
|
|
nginx-mod-http-brotli \
|
|
nginx-mod-http-headers-more \
|
|
nginx-mod-http-lua && \
|
|
#
|
|
## Setup T-Pot Landing Page, Eleasticvue, Cyberchef
|
|
cp -R /root/dist/html/* /var/lib/nginx/html/ && \
|
|
cd /var/lib/nginx/html/esvue && \
|
|
tar xvfz esvue.tgz && \
|
|
rm esvue.tgz && \
|
|
cd /var/lib/nginx/html/cyberchef && \
|
|
tar xvfz cyberchef.tgz && \
|
|
rm cyberchef.tgz && \
|
|
#
|
|
## Change ownership, permissions
|
|
chown root:www-data -R /var/lib/nginx/html && \
|
|
chmod 755 -R /var/lib/nginx/html && \
|
|
#
|
|
## Add Nginx / T-Pot specific configs
|
|
rm -rf /etc/nginx/conf.d/* /usr/share/nginx/html/* && \
|
|
mkdir -p /etc/nginx/conf.d && \
|
|
cp /root/dist/conf/nginx.conf /etc/nginx/ && \
|
|
cp -R /root/dist/conf/ssl /etc/nginx/ && \
|
|
cp /root/dist/conf/tpotweb.conf /etc/nginx/conf.d/ && \
|
|
cp /root/dist/conf/lsweb.conf /etc/nginx/conf.d/ && \
|
|
#
|
|
# Clean up
|
|
rm -rf /root/* && \
|
|
rm -rf /var/cache/apk/*
|
|
#
|
|
# Start nginx
|
|
CMD nginx -g 'daemon off;'
|