added additional sudos

This commit is contained in:
Michael
2022-12-01 13:44:38 +00:00
parent 6690ccc811
commit 7d57450834

View File

@@ -7,8 +7,8 @@ LOGFILE="audit.log"
LOGDIR="/tmp/PurpleAudit/Log"
REPORTOUTPUT=/Users/$(stat -f "%Su" /dev/console)/Desktop/MacReport.txt
rm -f $REPORTOUTPUT
rm -rf /tmp/PurpleAudit
sudo rm -f $REPORTOUTPUT
sudo rm -rf /tmp/PurpleAudit
export AUDITORNAME LOGDIR LOGFILE REPORTFILE
mkdir /tmp/PurpleAudit