man nbtscan 快速扫描

man nbtscan 快速扫描nbtscan 1 scannetworks 1 NAMEnbtscan scannetworks v d e l ttimeout bbandwidth r q

nbtscan(1) scan networks searching for NetBIOS information nbtscan(1)

 NBTscan produces a report like that: IP address NetBIOS Name Server User MAC address ------------------------------------------------------------------------------ 192.168.1.2 MYCOMPUTER JDOE 00-a0-c9-12-34-56 192.168.1.5 WIN98COMP 
  
    RROE 00-a0-c9-78-90-00 192.168.1.123 DPTSERVER 
   
     ADMINISTRATOR 08-00-09-12-34-56 First column lists IP address of responded host. Second column is computer name. Third column indicates if this computer shares or is able to share files or printers. For NT machine it means that Server Service is running on this computer. For Windows 95 it means that "I want to be able to give others access to my files" or "I want to be able to allow others to print on my printer(s)" checkbox is ticked (in Control Panel/Network/File and Print Sharing). Most often it means that this computer shares files. Third column shows user name. If no one is logged on from this computer it is same as computer name. Last column shows adapter MAC address. If run with -v switch NBTscan lists whole NetBIOS name table for each responded address. The output looks like that: NetBIOS Name Table for Host 192.168.1.123: Name Service Type ---------------------------------------- DPTSERVER <00> UNIQUE DPTSERVER <20> UNIQUE DEPARTMENT <00> GROUP DEPARTMENT <1c> GROUP DEPARTMENT <1b> UNIQUE DEPARTMENT <1e> GROUP DPTSERVER <03> UNIQUE DEPARTMENT <1d> UNIQUE ??__MSBROWSE__? <01> GROUP INet~Services <1c> GROUP IS~DPTSERVER <00> UNIQUE DPTSERVER <01> UNIQUE Adapter address: 00-a0-c9-12-34-56 ---------------------------------------- 
    
  
 -v Verbose output. Print all names received from each host. -d Dump packets. Print whole packet contents. Cannot be used with -v, -s or -h options. -e Format output in /etc/hosts format. -l Format output in lmhosts format. -t 
  
    Wait timeout seconds for response. Default 1. -b 
   
     Output throttling. Slow down output so that it uses no more that bandwidth bps. Useful on slow links, so that outgoing queries don't get dropped. -r Use local port 137 for scans. Win95 boxes respond to this only. You need to be root to use this option. -q Suppress banners and error messages. -s 
    
      Script-friendly output. Don't print column and record headers, separate fields with separator. -h Print human-readable names for services. Can only be used with -v option. -m 
     
       Number of retransmits. Default 0. -f 
      
        Take IP addresses to scan from file "filename" target NBTscan is a command-line tool. You have to supply at least one argument, the address range, in one of three forms: xxx.xxx.xxx.xxx Single IP in dotted-decimal notation. Example: 192.168.1.1 xxx.xxx.xxx.xxx/xx Net address and subnet mask. Example: 192.168.1.0/24 xxx.xxx.xxx.xxx-xxx Address range. Example: 192.168.1.1-127. This will scan all addresses from 192.168.1.1 to 192.168.1.127 
       
      
     
    
  
 nbtscan -r 192.168.1.0/24 Scans a range from 192.168.1.25 to 192.168.1.137: nbtscan 192.168.1.25-137 Scans C-class network. Prints results in script-friendly format using colon as field separator: nbtscan -v -s : 192.168.1.0/24 The last command produces output like that: 192.168.0.1:NT_SERVER:00U 192.168.0.1:MY_DOMAIN:00G 192.168.0.1:ADMINISTRATOR:03U 192.168.0.2:OTHER_BOX:00U ... Scans IP addresses specified in file iplist: nbtscan -f iplist 
 Name Number(h) Type Usage -------------------------------------------------------------------------- 
  
    00 U Workstation Service 
   
     01 U Messenger Service <\--__MSBROWSE__> 01 G Master Browser 
    
      03 U Messenger Service 
     
       06 U RAS Server Service 
      
        1F U NetDDE Service 
       
         20 U File Server Service 
        
          21 U RAS Client Service 
         
           22 U Exchange Interchange(MSMail Connector) 
          
            23 U Exchange Store 
           
             24 U Exchange Directory 
            
              30 U Modem Sharing Server Service 
             
               31 U Modem Sharing Client Service 
              
                43 U SMS Clients Remote Control 
               
                 44 U SMS Administrators Remote Control Tool 
                
                  45 U SMS Clients Remote Chat 
                 
                   46 U SMS Clients Remote Transfer 
                  
                    87 U Microsoft Exchange MTA 
                   
                     6A U Microsoft Exchange IMC 
                    
                      BE U Network Monitor Agent 
                     
                       BF U Network Monitor Application 
                      
                        03 U Messenger Service 
                       
                         00 G Domain Name 
                        
                          1B U Domain Master Browser 
                         
                           1C G Domain Controllers 
                          
                            1D U Master Browser 
                           
                             1E G Browser Service Elections 
                            
                              1C G IIS 
                             
                               00 U IIS 
                              
                             
                            
                           
                          
                         
                        
                       
                      
                     
                    
                   
                  
                 
                
               
              
             
            
           
          
         
        
       
      
     
    
  
 R: That is the way it is supposed to work. NBTscan uses NetBIOS for scanning and NetBIOS is only implemented by Windows (and some software on Unix such as Samba). 2. Why do I get "Connection reset by peer" errors on Windows 2000? R: NBTscan uses port 137 UDP for sending queries. If the port is closed on destination host destination will re‐ ply with ICMP "Port unreachable" message. Most operating system will ignore this message. Windows 2000 reports it to the application as "Connection reset by peer" error. Just ignore it. 3. Why NBTscan doesn't scan for shares? Are you going to add share scanning to NBTscan? R: No. NBTscan uses UDP for what it does. That makes it very fast. Share scanning requires TCP. For one thing, it will make nbtscan more slow. Also adding share scanning means adding a lot of new code to nbtscan. There is a lot of good share scanners around, so there is no reason to duplicate that work. 4. Why do I get 00-00-00-00-00-00 instead of MAC address when I scan a Samba box? R: Because that's what Samba send in response to the query. Nbtscan just prints out what it gets. 
 This manual page was written for the first time by Ryszard Lach 
  
    and rewritten, from scratch, by Joao Eriberto Mota Filho 
   
     for the Debian GNU/Linux system (but may be used by others). 
    
  

nbtscan-1.6 14 Nov 2019 nbtscan(1)

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/176268.html原文链接:https://javaforall.net

(0)
上一篇 2026年3月26日 下午10:20
下一篇 2026年3月26日 下午10:20


相关推荐

  • 海贼王

    海贼王★海贼王简介  日本国民级超人气动漫作品《ONEPIECE》,简称OP(1997-现在)  【原名】ONEPIECE——十多年来日本的统治级漫画,单行本十年销量冠军,初版销量已超1亿5千8百万册,09年4月再版销量1千7百万册,总销量1亿7500万册,成为日本史上漫画单行本销量最高和初版销量最高的纪录最快到本书一亿保持者,本书销量第一。  【译名】海贼王、航海王、海盗路飞

    2022年7月12日
    51
  • mpvue小程序轮播图绑定动态点击事件

    mpvue小程序轮播图绑定动态点击事件分享一个mpvue小程序轮播图绑定动态点击跳转页面,这个源码可以直接引用。

    2022年5月21日
    54
  • 2 万字 Openclaw 最细部署指南,30分钟手把手教程!Openclaw完全指南第一篇

    2 万字 Openclaw 最细部署指南,30分钟手把手教程!Openclaw完全指南第一篇

    2026年3月18日
    2
  • k8s集群pod出现Evicted状态

    k8s集群pod出现Evicted状态生产pod出现Evicted状态其中报错提示检查原因,发现是磁盘压力导致pod被驱逐,IO匹配不了应用的需求,导致pod被驱逐,更换更高规格的磁盘可以解决此问题Evicted状态的pod直接删除即可。

    2022年5月16日
    98
  • PHP工厂模式的好处

    PHP工厂模式的好处 顾名思义,工厂是可以加工零件的,PHP程序中的工厂模式也有相同的功能,可以方便的使用一个静态的工厂方法来实例化某一个类,那么这样做的好处是什么呢?初学PHP的设计模式,以下是我个人的理解 一般我们实例化一个类会给它一些参数以便在其构析的时候可以根据不同的参数反馈出我们需要的结果。举例说明,以下是一个User类,非常简单:01.02.      03.    int

    2022年7月25日
    14
  • Unity 地形高度图生成方法[通俗易懂]

    Unity 地形高度图生成方法[通俗易懂]Unity中地形(Terrain)高度图生成方法大概可以归纳为3类:手动绘制直接通过unity的terrain提供的工具手动绘制地形,让后导出成raw格式的高度图,这个没啥可说的,不会的话留言。。。PS等工具生成已经有现成的教程了就不详细描述了。老规则传送门如下:ps生成高度图当然你还可以用其他生成工具,生成raw格式的高度就行。通过noise调整高度图通过noise填充高度图,能够动图的生

    2022年5月26日
    64

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号