mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
修复从config.py传入参数无效问题
This commit is contained in:
@@ -168,8 +168,8 @@ class AIOBrute(Module):
|
||||
:param bool show: 终端显示导出数据(默认False)
|
||||
"""
|
||||
|
||||
def __init__(self, target, process=None, coroutine=64, wordlist=None,
|
||||
segment=500, recursive=False, depth=2, namelist=None,
|
||||
def __init__(self, target, process=None, coroutine=None, wordlist=None,
|
||||
segment=None, recursive=False, depth=None, namelist=None,
|
||||
fuzz=False, rule=None, export=True, valid=None, format='csv',
|
||||
path=None, show=False):
|
||||
Module.__init__(self)
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ enable_http_request = True # HTTP请求子域(默认True)
|
||||
enable_wildcard_check = True # 开启泛解析检测 会去掉泛解析的子域
|
||||
# 爆破时使用的进程数(根据系统中CPU数量情况设置 不宜大于CPU数量 默认为系统中的CPU数量)
|
||||
brute_process_num = os.cpu_count()
|
||||
brute_coroutine_num = 64 # 爆破时每个进程下的协程数(不宜大于500)
|
||||
brute_coroutine_num = 128 # 爆破时每个进程下的协程数(不宜大于500)
|
||||
# 爆破所使用的字典路径 默认data/subdomains.txt
|
||||
brute_wordlist_path = data_storage_path.joinpath('subnames.txt')
|
||||
brute_task_segment = 500
|
||||
|
||||
Reference in New Issue
Block a user