/* * File: ShellCodeUserInput.h * Authors: Max Hirschberger & Ogulcan Ugur */ #ifndef SHELLCODE_USERINPUT_H #define SHELLCODE_USERINPUT_H #include #include class ShellCodeUserInput { public: static std::vector GetConsoleInput(); static std::vector GetURLInput(); private: ShellCodeUserInput(); static bool ParseUserShellCode(const std::string& user_shellcode, std::vector& res, bool& requires_wrap); static bool ParseNibble(char c, uint8_t& nibble); }; #endif // SHELLCODE_USERINPUT_H