From 928d2cd01fd5531084961f33be162de106a03ae1 Mon Sep 17 00:00:00 2001 From: 0xv1n <11021725+0xv1n@users.noreply.github.com> Date: Thu, 4 May 2023 20:27:54 -0400 Subject: [PATCH] Adds Havoc C2 module. --- modules/post-exploitation/havoc.py | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 modules/post-exploitation/havoc.py diff --git a/modules/post-exploitation/havoc.py b/modules/post-exploitation/havoc.py new file mode 100644 index 00000000..7122767a --- /dev/null +++ b/modules/post-exploitation/havoc.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python +##################################### +# Installation module for Havoc C2 +##################################### + +# AUTHOR OF MODULE NAME +AUTHOR="0xv1n" + +# DESCRIPTION OF THE MODULE +DESCRIPTION="This module will install/update Havoc C2." + +# INSTALL TYPE GIT, SVN, FILE DOWNLOAD +# OPTIONS = GIT, SVN, FILE +INSTALL_TYPE="GIT" + +# LOCATION OF THE FILE OR GIT/SVN REPOSITORY +REPOSITORY_LOCATION="https://github.com/HavocFramework/Havoc" + +# WHERE DO YOU WANT TO INSTALL IT +INSTALL_LOCATION="havoc" + +# DEPENDS FOR DEBIAN INSTALLS +DEBIAN="git, build-essential, apt-utils, cmake, libfontconfig1, libglu1-mesa-dev, libgtest-dev, libspdlog-dev, libboost-all-dev, libncurses5-dev, libgdbm-dev, libssl-dev, libreadline-dev, libffi-dev, libsqlite3-dev, libbz2-dev, mesa-common-dev, qtbase5-dev, qtchooser, qt5-qmake, qtbase5-dev-tools, libqt5websockets5, libqt5websockets5-dev, qtdeclarative5-dev, golang-go, qtbase5-dev, libqt5websockets5-dev, python3-dev, libboost-all-dev, mingw-w64, nasm" + +# DEPENDS FOR FEDORA INSTALLS +FEDORA="git" + +# COMMANDS TO RUN AFTER +AFTER_COMMANDS="cd {INSTALL_LOCATION}, cd teamserver, go mod download golang.org/x/sys, go mod download github.com/ugorji/go, cd {INSTALL_LOCATION}, make ts-build, make client-build" + +# THIS WILL CREATE AN AUTOMATIC LAUNCHER FOR THE TOOL +LAUNCHER="" + +# PREREQ INSTALL MODULES NEEDED FOR THIS TOOL TO WORK PROPERLY +TOOL_DEPEND=""