def crack_shoot(self, _tgt, _hd=False): if not _hd: self.save() _crk = PSK(self.THEPOL, _tgt['essid'], _tgt['auth'], DICTIONARY, V__, _KEY_) _pass, _pmk, _ptk, _mic = _crk.broot() if _pass: pull.use("Found: %s" % (_pass)) pull.right("PMK: "); print _pmk pull.right("PTK: "); print _ptk pull.right("MIC: "); print _mic else: pull.error("Password not Found! Try enlarging your dictionary!") sys.exit(0) return
def call_PSK(self, eapol, essid, enc): self.psk = PSK(eapol, essid, enc, DICTIONARY, V__, _KEY_) pass__, _PMK_, _KCK_, _MIC_ = self.psk.broot() if pass__: pull.use('Found: %s' % pass__) if V__: pull.right('PMK: ') print _PMK_ pull.right('KCK: ') print _KCK_ pull.right('MIC: ') print _MIC_ return True else: pull.error( "Sorry, but the Password is not in the dictionary. Try enlarging it. " ) return False