Welcome![Sign In][Sign Up]
Location:
Search - netbios-ns

Search list

[Linux-UnixLinux-MAC20081224

Description: 在linux下,c语言编写,可以根据对方的IP,查看其MAC地址,也可以扫描局域网在线IP的MAC和主机名。原理:建立socket ,构造netbios-ns包,循环sendto()把数据发送给对方并recvfrom()读取返回信息。根据返回的netbios回应包,读取对方的主机名,组名和mac地址。 显示结果如下: IP: 192.168.116.124 Host Name: BRN_8EEE6A/BRN_8EEE6A MAC: 00-80-77-8E-EE-6A IP: 192.168.116.130 Host Name: XIAOXIAO/MSHOME MAC: 00-12-3F-D5-5E-A6 IP: 192.168.116.131 Host Name: NA MAC: NA [time out!] 一个网段扫描MAC,可以建立一个socket,连续向多个不同IP发送NBNS包,然后等待接受,根据返回包就可以扫描一个网段多个IP的MAC啦。 而windows下可以运行命令:nbtstat -A ip-address来查看 windows c 要改改头文件 -C language, based on each other s IP, to see its MAC address, can also scann more online IP-LAN MAC and host name. Principle: To establish a socket, constructed netbios-ns package, cycle to use sendto () function sent the data to the other side , and use recvfrom () to read back-information. Netbios respond in accordance with the return package, read each other s host name, group name and mac address.
Platform: | Size: 14336 | Author: darinwang | Hits:

[OS Developscan_mac

Description: 通过发送netbios-ns请求获取指定ip的主机名,工作组和MAC地址等信息-Netbios-ns by sending a request to obtain the host name specified ip, the Working Group and the MAC address and other information
Platform: | Size: 8192 | Author: | Hits:

[Technology Managementminglinghang

Description: 网络经典命令行 1.最基本,最常用的,测试物理网络的 ping 192.168.0.8 -t ,参数-t是等待用户去中断测试 2.查看DNS、IP、Mac等 A.Win98:winipcfg B.Win2000以上:Ipconfig/all C.NSLOOKUP:如查看河北的DNS C:\>nslookup Default Server: ns.hesjptt.net.cn Address: 202.99.160.68 >server 202.99.41.2 则将DNS改为了41.2 > pop.pcpop.com Server: ns.hesjptt.net.cn Address: 202.99.160.68 Non-authoritative answer: Name: pop.pcpop.com Address: 202.99.160.212 3.网络信使 (经常有人问的~) Net send 计算机名/IP|* (广播) 传送内容,注意不能跨网段 net stop messenger 停止信使服务,也可以在面板-服务修改 net start messenger 开始信使服务 4.探测对方对方计算机名,所在的组、域及当前用户名 (追捕的工作原理) ping -a IP -t ,只显示NetBios名 nbtstat -a 192.168.10.146 比较全的 - Network classic command-line Most basic, the most commonly used test physical network ping 192.168.0.8-t,-t parameter to wait for the user to interrupt the test (2) of the DNS, IP, Mac A.Win98: winipcfg B.Win2000 above: Ipconfig/all C.NSLOOKUP: View Hebei DNS C: \> the nslookup Default Server: ns.hesjptt.net.cn Address: 202.99.160.68 > server 202.99.41.2 will DNS changed to 41.2 > Pop.pcpop.com Server: ns.hesjptt.net.cn Address: 202.99.160.68 The Non-authoritative answer: Name: pop.pcpop.com Address: 202.99.160.212 Network messenger (~) is often asked Net send computer name/IP* (broadcast) to send content to be careful not to cross-segment net stop messenger stop messenger service, also on the panel- MODIFICATIONS TO SERVICE the net start messenger messenger service (4) to detect each other the other computer name, where the group, domain, and the current user name (the chase works) the ping-a IP-t display only the NetBios name nbtstat-a 192.
Platform: | Size: 12288 | Author: 杨光 | Hits:

CodeBus www.codebus.net