Пример #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()
Пример #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()
Пример #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)
Пример #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)
Пример #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)
Пример #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)