mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
prepare for CitrixHoneypot
This commit is contained in:
@ -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" \
|
||||
|
@ -15,7 +15,6 @@ services:
|
||||
ports:
|
||||
- "443:443"
|
||||
image: "dtagdevsec/citrixhoneypot:1903"
|
||||
# read_only: true
|
||||
# volumes:
|
||||
# - /data/adbhoney/log:/opt/adbhoney/log
|
||||
# - /data/adbhoney/downloads:/opt/adbhoney/dl
|
||||
read_only: true
|
||||
volumes:
|
||||
- /data/citrixhoneypot/logs:/opt/citrixhoneypot/logs
|
||||
|
Reference in New Issue
Block a user