Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lupin3000/hcxtools
- Owner: Lupin3000
- Created: 2020-05-21T14:19:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-06T06:01:41.000Z (over 4 years ago)
- Last Synced: 2024-11-28T01:30:11.649Z (2 months ago)
- Topics: alpine, docker, dockerfile, hcxpcaptool, hcxtools
- Language: Dockerfile
- Homepage: https://softwaretester.info
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.