mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
start work on ciscoasa honeypot
This commit is contained in:
parent
ed159349ce
commit
2f063b28c0
2 changed files with 40 additions and 0 deletions
26
docker/ciscoasa/Dockerfile
Normal file
26
docker/ciscoasa/Dockerfile
Normal file
|
@ -0,0 +1,26 @@
|
|||
FROM alpine
|
||||
MAINTAINER MO
|
||||
|
||||
# Setup env and apt
|
||||
RUN apk -U upgrade && \
|
||||
apk add bash build-base git libffi-dev openssl-dev python3-dev procps && \
|
||||
|
||||
# Setup user
|
||||
addgroup -g 2000 ciscoasa && \
|
||||
adduser -S -s /bin/bash -u 2000 -D -g 2000 ciscoasa && \
|
||||
|
||||
# Get and install packages
|
||||
mkdir -p /opt/ && \
|
||||
cd /opt/ && \
|
||||
git clone https://github.com/cymmetria/ciscoasa_honeypot && \
|
||||
cd ciscoasa_honeypot && \
|
||||
pip3 install -r requirements.txt && \
|
||||
chown -R ciscoasa:ciscoasa /opt/ciscoasa_honeypot
|
||||
|
||||
# Clean up
|
||||
# apk del build-base git nodejs-npm python
|
||||
|
||||
# Start elasticsearch-head
|
||||
WORKDIR /opt/ciscoasa_honeypot
|
||||
USER ciscoasa
|
||||
CMD python3 asa_server.py --enable_ssl --verbose
|
14
docker/ciscoasa/docker-compose.yml
Normal file
14
docker/ciscoasa/docker-compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
# T-Pot (Standard)
|
||||
# For docker-compose ...
|
||||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
# Wetty service
|
||||
wetty:
|
||||
container_name: wetty
|
||||
restart: always
|
||||
network_mode: "host"
|
||||
env_file:
|
||||
- /opt/tpot/etc/compose/wetty_environment
|
||||
image: "dtagdevsec/wetty:1710"
|
Loading…
Reference in a new issue