From 413a7dac5ed3df6fa2031e9878738ee59b573efe Mon Sep 17 00:00:00 2001 From: Andres Cecilia Luque Date: Sun, 4 Sep 2022 14:40:56 +0200 Subject: [PATCH] Remove support for Windows, as it is reported multiple times that it does not work there --- remote_command_execution_vulnerability.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/remote_command_execution_vulnerability.py b/remote_command_execution_vulnerability.py index 88df62e..3b84a16 100644 --- a/remote_command_execution_vulnerability.py +++ b/remote_command_execution_vulnerability.py @@ -22,7 +22,11 @@ import time import random import hashlib +import platform +if platform.system() == "Windows": + sys.exit("Stopping: script can only be run on a Mac/Linux system") + router_ip_address="miwifi.com" #router_ip_address = "192.168.31.1" router_ip_address = input("Router IP address [press enter for using the default '{}']: ".format(router_ip_address)) or router_ip_address