mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
rebuild conpot for latest alpine edge, bump to latest master
This commit is contained in:
parent
c48ad0863d
commit
5f38e730d4
2 changed files with 10 additions and 5 deletions
|
@ -4,7 +4,6 @@ FROM alpine:edge
|
||||||
ADD dist/ /root/dist/
|
ADD dist/ /root/dist/
|
||||||
#
|
#
|
||||||
# Setup apt
|
# Setup apt
|
||||||
#RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
|
||||||
RUN apk -U add \
|
RUN apk -U add \
|
||||||
build-base \
|
build-base \
|
||||||
file \
|
file \
|
||||||
|
@ -17,18 +16,20 @@ RUN apk -U add \
|
||||||
libxslt-dev \
|
libxslt-dev \
|
||||||
mariadb-dev \
|
mariadb-dev \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
py3-pip \
|
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
py-cffi \
|
py3-cffi \
|
||||||
py-cryptography \
|
py3-cryptography \
|
||||||
|
py3-gevent \
|
||||||
|
py3-pip \
|
||||||
tcpdump \
|
tcpdump \
|
||||||
wget && \
|
wget && \
|
||||||
#
|
#
|
||||||
# Setup ConPot
|
# Setup ConPot
|
||||||
git clone https://github.com/mushorg/conpot /opt/conpot && \
|
git clone https://github.com/mushorg/conpot /opt/conpot && \
|
||||||
cd /opt/conpot/ && \
|
cd /opt/conpot/ && \
|
||||||
git checkout ff09e009d10d953aa7dcff2c06b7c890e6ffd4b7 && \
|
# git checkout ff09e009d10d953aa7dcff2c06b7c890e6ffd4b7 && \
|
||||||
|
git checkout 804fd65aa3b7ffa31c07fd4e863d4a5500414cf3 && \
|
||||||
# Change template default ports if <1024
|
# Change template default ports if <1024
|
||||||
sed -i 's/port="2121"/port="21"/' /opt/conpot/conpot/templates/default/ftp/ftp.xml && \
|
sed -i 's/port="2121"/port="21"/' /opt/conpot/conpot/templates/default/ftp/ftp.xml && \
|
||||||
sed -i 's/port="8800"/port="80"/' /opt/conpot/conpot/templates/default/http/http.xml && \
|
sed -i 's/port="8800"/port="80"/' /opt/conpot/conpot/templates/default/http/http.xml && \
|
||||||
|
|
|
@ -347,6 +347,10 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- IEC104 Protocol parameter -->
|
<!-- IEC104 Protocol parameter -->
|
||||||
|
<!-- Common (Object) Address, aka COA, Station Address -->
|
||||||
|
<key name="CommonAddress">
|
||||||
|
<value type="value">"0x1e28"</value>
|
||||||
|
</key>
|
||||||
<!-- Timeout of connection establishment -->
|
<!-- Timeout of connection establishment -->
|
||||||
<key name="T_0">
|
<key name="T_0">
|
||||||
<value type="value">30</value>
|
<value type="value">30</value>
|
||||||
|
|
Loading…
Reference in a new issue