The focus of this room was on built-in command-line tools in both Linux and MS Windows systems. Many commands exist in both systems, although the command arguments and resulting output are different. The following tables show the primary Linux and MS Windows commands that we relied on to get more information about the system.

Linux CommandDescription
hostnameshows the systemโ€™s hostname
whoshows who is logged in
whoamishows the effective username
wshows who is logged in and what they are doing
lastshows a listing of the last logged-in users
ip address showshows the network interfaces and addresses
arpshows the ARP cache
netstatprints network connections
psshows a snapshot of the current processes
Windows CommandDescription
systeminfoshows OS configuration information, including service pack levels
whoamishows the user name and group information along with the respective security identifiers
netstatshows protocol statistics and current TCP/IP network connections
net usershows the user accounts on the computer
net localgroupshows the local groups on the computer
arpshows the IP-to-Physical address translation tables

This room focused on post-exploitation enumeration of a Linux or MS Windows machine. For enumeration related to Active Directory, we recommend that you join the Enumerating AD room.