diff --git a/linuxprivchecker.sh b/linuxprivchecker.sh index f870476..7fcd551 100755 --- a/linuxprivchecker.sh +++ b/linuxprivchecker.sh @@ -170,7 +170,7 @@ filePERMISSIONS(){ cmdRESPONSE "find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -o+w \) -exec ls -ld '{}' ';' | grep root"; systemNAME="World Writeables Directories for non-root Users"; - cmdRESPONSE "find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -0002 \) -exec ls -ld '{}' ';' | grep -v root "; + cmdRESPONSE "find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -0002 \) -exec ls -ld '{}' ';' | grep -v root"; systemNAME="World Writeables Files"; cmdRESPONSE "find / \( -wholename '/home/homedir/*' -prune -o -wholename '/proc/*' -prune \) -o \( -type f -perm -0 002 \) -exec ls -l '{}' ';'"; @@ -198,11 +198,11 @@ applicationSERVICES(){ systemNAME="Sudo version"; cmdRESPONSE "sudo -V | grep version"; - systemNAME="Apache Version and Modules"; - cmdRESPONSE "apache2 -v 2>/dev/null; apache2ctl -M 2>/dev/null; httpd -v 2>/dev/null; apachectl -l"; +# systemNAME="Apache Version and Modules"; +# cmdRESPONSE "apache2 -v 2>/dev/null; apache2ctl -M 2>/dev/null; httpd -v 2>/dev/null; apachectl -l"; - systemNAME="Apache Config File"; - cmdRESPONSE "cat /etc/apache2/apache2.conf"; +# systemNAME="Apache Config File"; +# cmdRESPONSE "cat /etc/apache2/apache2.conf"; systemNAME="Processes and Packages Running as Root or other Superuser"; EXTDGREP="($(ps -u 0 | tail -n+2 | rev | cut -d " " -f 1 | rev | cut -d "/" -f1 | sort | uniq | xargs | tr " " "|"))";