Files
maxDcb-C2Core/modules/Chisel/Chisel.hpp
T
maxdcb c0e55a659d Minor
2025-05-19 11:13:34 -04:00

39 lines
620 B
C++

#pragma once
#include "ModuleCmd.hpp"
class Chisel : public ModuleCmd
{
public:
Chisel();
~Chisel();
std::string getInfo();
int init(std::vector<std::string>& splitedCmd, C2Message& c2Message);
int process(C2Message& c2Message, C2Message& c2RetMessage);
int followUp(const C2Message &c2RetMessage);
int osCompatibility()
{
return OS_WINDOWS;
}
private:
std::vector<std::pair<int, std::string>> m_instances;
};
#ifdef _WIN32
extern "C" __declspec(dllexport) Chisel * A_ChiselConstructor();
#else
extern "C" __attribute__((visibility("default"))) Chisel * ChiselConstructor();
#endif