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

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.

Awesome Lists containing this project

README

          


👺 Goblin


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
[+]