Skip to content

Commit

Permalink
Potential fix for #975 #976
Browse files Browse the repository at this point in the history
  • Loading branch information
stasinopoulos committed Nov 7, 2024
1 parent 05b3b51 commit 7d4db1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def store_crawling(output_href):
settings.print_data_to_stdout(settings.print_info_msg(info_msg))
with open(filename, "a") as crawling_results:
for url in output_href:
crawling_results.write(url + "\n")
crawling_results.write(url.encode(settings.DEFAULT_CODEC).decode() + "\n")
return
elif message in settings.CHOICE_NO:
return
Expand Down
2 changes: 1 addition & 1 deletion src/utils/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def sys_argv_errors():
DESCRIPTION = "The command injection exploiter"
AUTHOR = "Anastasios Stasinopoulos"
VERSION_NUM = "4.0"
REVISION = "109"
REVISION = "110"
STABLE_RELEASE = False
VERSION = "v"
if STABLE_RELEASE:
Expand Down

0 comments on commit 7d4db1a

Please sign in to comment.