hostname
Prints hostname of the system.
uname -a
Will print system information.
ps
Process running on the system.
ps axjg
View process tree.
ps aux
View processes for all users.
cat /proc/version
Provides information regarding the target system processes.
cat /etc/issue
Provides information about the OS.
env
Shows environment information.
sudo -l
List users with root privileges.
id
shows the current user information.
history
shows earlier commands executed.
ip route
Shows the network routes.
netstat -a
shows all listening ports and established connections.
netstat -ltp
list connections with service name and PID information.

Kernel Exploit

image.png

{40EAE846-0A94-459C-9C78-B4C785C131E6}.png

image.png

Sudo

image.png

image.png

sudo nano /etc/shadow

image.png

SUID

image.png

user2 hash crack.

user2 hash crack.

garryconway hash crack.

garryconway hash crack.

image.png

image.png

Capabilities

image.png