Skip to content

Commit 12f6818

Browse files
committed
1 parent bf9c2c0 commit 12f6818

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/core/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def main(filename, url):
721721
print(settings.print_critical_msg(err_msg))
722722
raise SystemExit()
723723

724-
if int(menu.options.failed_tries) == 0:
724+
if menu.options.failed_tries == 0:
725725
err_msg = "You must specify '--failed-tries' value, greater than zero."
726726
print(settings.print_critical_msg(err_msg))
727727
raise SystemExit()

src/utils/menu.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ def banner():
536536

537537
detection.add_option("--failed-tries",
538538
action="store",
539+
type="int",
539540
dest="failed_tries",
540541
default=20,
541542
help="Set a number of failed injection tries, in file-based technique.")

src/utils/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def sys_argv_errors():
216216
DESCRIPTION = "The command injection exploiter"
217217
AUTHOR = "Anastasios Stasinopoulos"
218218
VERSION_NUM = "3.3"
219-
REVISION = "34"
219+
REVISION = "35"
220220
STABLE_RELEASE = False
221221
if STABLE_RELEASE:
222222
VERSION = "v" + VERSION_NUM + "-stable"

0 commit comments

Comments
 (0)