Skip to content
Wireshark Wiki 中文翻译整理专题首页原始页面

一个 OUI 查询工具。

此 Lua 脚本会向 Wireshark 添加一个新的 GUI 菜单,允许用户查询 OUI 和其他 MAC 地址前缀。它使用本地安装的 manuf 文件(如果存在),或本地生成的 oui.txt 文件来执行这些查询。如果你正在寻找在线 OUI Lookup Tool,请访问:https://www.wireshark.org/tools/oui-lookup.html。

OUI 和 MAC 地址搜索可以使用冒号、连字符或句点分隔,也可以完全不包含分隔符。搜索还可以包含任意文本以及 Lua patterns。

安装 - 放入 plugins 目录 - 请参阅 Wireshark 中的 Lua Support

ouilookup.lua

示例:

  • 0000.0c
  • 08:00:20
  • 00-04-EE-CC-CC-CC
  • 00d9.d110.21f9
  • 01-23-45-67-89-AB-CD-EF
  • missouri

有关 Lua patterns 的帮助,请参阅 https://www.lua.org/manual/5.4/manual.html#6.4.1

此 OUI 查询工具也可以使用 tshark 从命令行运行。例如:

  • Windows:tshark.exe -X lua_script:path\to\ouilookup.lua -X lua_script1:path\to\ouilookup.txt -c 0 2> nul

  • *nix:tshark -X lua_script:path/to/ouilookup.lua -X lua_script1:path/to/ouilookup.txt -c 0 2> /dev/null

... 其中 ouilookup.txt 是包含 OUI 搜索条件的任意文件名。

原始页面图片

ouilookup
ouilookup

相关 Wireshark Wiki 页面

网络分析技术档案