prepare for CitrixHoneypot

This commit is contained in:
t3chn0m4g3
2020-01-15 12:14:23 +00:00
parent 0ef2b083fc
commit 8a844e6dd3
9 changed files with 41 additions and 18 deletions

View File

@ -90,6 +90,14 @@ fuCISCOASA () {
chown tpot:tpot /data/ciscoasa -R
}
# Let's create a function to clean up and prepare citrixhoneypot data
fuCITRIXHONEYPOT () {
if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/citrixhoneypot/*; fi
mkdir -p /data/citrixhoneypot/log/
chmod 770 /data/citrixhoneypot/ -R
chown tpot:tpot /data/citrixhoneypot/ -R
}
# Let's create a function to clean up and prepare conpot data
fuCONPOT () {
if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/conpot/*; fi
@ -260,6 +268,7 @@ if [ "$myPERSISTENCE" = "on" ];
echo "Cleaning up and preparing data folders."
fuADBHONEY
fuCISCOASA
fuCITRIXHONEYPOT
fuCONPOT
fuCOWRIE
fuDIONAEA