Filter *out* by ESSID using -E (--ignore-essid)

More refactoring!
This commit is contained in:
derv82
2018-03-17 05:47:02 -04:00
parent a100d53300
commit b5cb8b69f1
5 changed files with 24 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ class Arguments(object):
action='count',
default=0,
dest='verbose',
help=Color.s('Shows more options (-h) and the executed commands (default: {G}quiet{W})'))
help=Color.s('Shows more options ({C}-h -v{W}). Prints tool outputs. (default: {G}quiet{W})'))
glob.add_argument('-i',
action='store',
@@ -109,6 +109,15 @@ class Arguments(object):
help=self._verbose('ESSID (e.g. {GR}NETGEAR07{W}) of access point to attack'))
glob.add_argument('--essid', help=argparse.SUPPRESS, action='store', dest='target_essid', type=str)
glob.add_argument('-E',
action='store',
dest='ignore_essid',
metavar='[text]',
type=str,
default=None,
help=self._verbose('Hides targets with ESSIDs that match the given text'))
glob.add_argument('--ignore-essid', help=argparse.SUPPRESS, action='store', dest='ignore_essid', type=str)
glob.add_argument('--showb',
action='store_true',
dest='show_bssids',