@@ -43,18 +43,17 @@ def requests(self):
43
43
"""List of previously issued requests."""
44
44
return self .symfony .requests
45
45
46
- def run (self , check_only = False , wordlists = None , threads = 10 ):
46
+ def run (self , wordlists = None , threads = 10 ):
47
47
"""
48
48
Run scan.
49
49
50
- 1. Ensure the target is reachable and in debug mode
50
+ 1. Start engine
51
51
2. Load plugins and run them
52
52
3. Output tokens generated from issued requests
53
53
54
54
Scans can be performed in aggressive mode where aggressive plugins will be run.
55
55
The engine can be configured using a different wordlists and a specific number of threads.
56
56
57
- :param check_only: only perform checks on target, do not run plugins
58
57
:param wordlists: wordlists file or directory
59
58
:param threads: number of workers to run simultaneously
60
59
"""
@@ -64,21 +63,15 @@ def run(self, check_only=False, wordlists=None, threads=10):
64
63
self .log .info ('%s is a great day' , start )
65
64
wordlists = wordlists or self .wordlists
66
65
67
- # Checks
68
- print ()
69
- self .check ()
70
-
71
- # Stop if only check
72
- if not check_only :
73
- # Start engine, load and run plugins
74
- engine = Engine (threads , session = self .session )
75
- engine .start ()
76
- try :
77
- options = dict (wordlists = wordlists , output = self .output )
78
- manager = PluginManager (symfony = self .symfony , engine = engine , ** options )
79
- manager .run ()
80
- finally :
81
- engine .stop ()
66
+ # Start engine, load and run plugins
67
+ engine = Engine (threads , session = self .session )
68
+ engine .start ()
69
+ try :
70
+ options = dict (wordlists = wordlists , output = self .output )
71
+ manager = PluginManager (symfony = self .symfony , engine = engine , ** options )
72
+ manager .run ()
73
+ finally :
74
+ engine .stop ()
82
75
83
76
if self .symfony .files and self .output :
84
77
print ()
0 commit comments