mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
优化
This commit is contained in:
+3
-3
@@ -483,12 +483,12 @@ class Brute(Module):
|
||||
return dict_set
|
||||
|
||||
def check_brute_params(self):
|
||||
if not (self.word or self.fuzz):
|
||||
logger.log('FATAL', f'请至少指定一种爆破模式')
|
||||
exit(1)
|
||||
if len(self.domains) > 1:
|
||||
self.bulk = True
|
||||
if self.fuzz:
|
||||
if not (self.word or self.fuzz):
|
||||
logger.log('FATAL', f'请至少指定一种爆破模式')
|
||||
exit(1)
|
||||
if self.place is None or self.rule is None:
|
||||
logger.log('FATAL', f'没有指定fuzz位置或规则')
|
||||
exit(1)
|
||||
|
||||
Reference in New Issue
Block a user