System enumeration

Basic enumeration commands

# find
$ find . -name '*.xml'
$ find . -name '*.txt'
$ find . -name '*.json'

# strings
$ strings -f * | grep 'pass'
$ strings -f * | grep 'api'

Files/Directories to enumerate

  1. RCS (Run Control Scripts)

  • /sbin/rcS

  • /etc/rcS.d/

  • /etc/init.d/

    • contains shell scripts that manage system daemons, eg. Apache, SSH, etc.

  1. ~/.netrc

  • Plain-text configuration file used by programs such as FTP and HTTP, to store auto-login credentials for network access

Last updated