OS Finger printing or TCP/IP Stack Finger printing
This project mainly encompasses on determining the operating system of the specific host. It also determines the prediction percentage of the operating system.
It is not only specific to determine the OS but also gives the status of host with opened ports.
It is one of the methods under Active Information Gathering under the PTES(ie.,Penetration Testing Execution Standard).
python-nmap
nmap
Installing the Prerequisites
$ pip install python-nmap
$ sudo yum install nmap
$ pip install python-nmap
$ sudo apt-get install nmap
$ git clone https://github.com/Prajwalmithun/OS_Finger_Printing.git
$ cd OS_Finger_Printing
$ sudo python3 scanner.py [ip_address of the host]
$ vi osinfo.txt
This “osinfo.txt” file contains the information about the operating system, ports that are open.