mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-08 16:18:52 +00:00
update log4pot to the latest master
This commit is contained in:
parent
68d6aa4180
commit
a07918d149
1 changed files with 4 additions and 4 deletions
|
@ -29,9 +29,9 @@ RUN apt-get update && \
|
||||||
cd /opt/ && \
|
cd /opt/ && \
|
||||||
git clone https://github.com/thomaspatzke/Log4Pot && \
|
git clone https://github.com/thomaspatzke/Log4Pot && \
|
||||||
cd Log4Pot && \
|
cd Log4Pot && \
|
||||||
# git checkout 4269bf4a91457328fb64c3e7941cb2f520e5e911 && \
|
git checkout b163858649801974e9b86cea397f5eb137c7c01b && \
|
||||||
git checkout 4e9bac32605e4d2dd4bbc6df56365988b4815c4a && \
|
# git checkout 4e9bac32605e4d2dd4bbc6df56365988b4815c4a && \
|
||||||
sed -i 's#"type": logtype,#"reason": logtype,#g' log4pot.py && \
|
sed -i 's#"type": logtype,#"reason": logtype,#g' log4pot-server.py && \
|
||||||
poetry install && \
|
poetry install && \
|
||||||
setcap cap_net_bind_service=+ep /usr/bin/python3.8 && \
|
setcap cap_net_bind_service=+ep /usr/bin/python3.8 && \
|
||||||
#
|
#
|
||||||
|
@ -55,4 +55,4 @@ RUN apt-get update && \
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
USER log4pot:log4pot
|
USER log4pot:log4pot
|
||||||
WORKDIR /opt/Log4Pot/
|
WORKDIR /opt/Log4Pot/
|
||||||
CMD ["/usr/bin/python3","log4pot.py","--port","8080","--log","/var/log/log4pot/log/log4pot.log","--download-dir","/var/log/log4pot/payloads/","--download-class","--download-payloads"]
|
CMD ["/usr/bin/python3","log4pot-server.py","--port","8080","--log","/var/log/log4pot/log/log4pot.log","--payloader","--download-dir","/var/log/log4pot/payloads/","--download-timeout","15","--response","/opt/Log4Pot/responses/sap-netweaver.html"]
|
||||||
|
|
Loading…
Reference in a new issue