Projects STRLCPY linuxprivchecker Commits 0416de37
🤬
  • ■ ■ ■ ■ ■ ■
    linuxprivchecker.sh
    skipped 169 lines
    170 170   cmdRESPONSE "find / \( -type d -perm -o+w \) -exec ls -ld '{}' ';' | grep root";
    171 171   
    172 172   systemNAME="World Writeables Directories for non-root Users";
     173 + 
    173 174   cmdRESPONSE "find / \( -type d -perm -o+w \) -exec ls -ld '{}' ';' | grep -v root ";
    174 175   
    175 176   systemNAME="World Writeables Files";
    176 177   cmdRESPONSE "find / \( -wholename '/proc/*' -prune \) -o \( -type f -perm -o+w \) -exec ls -l '{}' ';'";
    177 178   
    178 179   systemNAME="SUID/GUID Files and Directories";
     180 + cmdRESPONSE "find / \( -perm -2000 -o -perm -4000 \) -exec ls -ld {} \; 2>/dev/null";
     181 + 
     182 + systemNAME="Checking if root's home folder is accessible";
    179 183   cmdRESPONSE "ls -ahlR /root";
    180 184   
    181 185   systemNAME="Configuration Files Containing Keyword 'password'";
    skipped 94 lines
Please wait...
Page is in error, reload to recover