@@ -43,6 +43,9 @@ def cmdLineParser():
4343 parser = OptionParser (usage = usage , version = VERSION_STRING )
4444
4545 try :
46+ parser .add_option ("-v" , dest = "verbose" , type = "int" ,
47+ help = "Verbosity level: 0-5 (default 1)" )
48+
4649 # Target options
4750 target = OptionGroup (parser , "Target" , "At least one of these "
4851 "options has to be specified to set the source "
@@ -161,6 +164,7 @@ def cmdLineParser():
161164 techniques .add_option ("--time-test" , dest = "timeTest" ,
162165 action = "store_true" ,
163166 help = "Test for Time based blind SQL injection" )
167+
164168 techniques .add_option ("--union-test" , dest = "unionTest" ,
165169 action = "store_true" ,
166170 help = "Test for UNION query (inband) SQL injection" )
@@ -293,9 +297,6 @@ def cmdLineParser():
293297 "calculate the estimated time of arrival "
294298 "in real time" )
295299
296- miscellaneous .add_option ("-v" , dest = "verbose" , type = "int" ,
297- help = "Verbosity level: 0-5 (default 1)" )
298-
299300 miscellaneous .add_option ("--update" , dest = "updateAll" , action = "store_true" ,
300301 help = "Update sqlmap to the latest stable version" )
301302
0 commit comments