mirror of
https://github.com/vee1e/PcapMonkey.git
synced 2026-09-01 17:57:29 +00:00
13 lines
No EOL
449 B
Bash
Executable file
13 lines
No EOL
449 B
Bash
Executable file
#!/bin/bash
|
|
# Get the full path of this script so we can access the correct log directories
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
SURICATA_LOGS="${DIR}/logs/suricata/eve.json"
|
|
ZEEK_LOGS="${DIR}/logs/zeek/*.log"
|
|
ZEEK_FILES="${DIR}/logs/zeek/extracted_files/*.*"
|
|
echo "Deleting ${SURICATA_LOGS}"
|
|
rm -f ${SURICATA_LOGS}
|
|
echo "Deleting ${ZEEK_LOGS}"
|
|
rm -f ${ZEEK_LOGS}
|
|
echo "Deleting ${ZEEK_FILES}"
|
|
rm -f ${ZEEK_FILES} |