diff --git a/remote_command_execution_vulnerability.py b/remote_command_execution_vulnerability.py index f41b89c..27a1ac5 100644 --- a/remote_command_execution_vulnerability.py +++ b/remote_command_execution_vulnerability.py @@ -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("****************") diff --git a/requirements.txt b/requirements.txt index e9194e0..f229360 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ -pycryptodome requests