#ifndef FUZZING_MESSAGEGENERATOR #define FUZZING_MESSAGEGENERATOR enum FIELD { NONE, TO, FROM, CALLID, CSEQ }; enum FUZZTYPE { NA, SHELLINJECTION, COMMANDINJECTION, REPEAT }; #include #include "SessionInfo.h" class MessageGenerator { public: MessageGenerator(); std::string generateMessage(SessionInfo* info, MESSAGE_TYPE messageType, FIELD field, FUZZTYPE type, int arg1, std::string arg2); std::string generateTag(); private: std::string fuzz(std::string toFuzz, FUZZTYPE method); }; #endif