优化srv模块

This commit is contained in:
Jing Ling
2020-08-21 23:49:29 +08:00
parent f344d7abcc
commit d9c629d49e
2 changed files with 30 additions and 42 deletions
+5
View File
@@ -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