ctf-wscan
ctf-wscan copied to clipboard
一个小bug
在 lib/log.py 中的31行
r = re.match(r'http[s]?://([\\\.\w\d:/]+)/', url).group(1)
从url提取出域名的正则,域名可以包含 ‘-’,但没有考虑到。
改为
r = re.match(r'http[s]?://([\\\.\w\d:/\-]+)/', url).group(1)
nice