Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
stasinopoulos committed Apr 8, 2024
1 parent be30ea0 commit 914d564
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/core/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,10 @@ def main(filename, url, http_request_method):

# Check if defined "--wizard" option.
if menu.options.wizard:
if not menu.options.url and not settings.STDIN_PARSING:
message = "Enter full target URL (-u) > "
if menu.options.url:
print(settings.print_message(message + str(menu.options.url)))
elif not menu.options.url and not settings.STDIN_PARSING:
while True:
message = "Enter full target URL (-u) > "
menu.options.url = common.read_input(message, default=None, check_batch=True)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def sys_argv_errors():
DESCRIPTION = "The command injection exploiter"
AUTHOR = "Anastasios Stasinopoulos"
VERSION_NUM = "4.0"
REVISION = "23"
REVISION = "24"
STABLE_RELEASE = False
VERSION = "v"
if STABLE_RELEASE:
Expand Down

0 comments on commit 914d564

Please sign in to comment.