Initial commit, basic helper classes created

This commit is contained in:
derv82
2015-05-27 09:17:09 -07:00
commit 33dff208ed
10 changed files with 619 additions and 0 deletions

19
py/CapFile.py Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/python
class CapFile(object):
"""
Holds data about an access point's .cap file,
including filename, AP's ESSID & BSSID.
"""
def __init__(self, filename, ssid, bssid):
self.filename = filename
self.ssid = ssid
self.bssid = bssid
def __str__(self):
return self.filename
if __name__ == '__main__':
c = CapFile("cap-01.cap", "My Router", "AA:BB:CC:DD:EE:FF")
print c