Skip to content

Instantly share code, notes, and snippets.

@ogu83
Created September 13, 2023 17:48
Show Gist options
  • Select an option

  • Save ogu83/40e0e60dfe39f78341735510375c8443 to your computer and use it in GitHub Desktop.

Select an option

Save ogu83/40e0e60dfe39f78341735510375c8443 to your computer and use it in GitHub Desktop.
WIFI CAP To hashcat hash (multi) Converter
import os
import pathlib
from tqdm import tqdm
path = "./hs"
files = [f for f in os.listdir(path) if pathlib.Path(f).suffix == ".cap"]
for file in tqdm(files):
filename = pathlib.Path(file).stem
os.system(f'sudo /usr/lib/hashcat-utils/cap2hccapx.bin {path}/{file} {path}/{filename}.hccap')
@ogu83
Copy link
Author

ogu83 commented Sep 13, 2023

Convert WPA / WPA2 PCAP Capture File To Hashcat Compatible Format, the result can be used on hashcat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment