-mac option to randomize mac before attack

Resets mac back after attack using macchanger's -p option.

Requested in #2
This commit is contained in:
derv82
2017-05-14 20:25:30 -04:00
parent 8460d5e78d
commit 0a6e0d8ee7
3 changed files with 95 additions and 0 deletions

View File

@@ -30,6 +30,11 @@ class Arguments(object):
type=int,
help=Color.s('Wireless channel to scan (default: {G}all channels{W})'))
glob.add_argument('--channel', help=argparse.SUPPRESS, action='store', dest='channel', type=int)
glob.add_argument('-mac',
'---random-mac',
action='store_true',
dest='random_mac',
help=Color.s('Randomize wireless card MAC address (default: {G}off{W})'))
glob.add_argument('-5',
'--5ghz',
action='store_true',