Course Overview

/

Pingsweep without tools

Pingsweep without tools

There are occasions where it may be necessary to map out a network without the use of any tools. This is a concept called “Living-off-the-Land” where only the inbuilt features and functionality of a

computer. To ping sweep using the inbuilt functionality, we need to run a ping loop and save the outout

Linux

In a standard terminal, the syntax to conduct a pingsweep in linux is:

For i in {1..254}; do ping -c 1 X.X.X.$i | grep “64”; done

(where X.X.X is the first 3 octets of the IP address range being scanned)

Windows

In powershell, the syntax to conduct a pingsweep in windows is:

1..254 | % {echo “X.X.X.$_”; ping -n 1 -w 100 X.X.X.$_} | Select-String TTL

(where X.X.X is the first 3 octets of the IP address range to be scanned)