Search

System Enumeration

Commands:

hostname

Run this to search for exploitations (OS information):

uname -a

more system info:

cat /proc/version
cat /etc/issue

CPU info:

lscpu

For architecture and number of cores (some exploits require different numbers of cores)

Services that are running:

ps aux
#to get just the root user you can grep:
ps aux | grep root

things to look for:

  • nginx = apache server
  • root running cron
    • scheduled task
  • nfsd (network file share)