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

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