新增Webanalyzer模块

This commit is contained in:
JrD
2020-07-29 00:02:06 +08:00
parent 07f436929e
commit e9cffc9e7b
5009 changed files with 81504 additions and 3 deletions
+6 -1
View File
@@ -18,7 +18,7 @@ from common import utils, resolve, request
from common.database import Database
from modules.collect import Collect
from modules.finder import Finder
from modules import iscdn
from modules import iscdn, webanalyzer
from config import setting
from config.log import logger
from takeover import Takeover
@@ -220,6 +220,11 @@ class OneForAll(object):
self.data = iscdn.check_cdn(self.data)
iscdn.save_db(self.domain, self.data)
# webanalyzer
analyzer = webanalyzer.Webanalyzer()
self.data = analyzer.run(self.data)
analyzer.save_db(self.domain,self.data)
# Add the final result list to the total data list
self.datas.extend(self.data)