Linux
The first step when landing on host should be understanding who your against to - what OS, what process are running, what users exists and more, this can be done by looking at the following files (remember - in Linux everything is a file):
Distribution type:
cat /etc/*-release
Kernel version:
cat /proc/version
uname -a
view if you can run anything as sudo: (check for GTFObins)
Sudo -l
Check common files:
What services running (filter by root):
ps aux
ps -ef
top
Check configuration files:
Check local ports and what listens:
netstat -antup
View list of users:
cat /etc/passwd | cut -d: -f1
Search for ssh keys:
View crontabs
Web servers files
Last updated