调整爆破模块参数

This commit is contained in:
JrD
2020-08-18 15:40:46 +08:00
parent 8e2d787036
commit 6bec2152b8
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -636,8 +636,10 @@ 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} --filter OK'
f'--root --error-log {log_path} {dict_path} --filter OK ' \
f'--sndbuf 0 --rcvbuf 0'
logger.log('DEBUG', f'Run command {cmd}')
print(cmd)
subprocess.run(args=cmd, shell=True)
logger.log('DEBUG', f'Finished massdns')