Example #1
0
 def testAnalyze(self):
     hs_file = self.getFile('handshake_exists.cap')
     hs = Handshake(hs_file, bssid='A4:2B:8C:16:6B:3A')
     try:
         hs.analyze()
     except Exception:
         exit()
Example #2
0
 def testAnalyze(self):
     hs_file = self.getFile('handshake_exists.cap')
     hs = Handshake(hs_file, bssid='A4:2B:8C:16:6B:3A')
     try:
         hs.analyze()
     except Exception:
         fail()
Example #3
0
 def testHandshakeAircrack(self):
     hs_file = self.getFile('handshake_exists.cap')
     hs = Handshake(hs_file, bssid='A4:2B:8C:16:6B:3A')
     assert(len(hs.aircrack_handshakes()) > 0)
Example #4
0
 def testHandshakeCowpatty(self):
     hs_file = self.getFile('handshake_exists.cap')
     hs = Handshake(hs_file, bssid='A4:2B:8C:16:6B:3A')
     hs.divine_bssid_and_essid()
     assert(len(hs.cowpatty_handshakes()) > 0)
Example #5
0
 def testHandshakeAircrack(self):
     hs_file = self.getFile('handshake_exists.cap')
     hs = Handshake(hs_file, bssid='A4:2B:8C:16:6B:3A')
     assert(len(hs.aircrack_handshakes()) > 0)
Example #6
0
 def testHandshakeCowpatty(self):
     hs_file = self.getFile('handshake_exists.cap')
     hs = Handshake(hs_file, bssid='A4:2B:8C:16:6B:3A')
     hs.divine_bssid_and_essid()
     assert(len(hs.cowpatty_handshakes()) > 0)