ksubdomain icon indicating copy to clipboard operation
ksubdomain copied to clipboard

无状态子域名爆破工具

Results 29 ksubdomain issues
Sort by recently updated
recently updated
newest added

`@:/opt/ksubdomain_linux$ sudo ./ksubdomain -d baidu.com _ __ _____ _ _ _ | |/ / / ____| | | | | (_) | ' / | (___ _ _| |__ __|...

[INFO] Current Version: 0.7 [INFO] libpcap version 1.9.1 (with TPACKET_V3) ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^C

![image](https://user-images.githubusercontent.com/35289748/143990615-6421f731-b2b9-4aa3-a0b7-ed1b1548b9b5.png) 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 :=...

![image](https://user-images.githubusercontent.com/39651966/110723984-f175f980-824f-11eb-9f27-2c4afaffe777.png) ![image](https://user-images.githubusercontent.com/39651966/110723967-e9b65500-824f-11eb-8f4e-8ba3b0a6b51d.png) .\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 ```

![image](https://user-images.githubusercontent.com/57247956/115182341-67e9ff00-a10c-11eb-9f52-fa2b4c186014.png) 设置最小带宽,爆破ksubdomain -b 5k -d baidu.com ![image](https://user-images.githubusercontent.com/57247956/115182510-a67fb980-a10c-11eb-9f51-e1e605a51dfb.png) 接口爆破正常,使用内置字典爆破无返回数据;

[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 ![image](https://user-images.githubusercontent.com/54827262/113861387-bd074600-97d9-11eb-9313-7c68a68a28b5.png) 正则会提取出`nwww.example.com`这个域名。 我的解决方式是把\n提取出来,replace替换掉。 想请教下正则还有没有优化的空间=_=||