Created
September 13, 2023 17:48
-
-
Save ogu83/40e0e60dfe39f78341735510375c8443 to your computer and use it in GitHub Desktop.
WIFI CAP To hashcat hash (multi) Converter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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') |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Convert WPA / WPA2 PCAP Capture File To Hashcat Compatible Format, the result can be used on hashcat