<aside> ⚙ Basics of footprinting using the windows CLI

</aside>

The commands we use for footprinting are ping, nslookup, tracert

Example 1: Finding an IP address of a domain

ping <domain>
Reply from 162.241.216.11: bytes=32 time=160ms TTL=40
Reply from 162.241.216.11: bytes=32 time=151ms TTL=40
Reply from 162.241.216.11: bytes=32 time=151ms TTL=40
Reply from 162.241.216.11: bytes=32 time=153ms TTL=40

Ping statistics for 162.241.216.11:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
Approximate round trip times in milli-seconds:
    Minimum = 151ms, Maximum = 160ms, Average = 153ms

Example 2: Finding the max frame size on the network

test out different frame sizes to see what works and what doesn’t

ping <domain> -f -l 1500

-f do not fragment the ping packet

-l set the size of the packet

Example 3: Investigate the TTL

ping <domain> -i 3

-i wait time in seconds between each ping

Example 4: traceroute

Trace the path to the destination

tracert <domain>

Example 5: nslookup

start the nslookup in interactive mode

nslookup

find the ip address of a domain