MCPcopy Create free account
hub / github.com/Yeuoly/0xUBypass / ShellcodeSplitor

Class ShellcodeSplitor

WindowsShellcodeInjector/ShellcodeSplitor.h:34–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32};
33
34class ShellcodeSplitor {
35private:
36 UINT8 *shellcode;
37 UINT32 length;
38public:
39 ShellcodeSplitor(UINT8 *shellcode, UINT32 length) {
40 this->shellcode = (UINT8 *)malloc(length);
41 for (int i = 0; i < length; i++) {
42 this->shellcode[i] = shellcode[i];
43 }
44 }
45
46 ~ShellcodeSplitor() {
47 if (shellcode != NULL) {
48 free(shellcode);
49 }
50 }
51
52 ShellcodeContainer *split();
53};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected