diff --git a/common/utils.py b/common/utils.py index 1ad3b5b..38693b6 100644 --- a/common/utils.py +++ b/common/utils.py @@ -641,7 +641,7 @@ def call_massdns(massdns_path, dict_path, ns_path, output_path, log_path, f'--hashmap-size {concurrent_num} --resolvers {ns_path} ' \ f'--resolve-count {resolve_num} --type {query_type} ' \ f'--flush --output J --outfile {output_path} ' \ - f'--root --error-log {log_path} {dict_path}' + f'--root --error-log {log_path} {dict_path} --filter OK' logger.log('DEBUG', f'Run command {cmd}') subprocess.run(args=cmd, shell=True) logger.log('DEBUG', f'Finished massdns') diff --git a/config/default.py b/config/default.py index 93b921d..2405870 100644 --- a/config/default.py +++ b/config/default.py @@ -65,10 +65,7 @@ brute_recursive_depth = 2 # 递归爆破深度(默认2层) recursive_nextlist_path = data_storage_dir.joinpath('next_subnames.txt') enable_check_dict = False # 是否开启字典配置检查提示(默认False) delete_generated_dict = True # 是否删除爆破时临时生成的字典(默认True) -# 是否删除爆破时massdns输出的解析结果 (默认True) -# massdns输出的结果中包含更详细解析结果 -# 注意: 当爆破的字典较大或使用递归爆破或目标域名存在泛解析时生成的文件可能会很大 -delete_massdns_result = True +delete_massdns_result = True # 是否删除爆破时massdns输出的解析结果 (默认True) only_save_valid = True # 是否在处理爆破结果时只存入解析成功的子域 check_time = 10 # 检查字典配置停留时间(默认10秒) enable_fuzz = False # 是否使用fuzz模式枚举域名 diff --git a/thirdparty/massdns/massdns_linux_i686 b/thirdparty/massdns/massdns_linux_i686 index 45051b8..cd14f6e 100644 Binary files a/thirdparty/massdns/massdns_linux_i686 and b/thirdparty/massdns/massdns_linux_i686 differ diff --git a/thirdparty/massdns/massdns_linux_x86_64 b/thirdparty/massdns/massdns_linux_x86_64 index 23ec502..071c39b 100644 Binary files a/thirdparty/massdns/massdns_linux_x86_64 and b/thirdparty/massdns/massdns_linux_x86_64 differ diff --git a/thirdparty/massdns/windows/x64/cygwin1.dll b/thirdparty/massdns/windows/x64/cygwin1.dll index dce2cae..85e3847 100644 Binary files a/thirdparty/massdns/windows/x64/cygwin1.dll and b/thirdparty/massdns/windows/x64/cygwin1.dll differ diff --git a/thirdparty/massdns/windows/x64/massdns_windows_amd64.exe b/thirdparty/massdns/windows/x64/massdns_windows_amd64.exe index 128712b..0ef8dd5 100644 Binary files a/thirdparty/massdns/windows/x64/massdns_windows_amd64.exe and b/thirdparty/massdns/windows/x64/massdns_windows_amd64.exe differ diff --git a/thirdparty/massdns/windows/x86/cyggcc_s-1.dll b/thirdparty/massdns/windows/x86/cyggcc_s-1.dll index 7fe1482..31da952 100644 Binary files a/thirdparty/massdns/windows/x86/cyggcc_s-1.dll and b/thirdparty/massdns/windows/x86/cyggcc_s-1.dll differ diff --git a/thirdparty/massdns/windows/x86/cygwin1.dll b/thirdparty/massdns/windows/x86/cygwin1.dll index 88c8bc3..bc689d8 100644 Binary files a/thirdparty/massdns/windows/x86/cygwin1.dll and b/thirdparty/massdns/windows/x86/cygwin1.dll differ diff --git a/thirdparty/massdns/windows/x86/massdns_windows_i686.exe b/thirdparty/massdns/windows/x86/massdns_windows_i686.exe index baebb72..5d9051e 100644 Binary files a/thirdparty/massdns/windows/x86/massdns_windows_i686.exe and b/thirdparty/massdns/windows/x86/massdns_windows_i686.exe differ