mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
update mailoney for py <= 3.11
- working commands and mail log - hostname obfuscation - update server string
This commit is contained in:
@ -1,16 +1,17 @@
|
||||
# For Mailoney to work we need to keep Alpine 3.19 for now
|
||||
FROM alpine:3.19
|
||||
#
|
||||
# Install packages
|
||||
RUN apk --no-cache -U add \
|
||||
RUN apk --no-cache -U upgrade && \
|
||||
apk --no-cache -U 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 && \
|
||||
git checkout 06e54bd410e0044d26d8462321f1b2811318db0b && \
|
||||
#
|
||||
# Setup user, groups and configs
|
||||
addgroup -g 2000 mailoney && \
|
||||
@ -26,4 +27,4 @@ RUN apk --no-cache -U add \
|
||||
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"]
|
||||
CMD ["/usr/bin/python","mailoney.py","-i","0.0.0.0","-p","25","-t","schizo_open_relay"]
|
Reference in New Issue
Block a user