find operating system of remote computer using nmap

From WebHostingNeeds.com
Jump to: navigation, search

nmap can be used to find OS details with

sudo nmap -O <IP-ADDRESS>

Example

[email protected]:~ $ sudo nmap -O 192.168.43.6

Starting Nmap 7.01 ( https://nmap.org ) at 2016-12-28 14:09 IST
Nmap scan report for 192.168.43.6
Host is up (0.014s latency).
Not shown: 995 closed ports
PORT    STATE SERVICE
21/tcp  open  ftp
22/tcp  open  ssh
80/tcp  open  http
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
MAC Address: 2C:D0:5A:AD:B6:DA (Liteon Technology)
Device type: general purpose
Running: Linux 3.X|4.X
OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4
OS details: Linux 3.2 - 4.0
Network Distance: 1 hop

OS detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 11.87 seconds
[email protected]:~ $



nmap