bump snare to 0.3.0

This commit is contained in:
t3chn0m4g3 2018-08-02 22:17:03 +00:00
parent a6d996d016
commit 78adc5a0e1
5 changed files with 9 additions and 7 deletions

View file

@ -98,7 +98,7 @@ services:
networks:
- tanner_local
ports:
- "80:80"
- "80:8080"
image: "dtagdevsec/snare:1804"
depends_on:
- tanner

View file

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

View file

@ -374,7 +374,7 @@ services:
networks:
- tanner_local
ports:
- "80:80"
- "80:8080"
image: "dtagdevsec/snare:1804"
depends_on:
- tanner

View file

@ -372,7 +372,7 @@ services:
networks:
- tanner_local
ports:
- "80:80"
- "80:8080"
image: "dtagdevsec/snare:1804"
depends_on:
- tanner

View file

@ -373,7 +373,7 @@ services:
networks:
- tanner_local
ports:
- "80:80"
- "80:8080"
image: "dtagdevsec/snare:1804"
depends_on:
- tanner