File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -721,7 +721,7 @@ def main(filename, url):
721
721
print (settings .print_critical_msg (err_msg ))
722
722
raise SystemExit ()
723
723
724
- if int ( menu .options .failed_tries ) == 0 :
724
+ if menu .options .failed_tries == 0 :
725
725
err_msg = "You must specify '--failed-tries' value, greater than zero."
726
726
print (settings .print_critical_msg (err_msg ))
727
727
raise SystemExit ()
Original file line number Diff line number Diff line change @@ -536,6 +536,7 @@ def banner():
536
536
537
537
detection .add_option ("--failed-tries" ,
538
538
action = "store" ,
539
+ type = "int" ,
539
540
dest = "failed_tries" ,
540
541
default = 20 ,
541
542
help = "Set a number of failed injection tries, in file-based technique." )
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ def sys_argv_errors():
216
216
DESCRIPTION = "The command injection exploiter"
217
217
AUTHOR = "Anastasios Stasinopoulos"
218
218
VERSION_NUM = "3.3"
219
- REVISION = "34 "
219
+ REVISION = "35 "
220
220
STABLE_RELEASE = False
221
221
if STABLE_RELEASE :
222
222
VERSION = "v" + VERSION_NUM + "-stable"
You can’t perform that action at this time.
0 commit comments