Config is static, Wash wrapper

This commit is contained in:
derv82
2015-05-28 08:26:42 -07:00
parent 8953cfa092
commit b22de11df7
3 changed files with 117 additions and 45 deletions

View File

@@ -61,7 +61,10 @@ class Target(object):
def __str__(self):
''' *Colored* string representation of this Target '''
'''
*Colored* string representation of this Target.
Specifically formatted for the "scanning" table view.
'''
max_essid_len = 25
essid = self.essid
@@ -114,6 +117,7 @@ class Target(object):
@staticmethod
def print_header():
''' Prints header rows for "scanning" table view '''
print ' NUM ESSID CH ENCR POWER WPS? CLIENT'
print ' --- ------------------------- -- ---- ----- ---- ------'