Skip to content

ffx64/macos-havoc-c2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

MACOS Havoc C2 Client

Paper Compile MacOS Havoc C2 Client

Today I had some issues compiling the Havoc Client on my MacOS, and after finding very little content to help, I decided to create this repository to assist others who might be facing the same problem on their MacOS.
Well, I will only talk about the Client because that was the only one I had trouble with, and the only one I needed, as my teamserver is on another Ubuntu server.

Important

Note: I imagine there might be other ways to compile everything without any errors, but this was the only one that worked for me. Downloading the CPP dependencies via brew, as I saw in some issues and even in Havoc's own manual, was a complete disaster.
1. Installing cmake, qt, python, go
brew install cmake qt@5 python@3.10 && brew link --overwrite qt@5
1. Cloning the Havoc repository
git clone https://github.com/HavocFramework/Havoc
After cloning the Havoc repository, go to the client and external folders with your terminal, and delete everything.
cd Havoc/client/external && rm -rf *
2. Downloading Havoc's CPP dependencies.
git clone https://github.com/ToruNiina/toml11 && \
git clone https://github.com/fmtlib/fmt && \
git clone https://github.com/gabime/spdlog && \
git clone https://github.com/nlohmann/json && \
cd toml11 && git checkout tags/v3.0.0 && cd ..
3. Configuring the CPP dependencies in Havoc.
To do this, open the CMakeLists.txt file located in the client folder.
Go to line 30, and the code should look like this:
image
Comment out the code in the screenshot above and configure each folder for the dependencies you cloned into the external folder. It should look something like this:
image
Now just run make in the client folder, and the Havoc Client will compile perfectly.
make
After the compilation is finished, you just need to start Havoc from the project's root folder.
$ ./client/Havoc client
image

About

Compile MacOS Havoc C2 Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published