Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
LFMJUN committed Apr 12, 2024
1 parent 5433fbe commit 141c600
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,23 @@

## 需要修改的地方

### config.json

```
# 替换 'interface' 为你要抓包的网络接口,如 'eth0'、'wlan0' 等
interface = '以太网'
# 替换 'display_filter' 为你的显示过滤器
display_filter = '((rtmpt) && (_ws.col.info contains "connect")) || (_ws.col.info contains "releaseStream")'
# 替换 'tshark_path' 为你的 tshark.exe 路径
tshark_path = "F:\\Program Files\\Wireshark\\tshark.exe"
{
"tshark_path": "F:\\\\Program Files\\\\Wireshark\\\\tshark.exe",
"display_filter": "((rtmpt) && (_ws.col.info contains \"connect\")) || (_ws.col.info contains \"releaseStream\")",
"interface": "以太网"
}
```

过滤器一般不需要修改,默认即可,更改interface和tshark_path即可
display_filter一般不需要修改,默认即可,更改interface和tshark_path即可

替换 'tshark_path' 为你的 tshark.exe 路径

替换 'interface' 为你要抓包的网络接口,如 'eth0'、'wlan0' 等

config.json文件需要与程序放在同一目录

## 已知问题

Expand All @@ -28,6 +35,12 @@ tshark_path = "F:\\Program Files\\Wireshark\\tshark.exe"

20240412 项目发布

20240412 支持通过json文件修改路径、网卡、筛选器

## Demo

![](https://cdn.jsdelivr.net/gh/lfmjun/ilovekg@main/20240412191646.png)


## Star History

Expand Down

0 comments on commit 141c600

Please sign in to comment.