ksubdomain
ksubdomain copied to clipboard
无状态子域名爆破工具
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x42ff756] goroutine 18 [running]: github.com/google/gopacket/pcap.(*Handle).compileBPFFilter(0x0, 0x4592a31, 0x13, 0x0, 0x3e8, 0x0, 0x4c02100) /Users/boyhack/goprograms/pkg/mod/github.com/google/[email protected]/pcap/pcap.go:420 +0x26 github.com/google/gopacket/pcap.(*Handle).SetBPFFilter(0x0, 0x4592a31, 0x13, 0x0, 0x0) /Users/boyhack/goprograms/pkg/mod/github.com/google/[email protected]/pcap/pcap.go:456 +0x60 ksubdomain/core.Recv(0xc00002a9f8, 0x4, 0xc0000adae0, 0xc0001401b0,...
mac
Success:9551 Sent:4427942 Recved:78909 Faild:0fatal error: runtime: out of memory runtime stack: runtime.throw(0x996322, 0x16) /usr/local/go/src/runtime/panic.go:1116 +0x72 runtime.sysMap(0xc04c000000, 0x14000000, 0x1b79778) /usr/local/go/src/runtime/mem_linux.go:169 +0xc6 runtime.(*mheap).sysAlloc(0x1659a80, 0x14000000, 0x42f037, 0x1659a88) /usr/local/go/src/runtime/malloc.go:727 +0x1e5 runtime.(*mheap).grow(0x1659a80, 0x9f9f, 0x0) /usr/local/go/src/runtime/mheap.go:1344...

 这个错误是我参数弄错了吗? windows11和linux都遇到了这个问题。
现象: 比如说发了二十多万数据包后,爆破速度是每秒100多。  排查: 首先考虑是机器性能问题,这时候我curl正常,带宽是美问题。再考虑了cpu,一个核心跑满了,但是发包却很少。 代码暂时还每去看。
扫描报错
1.正常扫描报错 pip22 ./ksubdomain -dl yungongsi.txt -filter-wild -o result.txt -l 2 _ __ _____ _ _ _ | |/ / / ____| | | | | (_) | ' / |...
./ksubdomain_linux: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory