mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
1. 增加空间测绘引擎最大查询数量限制,防止泛解析和CDN浪费积分。对 fofa, hunter, quake, zoomeye 生效
2. 允许用户不使用 tldextract 提取主域名,防止收集分公司域名时错误收集到主公司的域名 3. 升级exrex版本,兼容python3.12 4. 修复`No module named 'distutils.util'`的bug,关联issue: https://github.com/shmilylty/OneForAll/issues/394
This commit is contained in:
@@ -55,6 +55,8 @@ class Domain(object):
|
||||
|
||||
:return: registered domain result
|
||||
"""
|
||||
if not settings.use_tld_extract:
|
||||
return self.string
|
||||
result = self.extract()
|
||||
if result:
|
||||
return result.registered_domain
|
||||
|
||||
Reference in New Issue
Block a user