https://github.com/pungrumpy/goblin
👺 Goblin is a command-line tool for hashing and reversing hashes using Jenkins' one time hash function.
https://github.com/pungrumpy/goblin
Last synced: 11 months ago
JSON representation
👺 Goblin is a command-line tool for hashing and reversing hashes using Jenkins' one time hash function.
- Host: GitHub
- URL: https://github.com/pungrumpy/goblin
- Owner: PunGrumpy
- License: mit
- Created: 2023-06-18T08:56:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T05:41:26.000Z (over 2 years ago)
- Last Synced: 2025-01-27T06:32:16.686Z (about 1 year ago)
- Language: Go
- Size: 2.3 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
👺 Goblin
## `📖` About
**Goblin** is a command-line tool that helps you to generate and reverse **Jenkins** pipelines.
## `📦` Installation
### `🐀` Go
```bash
go get -u github.com/PunGrumpy/goblin
```
### `🍺` Homebrew
```bash
brew tap PunGrumpy/formulas
brew install goblin
```
## `📝` Usage
```bash
goblin [command]
```
## `📚` Commands
| 💬 Command | 📖 Description | 🔬 Parameters |
| :--------: | :-------------------------------------------------------: | :----------------------------------: |
| `hash` | Hash the given string | `string` |
| `reverse` | Reverse the given string and find all possible pre-images | `target`
`length`
`characters` |
### `hash`
```bash
goblin hash [string]
```
> **Note**: This command `hash` the provided string and displays the `hexadecimal`, `decimal` and `binary` values.
### `reverse`
```bash
goblin reverse --target [target] --length [length] [--characters [characters]]
```
> **Note**: This command `reverse` the given hash and find all possible pre-images of the specified length.
## `🖥️` Examples
### `hash`
```bash
goblin hash "Hello World"
[*] Jenkins' one time hash for "Hello World":
[+] Hexadecimal: 0xBA5A14
[+] Decimal: 12212756
[+] Binary: 101110100101101000010100
```
### `reverse`
```bash
goblin reverse --target 123456 --length 6
[*] Possible pre-images of length 6 for hash 123456:
[+] lBSufP
[+] @Hu8kL
[+] TJhHgm
[+] u6vnjc
[+] XqZECK
[+] 0hqlUv
[+] jPCxyo
[+] =bvaqU
[+] =6COLb
[+] NYqqF8
[+] ?tO73C
[+] =bvevi
[+]