This commit is contained in:
Marco Ochse 2017-07-12 18:51:20 +00:00
parent 6549f8f582
commit 022a48f1b8
3 changed files with 29 additions and 0 deletions

View file

@ -86,6 +86,14 @@ fuMAILONEY () {
chown tpot:tpot /data/mailoney/ -R chown tpot:tpot /data/mailoney/ -R
} }
# Let's create a function to clean up and prepare maltrail data
fuMALTRAIL () {
rm -rf /data/maltrail/*
mkdir -p /data/maltrail/log/
chmod 760 /data/maltrail/ -R
chown tpot:tpot /data/maltrail/ -R
}
# Let's create a function to prepare spiderfoot db # Let's create a function to prepare spiderfoot db
fuSPIDERFOOT () { fuSPIDERFOOT () {
mkdir -p /data/spiderfoot mkdir -p /data/spiderfoot
@ -119,6 +127,7 @@ fuEMOBILITY
fuGLASTOPF fuGLASTOPF
fuHONEYTRAP fuHONEYTRAP
fuMAILONEY fuMAILONEY
fuMALTRAIL
fuSPIDERFOOT fuSPIDERFOOT
fuSURICATA fuSURICATA
fuP0F fuP0F

View file

@ -221,6 +221,16 @@ services:
image: "dtagdevsec/mailoney:1706" image: "dtagdevsec/mailoney:1706"
volumes: volumes:
- /data/mailoney/log:/opt/mailoney/logs - /data/mailoney/log:/opt/mailoney/logs
# Maltrail service
# maltrail:
# container_name: maltrail
# stdin_open: true
# restart: always
# network_mode: "host"
# image: "dtagdevsec/maltrail:1706"
# volumes:
# - /data/maltrail/log:/var/log/maltrail
# Netdata service # Netdata service
netdata: netdata:

View file

@ -192,6 +192,16 @@ services:
volumes: volumes:
- /data/mailoney/log:/opt/mailoney/logs - /data/mailoney/log:/opt/mailoney/logs
# Maltrail service
# maltrail:
# container_name: maltrail
# stdin_open: true
# restart: always
# network_mode: "host"
# image: "dtagdevsec/maltrail:1706"
# volumes:
# - /data/maltrail/log:/var/log/maltrail
# Netdata service # Netdata service
netdata: netdata:
container_name: netdata container_name: netdata