update for new honeypots

This commit is contained in:
Marco Ochse 2021-11-18 21:32:48 +01:00
parent e76a643296
commit 6fb2fa783a
4 changed files with 18 additions and 6 deletions

View file

@ -197,6 +197,14 @@ fuHERALDING () {
chown tpot:tpot /data/heralding -R chown tpot:tpot /data/heralding -R
} }
# Let's create a function to clean up and prepare honeypots data
fuHONEYPOTS () {
if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/honeypots/*; fi
mkdir -p /data/honeypots/log
chmod 770 /data/honeypots -R
chown tpot:tpot /data/honeypots -R
}
# Let's create a function to clean up and prepare honeypy data # Let's create a function to clean up and prepare honeypy data
fuHONEYPY () { fuHONEYPY () {
if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/honeypy/*; fi if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/honeypy/*; fi
@ -339,6 +347,7 @@ if [ "$myPERSISTENCE" = "on" ];
fuHERALDING fuHERALDING
fuHELLPOT fuHELLPOT
fuHONEYSAP fuHONEYSAP
fuHONEYPOTS
fuHONEYPY fuHONEYPY
fuHONEYTRAP fuHONEYTRAP
fuIPPHONEY fuIPPHONEY

View file

@ -23,6 +23,7 @@
/data/heralding/log/*.log /data/heralding/log/*.log
/data/heralding/log/*.csv /data/heralding/log/*.csv
/data/heralding/log/*.json /data/heralding/log/*.json
/data/honeypots/log/*.log
/data/honeypy/log/*.log /data/honeypy/log/*.log
/data/honeysap/log/*.log /data/honeysap/log/*.log
/data/honeytrap/log/*.log /data/honeytrap/log/*.log

View file

@ -813,6 +813,7 @@ mkdir -vp /data/adbhoney/{downloads,log} \
/data/glutton/log \ /data/glutton/log \
/data/hellpot/log \ /data/hellpot/log \
/data/heralding/log \ /data/heralding/log \
/data/honeypots/log \
/data/honeypy/log \ /data/honeypy/log \
/data/honeysap/log \ /data/honeysap/log \
/data/ipphoney/log \ /data/ipphoney/log \

View file

@ -239,6 +239,7 @@ mkdir -vp /data/adbhoney/{downloads,log} \
/data/glutton/log \ /data/glutton/log \
/data/hellpot/log \ /data/hellpot/log \
/data/heralding/log \ /data/heralding/log \
/data/honeypots/log \
/data/honeypy/log \ /data/honeypy/log \
/data/honeysap/log \ /data/honeysap/log \
/data/ipphoney/log \ /data/ipphoney/log \