Host Recon
Help
# List available commands
compgen -c | sort | less
compgen -a | sort | less
# Help for a specified command
man <command>
<command> --helpNetworking
General networking information, such as interfaces, IP addresses, and DNS:
ip addr show
ip a
ifconfig -a # deprecated
# Show interfaces
ip link showCheck recent communications via the ARP table:
ip route
ip neighList active TCP and UDP connections:
ss -tulnp
netstat -tulnp # deprecatedList recent and persistent routes:
ip route show
ip r
route -n # legacySystem
pspy can be used on the target to enumerate real-time system information!
Users & Groups
Files
Capabilities split root privileges into discrete actions that can be independently assigned to processes or binaries. This allows granting only the necessary permissions—such as overriding file ownership or binding to privileged ports—without giving full root access.
Check permissions:
If it is writable, create/modify a user:
If it is readable, copy shadow and passwd locally and crack them:
Check the file's permissions:
If it is writable, root's password can be changed:
Or, a new root user can be created:
Scheduled Jobs
Last updated
Was this helpful?