문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top