Skip to content

Commit

Permalink
Fix #48
Browse files Browse the repository at this point in the history
  • Loading branch information
acecilia committed Dec 2, 2020
1 parent 172c233 commit 801714e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions remote_command_execution_vulnerability.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@

# make config file
speed_test_filename = "speedtest_urls.xml"
with open("speedtest_urls_template.xml", "rt") as f:
with open("speedtest_urls_template.xml", "rt", encoding = "UTF-8") as f:
template = f.read()
data = template.format(router_ip_address=router_ip_address, command=command)
# print(data)
with open("build/speedtest_urls.xml", 'wt') as f:
with open("build/speedtest_urls.xml", "wt", encoding = "UTF-8") as f:
f.write(data)

print("****************")
Expand Down

2 comments on commit 801714e

@sijanec
Copy link

@sijanec sijanec commented on 801714e Dec 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please create a new release including this commit?

Let's say 0.5.1?
Thanks!

@acecilia
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, 0.0.6 😄

Please sign in to comment.