Got Shell!?

What to do when you have a shell?

Linux

history

whoami

uname -a

cat /etc/issue

cat /etc/passwd

sudo -l

crontab -l

ls -lhtrR /etc/cron*

ls -lhtrR /etc/sudo*

ls -lhtrR /home

LinPEAS / LSE

Windows

set

getuid

ipconfig /all

arp -a

netstat -ano

dir C:\

WinPEAS