I want use Hping for detecting Host operating system but I can't find how can I do this?

I can do the same job with Nmap like this:

nmap -O Host_IP/Name
link|improve this question

33% accept rate
feedback

1 Answer

Fail. In hping no such functionality.

nonsense:

hpinging windows box without using --winid option you will see as increments are 256 multiple because different id byteordering. This can be really usefull for OS fingerprinting:

#hping win95 -r
HPING win95 (eth0 192.168.4.41): NO FLAGS are set, 40 headers + 0 data bytes
46 bytes from 192.168.4.41: flags=RA seq=0 ttl=128 id=47371 win=0 rtt=0.5 ms
46 bytes from 192.168.4.41: flags=RA seq=1 ttl=128 id=+256 win=0 rtt=0.5 ms
46 bytes from 192.168.4.41: flags=RA seq=2 ttl=128 id=+256 win=0 rtt=0.6 ms
46 bytes from 192.168.4.41: flags=RA seq=3 ttl=128 id=+256 win=0 rtt=0.5 ms
link|improve this answer
However, on hping.org it says: Remote OS fingerprinting ? – Laurent Feb 23 '11 at 10:26
@Laurent I update answer =) – ooshro Feb 23 '11 at 10:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.