mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
add sentrypeer, wordpot tweaking, fix udp src_ip issues
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
FROM alpine:3.15
|
||||
#
|
||||
# Include dist
|
||||
ADD dist/ /root/dist/
|
||||
# Install packages
|
||||
RUN apk -U add \
|
||||
build-base \
|
||||
@ -16,6 +18,7 @@ RUN apk -U add \
|
||||
cd wordpot2 && \
|
||||
git checkout e93a2e00d84d280b0acd58ba6889b4bee8a6e4d2 && \
|
||||
sed "s/MarkupSafe==1.0/MarkupSafe==1.1.1/g" -i requirements.txt && \
|
||||
cp /root/dist/views.py /opt/wordpot2/wordpot/views.py && \
|
||||
pip3 install -r requirements.txt && \
|
||||
setcap cap_net_bind_service=+ep /usr/bin/python3.9 && \
|
||||
#
|
||||
@ -35,4 +38,4 @@ RUN apk -U add \
|
||||
STOPSIGNAL SIGINT
|
||||
USER wordpot:wordpot
|
||||
WORKDIR /opt/wordpot2
|
||||
CMD ["/usr/bin/python3","wordpot2.py", "--host", "0.0.0.0", "--port", "80", "--title", "Crypto Plaza"]
|
||||
CMD ["/usr/bin/python3","wordpot2.py", "--host", "0.0.0.0", "--port", "80", "--title", "Wordpress"]
|
||||
|
@ -17,4 +17,4 @@ services:
|
||||
image: "dtagdevsec/wordpot:2203"
|
||||
# read_only: true
|
||||
# volumes:
|
||||
# - /data/ddospot/db:/opt/ddospot/ddospot/db
|
||||
# - /data/wordpot/log:/opt/ddospot/ddospot/db
|
||||
|
Reference in New Issue
Block a user