modulepackage
0.0.0-20230927054125-a030b46ab5ea
Repository: https://github.com/pungrumpy/goblin.git
Documentation: pkg.go.dev
# README
👺
Goblin

📖
About
Goblin is a command-line tool that helps you to generate and reverse Jenkins pipelines.
📦
Installation
🐀
Go
go get -u github.com/PunGrumpy/goblin
🍺
Homebrew
brew tap PunGrumpy/formulas
brew install goblin
📝
Usage
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
goblin hash [string]
Note: This command
hash
the provided string and displays thehexadecimal
,decimal
andbinary
values.
reverse
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
goblin hash "Hello World"
[*] Jenkins' one time hash for "Hello World":
[+] Hexadecimal: 0xBA5A14
[+] Decimal: 12212756
[+] Binary: 101110100101101000010100
reverse
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
[+] <oVNXQ
[+] KW9fWY
📜
License
This project is licensed under the MIT License - see the LICENSE file for details.