add sentrypeer, wordpot tweaking, fix udp src_ip issues

This commit is contained in:
t3chn0m4g3
2022-02-22 17:57:55 +00:00
parent af2174ee9f
commit 8d16d7587d
7 changed files with 98 additions and 4 deletions

View File

@ -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"]

View File

@ -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