Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lupin3000/hcxtools

alpine hcxpcaptool Dockerfile for conversion of cap/pcap/pcapng WiFi dump files to hashcat formats
https://github.com/lupin3000/hcxtools

alpine docker dockerfile hcxpcaptool hcxtools

Last synced: 1 day ago
JSON representation

alpine hcxpcaptool Dockerfile for conversion of cap/pcap/pcapng WiFi dump files to hashcat formats

Awesome Lists containing this project

README

        

# hcxtools

Simple alpine hcxpcaptool Dockerfile for conversion of cap/pcap/pcapng WiFi dump files to hashcat formats. The original repository of hcxtools can be found on https://github.com/ZerBea/hcxtools.

## Download from DockerHub

You can use the image from DockerHub.

```shell
# pull from DockerHub
$ docker pull slorenz/hcxpcaptool
```

## Build by your self

If you don't like to use my Docker image from [DockerHub](https://hub.docker.com/r/slorenz/hcxpcaptool), you can build by your self after clone. Here an example...

```shell
# change into directory of Dockerfile
$ cd /path/of/Dockerfile

# run Docker build
$ docker build --pull -t slorenz/hcxpcaptool .
```

## Usage

After download/build of image the following way can be used:

```shell
# create Project and cap directory
$ mkdir -p ~/Projects/MyCapFiles/cap

# change into project
$ cd ~/Projects/MyCapFiles

# copy pcap files into cap directory
$ cp ~/bettercap-wifi-handshakes.pcap cap/

# run Docker container
$ docker run -ti --rm --mount src="$(pwd)/cap",target=/hcxpcaptool,type=bind slorenz/hcxpcaptool bettercap-wifi-handshakes.pcap

# read converted output file
$ cat cap/pmkid.16800
```

**Note:** Inside the container, the directory "/hcxpcaptool" must contain the captured cap/pcap/pcapng WiFi dump to convert.

In the example above I use "bettercap-wifi-handshakes.pcap" which is stored inside local "cap" directory (_what I mount into the specific directory_). After successful execution the (_text_) file "pmkid.16800" is generated.