Host Recon

circle-check

Get Help

# List available commands
help

# Help for a specified command
help <command>
<command> /?

Networking

All the below commands work with both CMD and Powershell.

General networking information, such as interfaces, IP addresses, and DNS:

ipconfig /all
Test-NetConnection -ComputerName 192.168.210.12 -Port 5985

System

# General system information
systeminfo

# Name of the host
hostname

# Operating system version
[environment]::OSVersion.Version
ver
echo %OS%

# Environment variables
dir env:
set

# Diplay the value of a specific variable
set %PATH%
echo %PATH%

# Named pipes
gci \\.\pipe\

# Clipboard
Get-Clipboard

Users & Groups

Shared Resources

All the below commands work with both CMD and Powershell.

Protections

Check WD's status with PS:

Check WD's status with CMD:

Files

circle-exclamation

Writable Directories

Test access:

Use another user's credentials

Binaries

We can transfer the binary in a Unix-based attacking host and run strings on it:

Last updated

Was this helpful?