ksubdomain icon indicating copy to clipboard operation
ksubdomain copied to clipboard

正则提取有个小bug

Open 404tk opened this issue 3 years ago • 0 comments

https://github.com/knownsec/ksubdomain/blob/master/core/script.go#L30 在调用crt.sh这个API时,https://crt.sh/?output=json&q=example.com image 正则会提取出nwww.example.com这个域名。 我的解决方式是把\n提取出来,replace替换掉。

想请教下正则还有没有优化的空间=_=||

404tk avatar Apr 07 '21 11:04 404tk