Gathering Information of the System
Linux Privilege Escalation: Environment Enumeration
cat /etc/os-releaseecho $PATHenvuname -acat /etc/shellsroute # or netstat -rnarp -afind / -perm /4000 2>/dev/nullps auxdpkg -l # For Debian-based systems rpm -qa # For Red Hat-based systemscrontab -l cat /etc/crontabnetstat -tulnmountfind / -writable -type d 2>/dev/nullsudo -l
Last updated