prepare for CitrixHoneypot

This commit is contained in:
t3chn0m4g3
2020-01-15 12:14:23 +00:00
parent 0ef2b083fc
commit 8a844e6dd3
9 changed files with 41 additions and 18 deletions

View File

@ -1,8 +1,5 @@
FROM alpine
#
# Include dist
#ADD dist/ /root/dist/
#
# Install packages
RUN apk -U add \
git \
@ -11,17 +8,14 @@ RUN apk -U add \
python3 \
python3-dev && \
#
# Install Citrix Honeypot from GitHub
# Install CitrixHoneypot from GitHub
git clone --depth=1 https://github.com/malwaretech/citrixhoneypot /opt/citrixhoneypot && \
# sed -i 's/dst_ip/dest_ip/' /opt/adbhoney/adbhoney/core.py && \
# sed -i 's/dst_port/dest_port/' /opt/adbhoney/adbhoney/core.py && \
#
# Setup user, groups and configs
mkdir -p /opt/citrixhoneypot/logs /opt/citrixhoneypot/ssl && \
openssl req \
-nodes \
-x509 \
-sha512 \
-newkey rsa:2048 \
-keyout "/opt/citrixhoneypot/ssl/key.pem" \
-out "/opt/citrixhoneypot/ssl/cert.pem" \