Initial Manual Enumeration
Start with the basics by hand, just to get a sense of what system you’re on and in what context.
id || (whoami && groups) 2>/dev/null # Who am I? grep -vE "nologin|false" /etc/passwd # Users with console w # Currently login users last | tail # Login history
pwd # Where am I now? ls -al # What is in the current folder? ls -al / # What is in the file system root?
OS & Kernel & Processes
cat /etc/issue cat /etc/*-release # What OS release is running? uname -a # Kernel details lsb_release -a # Backup/alternative option ps -aux --forest -ww # Show the process forest
# Host resolution hostname cat /etc/hosts # Network interfaces ip addr show # Active ports netstat -punta
echo $PATH env
In order of favorites
Linux Smart Enumeration (LSE)
git clone https://github.com/diego-treitos/linux-smart-enumeration
./lse.sh -l1 ./lse.sh -l2
git clone https://github.com/rebootuser/LinEnum.git
Coming Soon (there’s a lot)