mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
1.数据库中times字段改为ip_times字段并添加cname_times字段
2.移除爆破进程数量参数 3.修改子域是否开启泛解析判断在主流程中的顺序 4.添加通过cname出现次数来判断是否泛解析功能 5.有关泛解析函数独立到wildcard.py
This commit is contained in:
@@ -476,14 +476,6 @@ def ip_is_public(ip_str):
|
||||
return 1
|
||||
|
||||
|
||||
def get_process_num():
|
||||
process_num = settings.brute_process_num
|
||||
if isinstance(process_num, int):
|
||||
return min(os.cpu_count(), process_num)
|
||||
else:
|
||||
return 1
|
||||
|
||||
|
||||
def get_request_count():
|
||||
return 32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user