Determining the OS using nmap and xprobe2
In this recipe, we will be using tools to determine what kind of operating system the target IP is running on. Mapping a target IP with a corresponding operating system is necessary to help shortlist and verify vulnerabilities.
Getting ready
In this recipe, we will use the nmap tool to determine the operating system. All we require is an IP address against which we will run the OS enumeration scan. Others tools that can be used are hping and xprobe2.
How to do it...
Let us begin by determining the operating system:
- Open terminal and type the following:
nmap -O <IP address>
The output will be as shown in the following screenshot:
We can use advanced operators to help us find out the operating system in a more ...
Get Kali Linux Intrusion and Exploitation Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.