mirror of
https://github.com/maxDcb/C2Core
synced 2026-06-08 15:48:01 +00:00
35 lines
560 B
C++
35 lines
560 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);
|
|
|
|
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
|
|
|