马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
欢迎大家来到仓酷云论坛!Nmap是一个用于收集摸索或平安评测的对象。它支撑ping扫描(剖断哪些主机在运转),多端口扫描技巧(剖断主机在供给哪些办事),和TCP/IP指纹(长途主机操作体系辨认)。Nmap还供给了灵巧的目的和端口明细表,保护扫描,TCP序列可猜测性特色的剖断,逆向identd扫描等等。
注:在NMAP-4.11中,ident逆向扫描已不再支撑。(ident协定:用于TCP反向扫描,许可检查TCP衔接所对应的过程的属主用户。例如,衔接到HTTP办事今后,再履行ident扫描,可以发明办事器能否正在以root权限运转。) NMAP的扫描语法
nmap[扫描类型][选项]<扫描目的...>
经常使用的扫描类型
-sS,TCPSYN扫描(半开)
-sT,TCP衔接扫描(全开)
-sF,TCPFIN扫描
-sU,UDP扫描
-sP,ICMP扫描
-P0,跳过ping检测
装置NMAP(我之前看过一个哥们很会动心思,他有个wab网站,然则跑去做平安设置,把SSH端口改的本身不记得了,他前面的处理方法就是用NMAP扫描出来的.........所以人人可以细细领会一下)
[root@chenyi~]#yuminstallnmap#Centos6.2的ISO中自带NMAP,直接Yum装置便可!
分离检查本机开放的TCP端口、UDP端口
<divid="crayon-52692594387f5544827608"class="crayon-syntaxcrayon-theme-classiccrayon-font-monacocrayon-os-pcprint-yescrayon-wrapped"data-settings="minimizescroll-mou搜索引擎优化verwrap"style="margin:12px0px;padding:0px;border:1pxsolid#999999!important;font-size:12px!important;background-color:#fdfdfd!important;box-sizing:border-box;overflow:hidden!important;position:relative!important;direction:ltr!important;width:668px;font-family:monaco,monacoregular,couriernew,monospace;text-shadow:none!important;max-width:700px;float:none;clear:both;line-height:15px!important;height:auto;">[color=#333333!important]
<divclass="crayon-main"style="margin:0px;padding:0px;border:0px;width:666px;overflow:hidden;max-width:700px;position:relative;z-index:1;background-position:0px50%;">1
[color=#317cc5!important]2
3
[color=#317cc5!important]4
5
[color=#317cc5!important]6
7
[color=#317cc5!important]8
9
[color=#317cc5!important]10
11
[color=#317cc5!important]12
13
[color=#317cc5!important]14
15
[color=#317cc5!important]16
17
[color=#317cc5!important]18
19
[color=#317cc5!important]20
21
[color=#317cc5!important]22
<divclass="crayon-pre"style="margin:0px;padding:0px;border:none!important;background-image:none!important;overflow:visible;">[color=#333333!important][root[color=#333333!important]@chenyi[color=#006fe0!important][color=#006fe0!important]~[color=#333333!important]][color=#b85c00!important]#nmap127.0.0.1
[color=#004ed0!important]StartingNmap[color=#006fe0!important][color=#ce0000!important]5.51[color=#006fe0!important][color=#333333!important]([color=#006fe0!important]http[color=#006fe0!important]:[color=#ff8000!important]//nmap.org)at2012-12-0609:24CST
[color=#004ed0!important]Nmap[color=#004ed0!important]scan[color=#004ed0!important]report[color=#800080!important]for[color=#006fe0!important][color=#004ed0!important]localhost[color=#006fe0!important][color=#333333!important]([color=#ce0000!important]127.0.0.1[color=#333333!important])
[color=#004ed0!important]Host[color=#800080!important]is[color=#006fe0!important][color=#004ed0!important]up[color=#006fe0!important][color=#333333!important]([color=#ce0000!important]0.000016s[color=#006fe0!important]latency[color=#333333!important])[color=#333333!important].
[color=#800080!important]Not[color=#006fe0!important]shown[color=#006fe0!important]:[color=#006fe0!important][color=#ce0000!important]998[color=#006fe0!important][color=#004ed0!important]closed[color=#004ed0!important]ports
[color=#004ed0!important]PORT[color=#004ed0!important]STATESERVICE
[color=#ce0000!important]22[color=#006fe0!important]/[color=#004ed0!important]tcp[color=#004ed0!important]openssh
[color=#ce0000!important]25[color=#006fe0!important]/[color=#004ed0!important]tcp[color=#004ed0!important]open[color=#004ed0!important]smtp
[color=#004ed0!important]Nmapdone[color=#006fe0!important]:[color=#006fe0!important][color=#ce0000!important]1[color=#006fe0!important][color=#004ed0!important]IP[color=#004ed0!important]address[color=#006fe0!important][color=#333333!important]([color=#ce0000!important]1[color=#006fe0!important][color=#004ed0!important]hostup[color=#333333!important])[color=#006fe0!important][color=#004ed0!important]scanned[color=#800080!important]in[color=#006fe0!important][color=#ce0000!important]0.18[color=#006fe0!important][color=#002d7a!important]seconds
[color=#333333!important][root[color=#333333!important]@chenyi[color=#006fe0!important][color=#006fe0!important]~[color=#333333!important]][color=#b85c00!important]#nmap-sU127.0.0.1
[color=#004ed0!important]StartingNmap[color=#006fe0!important][color=#ce0000!important]5.51[color=#006fe0!important][color=#333333!important]([color=#006fe0!important]http[color=#006fe0!important]:[color=#ff8000!important]//nmap.org)at2012-12-0609:25CST
[color=#004ed0!important]Nmap[color=#004ed0!important]scan[color=#004ed0!important]report[color=#800080!important]for[color=#006fe0!important][color=#004ed0!important]localhost[color=#006fe0!important][color=#333333!important]([color=#ce0000!important]127.0.0.1[color=#333333!important])
[color=#004ed0!important]Host[color=#800080!important]is[color=#006fe0!important][color=#004ed0!important]up[color=#006fe0!important][color=#333333!important]([color=#ce0000!important]0.000018s[color=#006fe0!important]latency[color=#333333!important])[color=#333333!important].
[color=#800080!important]Not[color=#006fe0!important]shown[color=#006fe0!important]:[color=#006fe0!important][color=#ce0000!important]999[color=#006fe0!important][color=#004ed0!important]closed[color=#004ed0!important]ports
[color=#004ed0!important]PORT[color=#004ed0!important]STATESERVICE
[color=#ce0000!important]5353[color=#006fe0!important]/[color=#004ed0!important]udpopen[color=#006fe0!important]|[color=#004ed0!important]filtered[color=#004ed0!important]zeroconf
<divclass="crayon-linecrayon-striped-line"id="crayon-52692594387f5544827608-22"style="margin:0px;padding:0px5px;border:0px;font-size:inherit!important;background-color:#f7f7f7!important;font-family:inherit;line-height:inherit!important;height:inherit!important;">[color=#004ed0!important]Nmapdone[color=#006fe0!important]:[color=#006fe0!important][color=#ce0000!important]1[color=#006fe0!important][color=#004ed0!important]IP[color=#004ed0!important]address[color=#006fe0!important][color=#333333!important]([color=#ce0000!important]1[color=#006fe0!important][color=#004ed0!important]hostup[color=#333333!important])[color=#006fe0!important] |