mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
解决在win下面无法读取字典小Bug
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) as file:
|
||||
with open(path,encoding='UTF-8') as file:
|
||||
for line in file:
|
||||
brute_domain = line.strip() + '.' + domain
|
||||
domains.add(brute_domain)
|
||||
|
||||
Reference in New Issue
Block a user