From 699578abed6fd5811933fd13a73503f6da93e297 Mon Sep 17 00:00:00 2001 From: derv82 Date: Sun, 1 Apr 2018 15:57:58 -0400 Subject: [PATCH] Allow spaces in target selection (e.g. 3, 4, 7-8) --- wifite/util/scanner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wifite/util/scanner.py b/wifite/util/scanner.py index 33d8eb9..8162c71 100755 --- a/wifite/util/scanner.py +++ b/wifite/util/scanner.py @@ -199,7 +199,8 @@ class Scanner(object): chosen_targets = [] for choice in raw_input(Color.s(input_str)).split(','): - if choice == 'all': + choice = choice.strip() + if choice.lower() == 'all': chosen_targets = self.targets break if '-' in choice: