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