首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使用Hping检测操作系统?

如何使用Hping检测操作系统?
EN

Server Fault用户
提问于 2011-02-23 10:11:31
回答 2查看 2.7K关注 0票数 1

我想使用安平来检测主机操作系统,但是我找不到我怎么做的?

Nmap中,我也可以这样做:

代码语言:javascript
复制
nmap -O Host_IP/Name
EN

回答 2

Server Fault用户

发布于 2011-02-23 10:18:48

失败。在hping中没有这样的功能。

胡说:

不使用-winid选项的hpinging框,您将看到增量是256倍,因为不同的id被移动。这对于操作系统指纹来说是非常有用的:

代码语言:javascript
复制
#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
票数 2
EN

Server Fault用户

发布于 2012-07-19 12:24:52

尝试xprobe2使用: xprobe2 选项目标

选项:

代码语言:javascript
复制
      -v                       Be verbose

      -r                       Show route to target(traceroute)

      -p <proto:portnum:state> Specify portnumber, protocol and state.

                               Example: tcp:23:open, UDP:53:CLOSED

      -c <configfile>          Specify config file to use.

      -h                       Print this help.

      -o <fname>               Use logfile to log everything.

      -t <time_sec>            Set initial receive timeout or roundtrip time.

      -s <send_delay>          Set packsending delay (milseconds).

      -d <debuglv>             Specify debugging level.

      -D <modnum>              Disable module number <modnum>.

      -M <modnum>              Enable module number <modnum>.

      -L                       Display modules.

      -m <numofmatches>        Specify number of matches to print.

      -T <portspec>            Enable TCP portscan for specified port(s).

                               Example: -T21-23,53,110

      -U <portspec>            Enable UDP portscan for specified port(s).

      -f                       force fixed round-trip time (-t opt).

      -F                       Generate signature (use -o to save to a file).

      -X                       Generate XML output and save it to logfile specified 

用-o。

代码语言:javascript
复制
      -B                       Options forces TCP handshake module to try to guess 

打开TCP端口

代码语言:javascript
复制
      -A                       Perform analysis of sample packets gathered during 

端口扫描

代码语言:javascript
复制
                               order to detect suspicious traffic (i.e. transparent 

代理,

代码语言:javascript
复制
                               firewalls/NIDSs resetting connections). Use with -T.
票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/239074

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档