mirror of
https://github.com/chmod760/CopyReadProcessMemory
synced 2026-06-06 15:24:30 +00:00
29 lines
447 B
C++
29 lines
447 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
enum class InputMode
|
|
{
|
|
None,
|
|
StringInject,
|
|
FilePath,
|
|
RemotePayload
|
|
};
|
|
|
|
struct ParsedArguments
|
|
{
|
|
bool show_help = false;
|
|
bool show_version = false;
|
|
|
|
std::string xor_key;
|
|
|
|
bool execute = false;
|
|
|
|
InputMode mode = InputMode::None;
|
|
|
|
std::string string_inject;
|
|
std::string file_path;
|
|
std::string remote_payload;
|
|
};
|
|
|
|
ParsedArguments parse_arguments(int argc, char* argv[]);
|