Enumerate Linux Environments
- author:: Nathan Acks
- date:: 2022-04-22
Useful Commands
cat /etc/issue
cat /etc/passwd
cat /proc/version
env
find
getcap
- find and list executable capabilitieshistory
hostname
id
ifconfig
ip route
ls
netstat -ano
- list all listening parts and established connections, no domain resolutionnetstat -i
- list per interface statisticsnetstat -l
- list only listening portsnetstat -p
- list protocol and service information (requires root to see everything)netstat -s
- list protocol statisticsps auxfww
- show process treeps auxww
- show lots and lots of process infosudo -l
uname -a
Useful Scripts
References