root💀bl4ck4non-sec:~#

Hack. Eat. Sleep. Repeat!!!

View on GitHub

Enumerating System Information

To enumerate distribution name

cat /etc/*release

To identify the version of linux kernel running

uname -a

To enumerate about the CPU being used

lscpu

To view the storage devices attached to the linux system

df -h

Enumerating users and groups

To check the groups a user is in

groups

Enumerating the list of users recently logged in to the system

lastlog

Enumerating Network Information

To display the primary nameserver that will be used by default

cat /etc/resolv.conf

Enumerating Processes and Cronjobs

To list running processes

ps

To display processes that are running with root privileges

ps aux | grep root

To enumerate the list of cronjobs on the linux system

cat /etc/cron*

Automating Local Linux Enumeration

To display the list of installed shells on a linux system

cat /etc/shells

Linenum.sh can be used to automate enumerations also