MCPcopy Create free account
hub / github.com/SafeBreach-Labs/PoolParty / AllocateShellcodeMemory

Method AllocateShellcodeMemory

PoolParty/PoolParty.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50LPVOID PoolParty::AllocateShellcodeMemory() const
51{
52 LPVOID ShellcodeAddress = w_VirtualAllocEx(*m_p_hTargetPid, m_szShellcodeSize, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
53 BOOST_LOG_TRIVIAL(info) << boost::format("Allocated shellcode memory in the target process: %p") % ShellcodeAddress;
54 return ShellcodeAddress;
55}
56
57void PoolParty::WriteShellcode() const
58{

Callers 1

InjectMethod · 0.95

Calls 1

w_VirtualAllocExFunction · 0.85

Tested by

no test coverage detected