>_ shadow.red

Linux System Enumeration Basics

Privilege Escalation Linux Enumeration linux

System info

hostname
cat /etc/issue
cat /etc/*release
uname -a
uname -r
lscpu

User context

id
whoami
groups bob
groups root
cat /etc/passwd
cat /etc/passwd | grep -v /nologin

System resources

free -h
df -h
df -ht ext4
lsblk | grep sd

Active and historical users

last
lastlog
w
who
cat /etc/group