Skip to content

Commit

Permalink
docs: add missing INFILE (#1)
Browse files Browse the repository at this point in the history
* docs: add missing INFILE

* docs: fix missing /

* docs: remove variable based instructions
  • Loading branch information
bigpick authored Aug 20, 2024
1 parent 0b4f1c0 commit 51cac64
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ See: Latest [published container for more information](https://github.com/orgs/T
For supported `<bin>s`, refer to [currently packaged](#currently-packaged) section.

```bash
export IMG=ghcr.io/thatonepasswordwas40passwords/pcap-extractor
export VERS=0.1.0
export INFILE=/some/absolute/path/to/input.pcap

docker run --rm \
-it \
-v $(pwd):/workdir \
-v ${INFILE}:/input.pcap \
--platform linux/amd64 \
${IMG}:${VERS} <bin> <flags> input.pcap
ghcr.io/thatonepasswordwas40passwords/pcap-extractor:0.1.2 \
<bin> <flags> /input.pcap
```

## Currently packaged
Expand All @@ -32,12 +32,15 @@ docker run --rm \
> Tool to convert raw capture files to Hashcat and JtR readable formats.
```bash
export INFILE=/some/absolute/path/to/input.pcap

docker run --rm \
-it \
-v $(pwd):/workdir \
-v ${INFILE}:/input.pcap \
--platform linux/amd64 \
${IMG}:${VERS} hcxpcapngtool input.pcap -o output.hash
ghcr.io/thatonepasswordwas40passwords/pcap-extractor:0.1.2 \
hcxpcapngtool /input.pcap -o output.hash
```

Genrated hashfile will be in `$(pwd)/output.hash`.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1
0.1.2

0 comments on commit 51cac64

Please sign in to comment.