Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK-14] feat: add wordlist output for usage with other tools #121

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ in with a rules[^1] section in your pillager.toml file, or you can use the defau
verbose = false
path = "."
workers = 4
redact = true
redact = false
reporter = "json-pretty"

# Rules for secret detection
Expand Down Expand Up @@ -147,18 +147,24 @@ pillager hunt .
pillager hunt ./example -f json | jq
```

#### Wordlist

```shell
# Use pillager to generate a new-line delimited wordlist from findings
pillager hunt . -f wordlist
```

```shell
# Use pillager to append a wordlist and then use your favorite hashcat attack mode
pillager hunt ./ -f wordlist >> rockyou.txt && hashcat -a 0 hash.txt rockyou.txt
```

> _JSON output is designed to work seamlessly with the amazing [jq](https://github.com/stedolan/jq) utility for easy parsing._

<details>
<summary>Click to view more output formats</summary>
<br>

#### YAML

```shell
pillager hunt . -f yaml
```

#### JSON Pretty

```shell
Expand All @@ -171,12 +177,6 @@ pillager hunt . -f json-pretty
pillager hunt . -f html > results.html
```

#### HTML Table

```shell
pillager hunt . -f html-table > results.html
```

#### Markdown

```shell
Expand Down
175 changes: 0 additions & 175 deletions internal/templates/html-table.tmpl

This file was deleted.

Loading
Loading