ksubdomain
ksubdomain copied to clipboard
正则提取有个小bug
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替换掉。
想请教下正则还有没有优化的空间=_=||