Enumeration
Find weaknesses.
Why Enumerate First?
Privilege escalation means turning a low-privilege foothold into root. The first and most important step is enumeration — methodically gathering information about the system to find a path up. "Enumeration is king."
Know Your Context
Start with who and where you are. Identify your user, groups, hostname, and OS version — these shape every subsequent decision.
id
whoami
hostname
uname -a
cat /etc/os-release