mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
增加编码错误忽略
This commit is contained in:
@@ -122,7 +122,7 @@ def gen_fuzz_domains(domain, rule):
|
||||
|
||||
def gen_brute_domains(domain, path):
|
||||
domains = set()
|
||||
with open(path,encoding='UTF-8') as file:
|
||||
with open(path,encoding='utf-8', errors='ignore') as file:
|
||||
for line in file:
|
||||
brute_domain = line.strip() + '.' + domain
|
||||
domains.add(brute_domain)
|
||||
|
||||
Reference in New Issue
Block a user