prepare for honeypy

This commit is contained in:
t3chn0m4g3
2019-03-10 18:15:59 +00:00
parent d9e5331a84
commit 6f30322ad5
7 changed files with 41 additions and 4 deletions

View File

@ -154,6 +154,14 @@ fuHERALDING () {
chown tpot:tpot /data/heralding -R
}
# Let's create a function to clean up and prepare honeypy data
fuHONEYPY () {
if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/honeypy/*; fi
mkdir -p /data/honeypy/log
chmod 760 /data/honeypy -R
chown tpot:tpot /data/honeypy -R
}
# Let's create a function to clean up and prepare honeytrap data
fuHONEYTRAP () {
if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/honeytrap/*; fi
@ -258,6 +266,7 @@ if [ "$myPERSISTENCE" = "on" ];
fuGLASTOPF
fuGLUTTON
fuHERALDING
fuHONEYPY
fuHONEYTRAP
fuMAILONEY
fuMEDPOT