Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Valerian7/dns_capture
https://github.com/Valerian7/dns_capture
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Valerian7/dns_capture
- Owner: Valerian7
- Created: 2024-01-15T07:25:30.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-15T07:35:15.000Z (11 months ago)
- Last Synced: 2024-01-15T10:03:04.756Z (11 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - Valerian7/dns_capture - (Go)
README
# dns_capture
适用于dns服务器的dns抓包程序# 安装libpcap
yum install libpcap
# 运行命令
sudo ./dns_capture_linux_amd64 -d www.baidu.com -i eth0
```console
Usage of ./dns_capture_linux_amd64:
-d string
指定dns解析的域名
-i string
指定捕获数据包的网口 (default "eth0")
-o string
指定输出的文件名
-w int
指定抓取数据包数量 (default -1)
```