mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-29 12:35:52 +08:00
优化srv模块
This commit is contained in:
@@ -17,6 +17,7 @@ from brute import Brute
|
||||
from common import utils, resolve, request
|
||||
from common.database import Database
|
||||
from modules.collect import Collect
|
||||
from modules.srv import BruteSRV
|
||||
from modules.finder import Finder
|
||||
from modules import iscdn
|
||||
from config import settings
|
||||
@@ -190,6 +191,10 @@ class OneForAll(object):
|
||||
|
||||
collect = Collect(self.domain, export=False)
|
||||
collect.run()
|
||||
|
||||
srv = BruteSRV(self.domain)
|
||||
srv.run()
|
||||
|
||||
if self.brute:
|
||||
# Due to there will be a large number of dns resolution requests,
|
||||
# may cause other network tasks to be error
|
||||
|
||||
Reference in New Issue
Block a user