mirror of
https://github.com/PurpleComputing/helpful-scripts.git
synced 2026-02-03 05:43:24 +00:00
added report 2
This commit is contained in:
@@ -25,8 +25,10 @@ git clone https://github.com/CISOfy/lynis
|
||||
cd lynis
|
||||
sudo ./lynis audit system -Q --auditor "$AUDITORNAME" >> $REPORTOUTPUT
|
||||
sudo ./lynis audit system --pentest --auditor "$AUDITORNAME" >> $REPORTOUTPUT
|
||||
|
||||
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/PurpleComputing/helpful-scripts/main/SecScripts/test-lockdown.sh)" >> $REPORTOUTPUT
|
||||
|
||||
sudo chmod 777 /var/log/lynis-report.dat
|
||||
sudo chmod 777 $REPORTOUTPUT
|
||||
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/PurpleComputing/helpful-scripts/main/SecScripts/test-lockdown.sh)"
|
||||
|
||||
rm -rf /tmp/PurpleAudit
|
||||
Reference in New Issue
Block a user