mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-03 13:48:54 +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
29 lines
871 B
Docker
29 lines
871 B
Docker
FROM alpine:3.19
|
|
#
|
|
# Install packages
|
|
RUN apk -U --no-cache add \
|
|
git \
|
|
libcap \
|
|
py3-pip \
|
|
python3 && \
|
|
#
|
|
# Install mailoney from git
|
|
git clone https://github.com/t3chn0m4g3/mailoney /opt/mailoney && \
|
|
cd /opt/mailoney && \
|
|
pip3 install --break-system-packages -r requirements.txt && \
|
|
#
|
|
# Setup user, groups and configs
|
|
addgroup -g 2000 mailoney && \
|
|
adduser -S -H -s /bin/ash -u 2000 -D -g 2000 mailoney && \
|
|
chown -R mailoney:mailoney /opt/mailoney && \
|
|
setcap cap_net_bind_service=+ep $(readlink -f $(type -P python3)) && \
|
|
#
|
|
# Clean up
|
|
apk del --purge git && \
|
|
rm -rf /root/* /var/cache/apk/* /opt/mailoney/.git
|
|
#
|
|
# Set workdir and start mailoney
|
|
STOPSIGNAL SIGINT
|
|
USER mailoney:mailoney
|
|
WORKDIR /opt/mailoney/
|
|
CMD ["/usr/bin/python","mailoney.py","-i","0.0.0.0","-p","25","-s","mailrelay.local","-t","schizo_open_relay"]
|