Skip to content

Ping Sweep_ PowerShell Method

TheGetch edited this page Jan 5, 2021 · 1 revision

Ping Sweep: PowerShell Method

Ping Sweep: PowerShell Method

Using PowerShell as the method for ping sweeping is useful if you connect to an internal Windows box and are unable to transfer nmap or perform another form of ping sweep.

1..20 | % {"x.x.x.$($_): $(Test-Connection -count 1 -comp x.x.x.$($_) -quiet)"} 

Again, this example is for a /24 network. Modification required for other network types.

_Sidebar

1. Recon

Ping Sweep

CIDR to IP

2. Enumeration

Services

05. HTTP (80,443,8080,8443,etc.)

3. Exploitation

4. Post Exploiation

5. High Value Information

Hashes

6. Reporting

7. Random Notes/Useful Tidbits

Clone this wiki locally