Question

I am trying to write a Python script that when given an IP address it will attempt to identify the OS of a remote host. I am aware Nmap will do this easily but I would like to try and write one in Python.

Having the ability to identify Linux/Windows/Mac etc would be great but would prefer to identify kernel version.

Any suggestions or directions that I may be able to investigate?

Was it helpful?

Solution

Scapy and p0f are your best bet. People have had differing results however.

http://blog.pierre.droids-corp.org/2008/01/scapy-using-p0f.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top