Skip to content

wpatoolkit/Cap-Converter

Repository files navigation

Cap-Converter

This is a small GUI tool for Windows that can open, edit and save WPA hash information from CAP and HCCAP files. It can...
  1. Convert CAP files to HCCAP files
  2. Convert HCCAP files back to CAP files
  3. Preview and edit the contents of an HCCAP file

It does not require any external programs or dependencies to be installed (such as Wireshark, WinPcap or libpcap). It directly reads and writes the raw bytes of the files.

Before converting it is recommended that you clean your caps first manually using Wireshark or with pyrit using the command...

pyrit -r INPUT.CAP -o OUTPUT.CAP strip

to only contain one handshake for one network but even if you don't this program will still make it's best attempt at extracting the correct WPA handshake information.

How to Convert CAP to HCCAP

  1. Press the "Open CAP..." button to open a .CAP file
  2. Verify the hash information looks correct in the "HCCAP Info" box
  3. Press the "Save As HCCAP..." button to save the information to an .HCCAP file

How to Convert HCCAP to CAP

  1. Press the "Open HCCAP..." button to open a .HCCAP file
  2. Verify the hash information looks correct in the "HCCAP Info" box
  3. Press the "Save As CAP..." button to save the information to a .CAP file

Background
Cracking WPA/WPA2 with oclHashcat requires the use of an HCCAP file which is a custom file format designed specifically for hashcat. Typically this file is created using aircrack-ng (v1.2-beta1 or later) using the command...

aircrack-ng -J HCCAP_FILE CAP_FILE.CAP

or by using this online converter (which is powered by cap2hccap). However if you aren't comfortable with either of those options this program allows you to perform your CAP-to-HCCAP conversions offline with a familiar Windows interface.

This program effectively merges together the functionality and adds a GUI to these existing projects:

  1. analyze_hccap
  2. craft_hccap
  3. hccap2cap

VB6 Runtimes
This program was written in Visual Basic 6 which means it should work on any modern version of Windows but just in case you need to download the VB6 runtimes you can do so from here:

https://www.microsoft.com/en-us/download/details.aspx?id=24417

About

A small GUI tool for converting between cap and hccap files.

Resources

Stars

Watchers

Forks

Packages

No packages published