Thursday, November 18, 2021

Checking the operating system of the machine in your network

When you need to know the operating system, of the machines' connecting to your network, nmap can help. First, install nmap if you have not install it already.


Then, run below command to run TCP scan (-sT), with OS detection (-O)
$ sudo nmap -sT -O 192.168.0.0/24

You will get an output like below (your result will be completely different, this is just an example)

From the above result, we know that a Xiaomi device (probably a phone) is using 192.168.0.110. 




No comments: