ksubdomain
ksubdomain copied to clipboard
无状态子域名爆破工具
`@:/opt/ksubdomain_linux$ sudo ./ksubdomain -d baidu.com _ __ _____ _ _ _ | |/ / / ____| | | | | (_) | ' / | (___ _ _| |__ __|...
一直出现省略号
[INFO] Current Version: 0.7 [INFO] libpcap version 1.9.1 (with TPACKET_V3) ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^C
 mac系统下跑变成这样,麻烦看看是咋回事
这里的for循环会极大占用CPU,涉及大量无用的lock操作、列表遍历、时间计算等操作。 加入10ms的延时后,在我的电脑上能降低~50%的cpu占用。 https://github.com/knownsec/ksubdomain/issues/43 可能和这个问题有关
https://github.com/knownsec/ksubdomain/blob/master/core/device.go 68行改为: ``` if dns.QR { continue } for _, v := range dns.Questions { if string(v.Name) == domain { ethLayer := packet.Layer(layers.LayerTypeEthernet) if ethLayer != nil { eth :=...
  .\ksubdomain.exe -dl .\1.txt -api ``` panic: runtime error: invalid memory address or nil pointer dereference stack traceback: :16: in function [G]: in function 'request' :15: in main chunk...
ksubdomain/resources/scripts/chaziyu.lua文件多加了hacking8.com 将 ``` function buildurl(domain) return "https://chaziyu.com/hacking8.com/" .. domain .. "/"end ``` 改成 ``` function buildurl(domain) return "https://chaziyu.com/" .. domain .. "/" end ```
 设置最小带宽,爆破ksubdomain -b 5k -d baidu.com  接口爆破正常,使用内置字典爆破无返回数据;
[https://github.com/knownsec/ksubdomain/blob/master/core/script.go#L30](https://github.com/knownsec/ksubdomain/blob/master/core/script.go#L30) 在调用crt.sh这个API时,https://crt.sh/?output=json&q=example.com  正则会提取出`nwww.example.com`这个域名。 我的解决方式是把\n提取出来,replace替换掉。 想请教下正则还有没有优化的空间=_=||