MCPcopy
hub / github.com/derv82/wifite2 / __init__

Method __init__

wifite/args.py:11–15  ·  view source on GitHub ↗
(self, configuration)

Source from the content-addressed store, hash-verified

9 ''' Holds arguments used by the Wifite '''
10
11 def __init__(self, configuration):
12 # Hack: Check for -v before parsing args; so we know which commands to display.
13 self.verbose = '-v' in sys.argv or '-hv' in sys.argv or '-vh' in sys.argv
14 self.config = configuration
15 self.args = self.get_arguments()
16
17 def _verbose(self, msg):
18 if self.verbose:

Callers

nothing calls this directly

Calls 1

get_argumentsMethod · 0.95

Tested by

no test coverage detected