diff --git a/wifi_dos_type1.py b/wifi_dos_type1.py index 42ebb32..0ed03a6 100644 --- a/wifi_dos_type1.py +++ b/wifi_dos_type1.py @@ -79,7 +79,7 @@ def check_for_essid(essid, lst): shutil.move(file_name, directory + "/backup/" + str(timestamp) + "-" + file_name) # Regex to find wireless interfaces. We're making the assumption they will all be wlan0 or higher. -wlan_pattern = re.compile("^wlan[0-9]+") +wlan_pattern = re.compile("^wlp[A-Za-z0-9]+|^wlan[0-9]+") # Python allows is to run system commands by using a function provided by the subprocess module. # subprocess.run()