Skip to content

Commit

Permalink
Allow spaces in target selection (e.g. 3, 4, 7-8)
Browse files Browse the repository at this point in the history
  • Loading branch information
derv82 committed Apr 1, 2018
1 parent 57ad097 commit 699578a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wifite/util/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ def select_targets(self):
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:
Expand Down

0 comments on commit 699578a

Please sign in to comment.