Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/Pwn3rzs/HAK5-C2-License-Toolkit

Golang tool to help in forcing a license for HAK5 C2 Tool
https://github.com/Pwn3rzs/HAK5-C2-License-Toolkit

Last synced: 3 months ago
JSON representation

Golang tool to help in forcing a license for HAK5 C2 Tool

Awesome Lists containing this project

README

        

# Hak5 Cloud C2 Licensing Toolkit

### Usage

- Get the patched binaries here:
- [Telegram](https://t.me/Pwn3rzs/1119)
- Direct
- From releases: https://github.com/Pwn3rzs/HAK5-C2-License-Toolkit/releases/tag/v3.3.0
- Run `git clone https://github.com/Pwn3rzs/HAK5-C2-License-Toolkit`
- Change dir `cd HAK5-C2-License-Toolkit/`
- Run `go mod init pwn3rzs.cloud/hak5-c2-toolkit`
- Run `go get go.etcd.io/bbolt`
- Run `go build`
- Remember to specify `GOOS` and `GOARCH` for different OS and ARCH, like:
- `GOARCH=arm64 go build -work -ldflags="-s -w" -o HAK5-C2-Toolkit-mac-arm64`
- `GOARCH=amd64 go build -work -ldflags="-s -w" -o HAK5-C2-Toolkit-mac-amd64`
- `GOOS=windows GOARCH=amd64 go build -work -ldflags="-s -w" -o HAK5-C2-Toolkit-win-amd64`
- `GOOS=windows GOARCH=386 go build -work -ldflags="-s -w" -o HAK5-C2-Toolkit-win-i386`
- `GOOS=linux GOARCH=amd64 go build -work -ldflags="-s -w" -o HAK5-C2-Toolkit-lin-amd64`
- `GOOS=linux GOARCH=386 go build -work -ldflags="-s -w" -o HAK5-C2-Toolkit-lin-386`
- Move `./HAK5-C2-License-Toolkit` inside the same path of `c2-__(.exe)` binary
- Run it and choose options
- `generate` to generate a test License struct hex string
- `decode` to decode a License / Status struct hex string
- `read` to read the values inside `Setup[License]` or `Status[Status]` buckets struct hex string from DB
- `crack` to start process of inserting license values inside DB
- **MAKE SURE YOU HAVE REPLACED THE BINARY OR LICENSE WILL RESET**

### How To

Read the public "blog" / "article" / "tutorial" here:
- [CyberArsenal Post](https://cyberarsenal.org/threads/hak5-cloud-c2-analysis-cracking-method.1408/)

### Info

- Database used: [BoltDB](https://github.com/etcd-io/bbolt)
- Encoding used: [GOB](https://pkg.go.dev/encoding/gob)
- Supported version: `v3.3.0`
- Current version: [Hak5 Cloud C2 Updates](https://c2.hak5.org/api/v2/feed)