In this article, I am gonna tell you two basic methods to discover hosts on our localhost.
what will you do to scan the network?
it can be an Nmap scan.
try to find your local IP with this command:
ifconfig
for example, it can be 192.168.43.183
Nmap
now we will scan our local IP range with Nmap:
nmap 192.168.43.0/200
now it will give the hosts that are connected to you.
Netdiscover
Netdiscover is a tool that comes pre-installed in Kali Linux and helps you to know the IP or devices that are connected to you.
type this in the terminal:
netdiscover
it will show you the results.
this tool has some other functions too. it is a very important tool in ethical hacking.
Thanks For Visiting.