This commit is contained in:
Michael
2022-12-01 14:56:17 +00:00
parent 2d576fe918
commit 62987a0565

View File

@@ -16,11 +16,6 @@ mkdir -p /tmp/PurpleAudit/Log
cd /tmp/PurpleAudit
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git
brew install python3
git clone https://github.com/CISOfy/lynis
cd lynis
sudo ./lynis audit system -Q --auditor "$AUDITORNAME" >> $REPORTOUTPUT
@@ -31,4 +26,4 @@ sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/PurpleComputing/hel
sudo chmod 777 /var/log/lynis-report.dat
sudo chmod 777 $REPORTOUTPUT
rm -rf /tmp/PurpleAudit
rm -rf /tmp/PurpleAudit