Situational Awareness

In this section we will show basic commands to gather enough information about our current situation and how we can use it to escalate privilege.


Current User

whoami
id

Users

cat /etc/passwd 
cat /etc/passwd | grep sh$

Groups

cat /etc/group

System Information

uname -a
cat /etc/issue
cat /etc/os-release

Network Information


Processes

pspy

Installed Programs


Files

Search for writable Files

Search for different file extensions

Search for specific strings in files


Linpeas.sh

Last updated