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