Merge remote-tracking branch 'origin/master' into master

This commit is contained in:
JrD
2020-08-13 10:05:55 +08:00
11 changed files with 4 additions and 6 deletions
+1
View File
@@ -681,6 +681,7 @@ class Brute(Module):
# 数据库导出
if self.export:
dbexport.export(self.domain,
type='table',
alive=self.alive,
limit='resolve',
path=self.path,
+1 -1
View File
@@ -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')
+1 -4
View File
@@ -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模式枚举域名
+1 -1
View File
@@ -87,7 +87,7 @@ class Collect(object):
if not self.path:
name = f'{self.domain}.{self.format}'
self.path = settings.result_save_dir.joinpath(name)
dbexport.export(self.domain, path=self.path, format=self.format)
dbexport.export(self.domain, type='table', path=self.path, format=self.format)
end = time.time()
self.elapse = round(end - start, 1)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.