mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
爆破模块需要原域名
This commit is contained in:
@@ -116,9 +116,6 @@ def read_target_file(target):
|
||||
with open(target, encoding='utf-8', errors='ignore') as file:
|
||||
for line in file:
|
||||
domain = match_main_domain(line)
|
||||
if not domain:
|
||||
continue
|
||||
domain = get_main_domain(domain)
|
||||
if not domain:
|
||||
continue
|
||||
domains.append(domain)
|
||||
@@ -130,9 +127,6 @@ def get_from_target(target):
|
||||
domains = set()
|
||||
if isinstance(target, str):
|
||||
domain = match_main_domain(target)
|
||||
if not domain:
|
||||
return domains
|
||||
domain = get_main_domain(domain)
|
||||
if not domain:
|
||||
return domains
|
||||
domains.add(domain)
|
||||
|
||||
Reference in New Issue
Block a user