mirror of
https://github.com/PurpleComputing/helpful-scripts.git
synced 2026-06-10 17:10:31 +01:00
split scripts
This commit is contained in:
@@ -26,7 +26,7 @@ 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 bash -c "$(curl -fsSL https://raw.githubusercontent.com/PurpleComputing/helpful-scripts/main/SecScripts/test-lockdown.sh)" bash audit >> $REPORTOUTPUT
|
||||
|
||||
sudo chmod 777 /var/log/lynis-report.dat
|
||||
sudo chmod 777 $REPORTOUTPUT
|
||||
|
||||
4
SecScripts/pre.sh
Normal file
4
SecScripts/pre.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
brew install git
|
||||
brew install python3
|
||||
Reference in New Issue
Block a user