はじめに
いつもお世話になっております。
表題の件で質問があります。
Wiresharkでinfoカラムの情報をDebug表示したいのですが上手くいきません。
infoカラムの情報が欲しいのに
![]
(info)と表示されてしまいます。
表示させる方法をご存知の方はご教授ください。
環境
OS: Windows 7 Professional 64bit
Wireshark: Version 2.2.6 (v2.2.6-0-g32dac6a)
コード
Lua
1function call_func() 2 local taptype = "tcp" 3 local filter = "tcp" 4 local tap = Listener.new(taptype, filter, true) 5 6 function tap.packet( pinfo, tvb, tapdata ) 7 8 debug( pinfo.number .. " " .. tostring(pinfo.cols.info) ) 9 10 end 11 12 retap_packets() 13 tap:remove() 14end 15 16-- Add menu Tool -> TestCode 17register_menu("Test Code", call_func, MENU_TOOLS_UNSORTED)
参考URL
https://wiki.wireshark.org/LuaAPI/Listener
https://wiki.wireshark.org/LuaAPI/Pinfo
https://wiki.wireshark.org/Lua/Taps
あなたの回答
tips
プレビュー