Skip to content

Commit

Permalink
args.py: Select multiple scan channels
Browse files Browse the repository at this point in the history
Remove the integer restriction for selecting a channel.
Doing so we pass the argument from wifite directly to
airodump which does support the format 1,3-7,11-13.
  • Loading branch information
RaduNico committed Sep 24, 2018
1 parent e190794 commit be55ecb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wifite/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ def _add_global_args(self, glob):
action='store',
dest='channel',
metavar='[channel]',
type=int,
help=Color.s('Wireless channel to scan (default: {G}all 2Ghz channels{W})'))
help=Color.s('Wireless channel to scan e.g. {C}1,3-6{W} ' +
'(default: {G}all 2Ghz channels{W})'))
glob.add_argument('--channel', help=argparse.SUPPRESS, action='store',
dest='channel', type=int)
dest='channel')

glob.add_argument('-5',
'--5ghz',
Expand Down

0 comments on commit be55ecb

Please sign in to comment.