mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
调整代码位置
This commit is contained in:
@@ -265,6 +265,8 @@ class AIOBrute(Module):
|
|||||||
rx_queue.put(self.results)
|
rx_queue.put(self.results)
|
||||||
|
|
||||||
def run(self, rx_queue=None):
|
def run(self, rx_queue=None):
|
||||||
|
if rx_queue is None:
|
||||||
|
rx_queue = queue.Queue()
|
||||||
self.domains = utils.get_domains(self.target)
|
self.domains = utils.get_domains(self.target)
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
asyncio.set_event_loop(loop)
|
asyncio.set_event_loop(loop)
|
||||||
@@ -272,8 +274,6 @@ class AIOBrute(Module):
|
|||||||
start = time.time()
|
start = time.time()
|
||||||
db = Database()
|
db = Database()
|
||||||
db.create_table(self.domain)
|
db.create_table(self.domain)
|
||||||
if not rx_queue:
|
|
||||||
rx_queue = queue.Queue()
|
|
||||||
logger.log('INFOR', f'开始执行{self.source}模块爆破域名{self.domain}')
|
logger.log('INFOR', f'开始执行{self.source}模块爆破域名{self.domain}')
|
||||||
logger.log('INFOR', f'使用{self.process}进程乘{self.coroutine}协程')
|
logger.log('INFOR', f'使用{self.process}进程乘{self.coroutine}协程')
|
||||||
# fuzz模式不使用递归爆破
|
# fuzz模式不使用递归爆破
|
||||||
|
|||||||
Reference in New Issue
Block a user