实现finder模块(从响应体和JS文件中再次发现新子域)

This commit is contained in:
Jing Ling
2020-07-24 01:43:59 +08:00
parent 3a935c201d
commit 62d8b76c21
12 changed files with 797 additions and 116 deletions
+6
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.finder import Finder
from config import setting
from config.log import logger
from takeover import Takeover
@@ -209,6 +210,11 @@ class OneForAll(object):
# Save HTTP request result
request.save_db(self.domain, self.data)
# Finder module
if setting.enable_finder_module:
finder = Finder()
self.data = finder.run(self.domain, self.data, self.port)
# Add the final result list to the total data list
self.datas.extend(self.data)