Footprinting

Footprinting ⇒ This is the infrastructure part of information-gathering.

Mapping a Network

  1. Ping Sweeping

Ping sweep is an automatic method of checking whether the IP is active or not

Untitled

  1. Fping

The -a option forces the tool to show only alive hosts

the -g option tells the tool that we want to perform a ping sweep instead of a standard ping

Untitled

<aside> 💡 To suppress those messages, you can redirect the process standard error to 2>/dev/null

Untitled

</aside>


Nmap Ping Scan

Nmap Ping Sweep :

nmap -sn 10.0.200.0/24

Untitled

<aside> 💡 You can save your host list and invoke it with Nmap.

</aside>

nmap -sn -iL '/root/Desktop/flag.txt' 

Untitled

Saving the Output

 nmap -sn 192.168.119.128/24 -oN ping-sweep-results.txt

By default, Nmap only shows you the output of its commands in the terminal window. You can change this default behavior and save the output to a file using one of the following command line options: