重构网络判断和地址判断

This commit is contained in:
Jing Ling
2020-11-09 18:43:16 +08:00
parent 0f2b365a25
commit fec72d2082
11 changed files with 84 additions and 164 deletions
+1 -2
View File
@@ -155,8 +155,7 @@ def run_resolve(domain, data):
output_name = f'resolved_result_{domain}_{timestring}.json'
output_path = temp_dir.joinpath(output_name)
log_path = result_dir.joinpath('massdns.log')
ns_path = settings.brute_nameservers_path
ns_path = utils.get_ns_path()
logger.log('INFOR', f'Running massdns to resolve subdomains')
utils.call_massdns(massdns_path, save_path, ns_path,