Important files

Globally readable/writable files and folders

Files

Globally readable

find / \( -wholename '/home/*' -prune \) -o \( -type d -perm -0002 \) -exec ls -ld '{}' \; 2>/dev/null 
find / -xdev -type d \( -perm -0002 -a ! -perm -1000 \) 2>/dev/null

No owner

find / -xdev \( -nouser -o -nogroup \) -print 2>/dev/null

Folders

Writable by current user or anyone

find / -writable -type d -exec ls -ld '{}' \; 2>/dev/null

User files enumeration

Enumerate home folders

find /home/*/ -type f 2>/dev/null
ls -lah /home/*
ls -lah /home/*/*

Search files globally by user

Search globally for user-owned folders

Writable by me

Interesting files

SSH keys

Find SSH keys system-wide

Config files

Dump config files in current folder

Search for passwords in config files

Search for hashes in config files. Finds md5, SHA1, SHA256, SHA512 with or without salt

Log files

dump log files in current folder

Last updated