dostoevskylabs/dostoevsky-pentest-notes
What's the OS? What version? What architecture?
cat /etc/*-releaseuname -ilsb_release -a (Debian based OSs)Who are we? Where are we?
idpwdWho uses the box? What users? (And which ones have a valid shell)
cat /etc/passwdgrep -vE "nologin|false" /etc/passwdWhat's currently running on the box? What active network services are there?
ps auxnetstat -antupWhat's installed? What kernel is being used?
dpkg -l (Debian based OSs)rpm -qa (CentOS / openSUSE)uname -aMuch more at: https://blog.g0tmi1k.com/2011/08/basic-linux-privilege-escalation/