0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

wireshark with lua

Last updated at Posted at 2025-06-19

wireshark directory

1.png


tcpdump

tcpdump -i any -nn 'host 1.1.1.1 and port 8000' -w traffic.pcap

# -s 0 需要增加这个参数 不然pakcet会被截断

tshark

-- ~/.local/lib/wireshark/plugins
-- hello.lua
print("hello world!")
/Applications/Wireshark.app/Contents/MacOS/tshark -X lua_script:hello.lua

Ref:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?