# Linux Basic Enumeration ```sh less ~/.bash_history ``` ```sh cat /etc/*-release cat /proc/version uname -a ``` ```sh sudo -V sudo -L ``` * Check if is writeable ```sh vim /etc/passwd vim /etc/hosts ``` ```sh crontab -l ``` * Find interesting files ```sh find / -perm /6000 2>/dev/null find / -perm -u=s -type f 2>/dev/null find / -type f -name "*.log" 2>/dev/null find / -type f -name "*.bak" 2>/dev/null find / -type f -name "*.conf" 2>/dev/null ``` * Open Sockets ```sh lsof -i netstat -natup ss -natup ```