Skip to content

Commit

Permalink
Fix script so it works on Windows (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
Forsari0 authored Oct 2, 2021
1 parent cf10985 commit 4254ea3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion remote_command_execution_vulnerability.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
template = f.read()
data = template.format(router_ip_address=router_ip_address, command=command)
# print(data)
with open("build/speedtest_urls.xml", "wt", encoding = "UTF-8") as f:
with open("build/speedtest_urls.xml", "wt", encoding = "UTF-8", newline = "\n") as f:
f.write(data)

print("****************")
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
pycryptodome
requests

0 comments on commit 4254ea3

Please sign in to comment.