mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
丰富dnsquery查询模块
This commit is contained in:
@@ -242,6 +242,13 @@ class Module(object):
|
||||
json.dump(result, file, ensure_ascii=False, indent=4)
|
||||
return True
|
||||
|
||||
def gen_record(self, subdomains, record):
|
||||
"""
|
||||
生成记录字典
|
||||
"""
|
||||
for subdomain in subdomains:
|
||||
self.records[subdomain] = record
|
||||
|
||||
def gen_result(self):
|
||||
"""
|
||||
生成结果
|
||||
|
||||
Reference in New Issue
Block a user