From c48df50edf5b0ed7e1e4d3f3023dc97b35714ee6 Mon Sep 17 00:00:00 2001 From: "[BR]John_Magdy" <19735243+Zorono@users.noreply.github.com> Date: Thu, 29 Apr 2021 21:34:27 +0000 Subject: [PATCH] Update wifi_dos_type1.py --- wifi_dos_type1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi_dos_type1.py b/wifi_dos_type1.py index 4224659..b753a3b 100644 --- a/wifi_dos_type1.py +++ b/wifi_dos_type1.py @@ -77,7 +77,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("^(?:wlan[0-9]|wlo\d)+") # Python allows is to run system commands by using a function provided by the subprocess module. # subprocess.run()