diff --git a/installer/bin/clean.sh b/installer/bin/clean.sh index 153bda6d..f396b70c 100755 --- a/installer/bin/clean.sh +++ b/installer/bin/clean.sh @@ -162,6 +162,14 @@ fuP0F () { chown tpot:tpot -R /data/p0f } +# Let's create a function to clean up and prepare vnclowpot data +fuVNCLOWPOT () { + if [ "$myPERSISTENCE" != "on" ]; then rm -rf /data/vnclowpot/*; fi + mkdir -p /data/vnclowpot/log/ + chmod 760 /data/vnclowpot/ -R + chown tpot:tpot /data/vnclowpot/ -R +} + # Avoid unwanted cleaning if [ "$myPERSISTENCE" = "" ]; @@ -185,17 +193,18 @@ if [ "$myPERSISTENCE" = "on" ]; fuLOGROTATE else echo "Cleaning up and preparing data folders." -fi + fuCONPOT + fuCOWRIE + fuDIONAEA + fuELASTICPOT + fuELK + fuEMOBILITY + fuGLASTOPF + fuHONEYTRAP + fuMAILONEY + fuSPIDERFOOT + fuSURICATA + fuP0F + fuVNCLOWPOT + fi -fuCONPOT -fuCOWRIE -fuDIONAEA -fuELASTICPOT -fuELK -fuEMOBILITY -fuGLASTOPF -fuHONEYTRAP -fuMAILONEY -fuSPIDERFOOT -fuSURICATA -fuP0F diff --git a/installer/etc/tpot/elkbase.tgz b/installer/etc/tpot/elkbase.tgz index 343c94a2..73965eb3 100644 Binary files a/installer/etc/tpot/elkbase.tgz and b/installer/etc/tpot/elkbase.tgz differ diff --git a/installer/etc/tpot/kibana-objects.tgz b/installer/etc/tpot/kibana-objects.tgz index f56e57e7..aabd8fc1 100644 Binary files a/installer/etc/tpot/kibana-objects.tgz and b/installer/etc/tpot/kibana-objects.tgz differ