mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 04:22:11 +00:00
bump snare to 0.3.0
This commit is contained in:
parent
a6d996d016
commit
78adc5a0e1
5 changed files with 9 additions and 7 deletions
|
@ -98,7 +98,7 @@ services:
|
|||
networks:
|
||||
- tanner_local
|
||||
ports:
|
||||
- "80:80"
|
||||
- "80:8080"
|
||||
image: "dtagdevsec/snare:1804"
|
||||
depends_on:
|
||||
- tanner
|
||||
|
|
|
@ -13,7 +13,10 @@ RUN apk -U --no-cache add \
|
|||
cd /opt/snare/ && \
|
||||
pip3 install --no-cache-dir --upgrade pip setuptools && \
|
||||
pip3 install --no-cache-dir -r requirements.txt && \
|
||||
python3.6 clone.py --target http://example.com && \
|
||||
python3.6 setup.py install && \
|
||||
cd / && \
|
||||
rm -rf /opt/snare && \
|
||||
clone --target http://example.com && \
|
||||
|
||||
# Clean up
|
||||
apk del --purge \
|
||||
|
@ -25,5 +28,4 @@ RUN apk -U --no-cache add \
|
|||
rm -rf /var/cache/apk/*
|
||||
|
||||
# Start snare
|
||||
WORKDIR /opt/snare
|
||||
CMD /usr/bin/python3.6 /opt/snare/snare.py --tanner tanner --debug true --no-dorks --auto-update false --host-ip 0.0.0.0 --port 80 --page-dir example.com
|
||||
CMD snare --tanner tanner --debug true --no-dorks true --auto-update false --host-ip 0.0.0.0 --port 8080 --page-dir example.com
|
||||
|
|
|
@ -374,7 +374,7 @@ services:
|
|||
networks:
|
||||
- tanner_local
|
||||
ports:
|
||||
- "80:80"
|
||||
- "80:8080"
|
||||
image: "dtagdevsec/snare:1804"
|
||||
depends_on:
|
||||
- tanner
|
||||
|
|
|
@ -372,7 +372,7 @@ services:
|
|||
networks:
|
||||
- tanner_local
|
||||
ports:
|
||||
- "80:80"
|
||||
- "80:8080"
|
||||
image: "dtagdevsec/snare:1804"
|
||||
depends_on:
|
||||
- tanner
|
||||
|
|
|
@ -373,7 +373,7 @@ services:
|
|||
networks:
|
||||
- tanner_local
|
||||
ports:
|
||||
- "80:80"
|
||||
- "80:8080"
|
||||
image: "dtagdevsec/snare:1804"
|
||||
depends_on:
|
||||
- tanner
|
||||
|
|
Loading…
Reference in a new issue