Skip to content

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

Notifications You must be signed in to change notification settings

Pwn3rzs/HAK5-C2-License-Toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Hak5 Cloud C2 Licensing Toolkit

Usage

  • Get the patched binaries here:
  • 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-<x.x.x>_<arch>_<os>(.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:

Info

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages