| skipped 169 lines |
170 | 170 | | cmdRESPONSE "find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -o+w \) -exec ls -ld '{}' ';' | grep root"; |
171 | 171 | | |
172 | 172 | | systemNAME="World Writeables Directories for non-root Users"; |
173 | | - | cmdRESPONSE "find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -0002 \) -exec ls -ld '{}' ';' | grep -v root "; |
| 173 | + | cmdRESPONSE "find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -0002 \) -exec ls -ld '{}' ';' | grep -v root"; |
174 | 174 | | |
175 | 175 | | systemNAME="World Writeables Files"; |
176 | | - | cmdRESPONSE "find / \( -wholename '/home/homedir/*' -prune -o -wholename '/proc/*' -prune \) -o \( -type f -perm -0 002 \) -exec ls -l '{}' ';'"; |
| 176 | + | cmdRESPONSE "find / \( -wholename '/home/homedir/*' -prune -o -wholename '/proc/*' -prune \) -o \( -type f -perm -0002 \) -exec ls -l '{}' ';'"; |
177 | 177 | | |
178 | 178 | | systemNAME="SUID/GUID Files and Directories"; |
| 179 | + | cmdRESPONSE "find / \( -perm -2000 -o -perm -4000 \) -exec ls -ld {} \; 2>/dev/null"; |
| 180 | + | |
| 181 | + | systemNAME="Checking if root's home folder is accessible"; |
179 | 182 | | cmdRESPONSE "ls -ahlR /root"; |
180 | 183 | | |
181 | 184 | | systemNAME="Configuration Files Containing Keyword 'password'"; |
| skipped 94 lines |