Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)