修复从config.py传入参数无效问题

This commit is contained in:
Jing Ling
2019-12-29 17:17:33 +08:00
parent aab9bcd3b4
commit 5cd71ca6e7
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -168,8 +168,8 @@ class AIOBrute(Module):
:param bool show: 终端显示导出数据(默认False) :param bool show: 终端显示导出数据(默认False)
""" """
def __init__(self, target, process=None, coroutine=64, wordlist=None, def __init__(self, target, process=None, coroutine=None, wordlist=None,
segment=500, recursive=False, depth=2, namelist=None, segment=None, recursive=False, depth=None, namelist=None,
fuzz=False, rule=None, export=True, valid=None, format='csv', fuzz=False, rule=None, export=True, valid=None, format='csv',
path=None, show=False): path=None, show=False):
Module.__init__(self) Module.__init__(self)
+1 -1
View File
@@ -32,7 +32,7 @@ enable_http_request = True # HTTP请求子域(默认True)
enable_wildcard_check = True # 开启泛解析检测 会去掉泛解析的子域 enable_wildcard_check = True # 开启泛解析检测 会去掉泛解析的子域
# 爆破时使用的进程数(根据系统中CPU数量情况设置 不宜大于CPU数量 默认为系统中的CPU数量) # 爆破时使用的进程数(根据系统中CPU数量情况设置 不宜大于CPU数量 默认为系统中的CPU数量)
brute_process_num = os.cpu_count() brute_process_num = os.cpu_count()
brute_coroutine_num = 64 # 爆破时每个进程下的协程数(不宜大于500) brute_coroutine_num = 128 # 爆破时每个进程下的协程数(不宜大于500)
# 爆破所使用的字典路径 默认data/subdomains.txt # 爆破所使用的字典路径 默认data/subdomains.txt
brute_wordlist_path = data_storage_path.joinpath('subnames.txt') brute_wordlist_path = data_storage_path.joinpath('subnames.txt')
brute_task_segment = 500 brute_task_segment = 500