Removed hashie interval and deprecated functions of hcxpcapngtool.

This commit is contained in:
Jeroen Oudshoorn
2024-01-23 14:35:12 +01:00
parent 5414fdf21d
commit a50ec4a65c

View File

@ -99,17 +99,15 @@ class Hashie(plugins.Plugin):
if os.path.isfile(fullpathNoExt + '.22000'): if os.path.isfile(fullpathNoExt + '.22000'):
logging.debug('[Hashie] [+] EAPOL Success: {}.22000 created'.format(filename)) logging.debug('[Hashie] [+] EAPOL Success: {}.22000 created'.format(filename))
return True return True
else:
return False return False
def _writePMKID(self, fullpath, apJSON): def _writePMKID(self, fullpath):
fullpathNoExt = fullpath.split('.')[0] fullpathNoExt = fullpath.split('.')[0]
filename = fullpath.split('/')[-1:][0].split('.')[0] filename = fullpath.split('/')[-1:][0].split('.')[0]
subprocess.run('hcxpcapngtool -o {}.16800 {} >/dev/null 2>&1'.format(fullpathNoExt, fullpath)) subprocess.run('hcxpcapngtool -o {}.16800 {} >/dev/null 2>&1'.format(fullpathNoExt, fullpath))
if os.path.isfile(fullpathNoExt + '.16800'): if os.path.isfile(fullpathNoExt + '.16800'):
logging.debug('[Hashie] [+] PMKID Success: {}.16800 created'.format(filename)) logging.debug('[Hashie] [+] PMKID Success: {}.16800 created'.format(filename))
return True return True
else: # make a raw dump
return False return False
def _process_stale_pcaps(self, handshake_dir): def _process_stale_pcaps(self, handshake_dir):