Enumeration

Finding Files

1
# Search for strings
2
cd C:\
3
dir /s *string*
4
โ€‹
5
## From PowerShell
6
cmd /c dir /s *string*
7
โ€‹
8
# Search for filetype
9
dir /s *.txt
Copied!

Listing all User files

1
cd C:\Users
2
โ€‹
3
get-childitem *\*\*
Copied!

Finding Content in Files

1
# From cmd.exe
2
findstr /s string * 2>nul
Copied!

Capture Packets

1
# Capture
2
โ€‹
3
# Convert to PCAP
4
โ€‹
Copied!

DNS Records

1
Get-DNSServerZone
2
Get-DNSServerZoneResourceRecord -ZoneName <name>
Copied!
Last modified 1yr ago