Category : process

I want to know how the system function can give me more privilege to execute program under system32 and CreateProcessA function doesn’t? The code I tested: int main() { STARTUPINFOA si; PROCESS_INFORMATION pi; memset(&si, 0, sizeof(STARTUPINFOA)); memset(&pi, 0, sizeof(PROCESS_INFORMATION)); std::string path = "C:WindowsSystem32ComputerDefaults.exe"; system(("start " + path).c_str()); if (CreateProcessA(path.c_str(), NULL, NULL, NULL, FALSE, NORMAL_PRIORITY_CLASS, NULL, ..

Read more

I need to get D3D9.dll exports, how i get this ? I tried to use EnumProcessModules BOOL EnumProcessModules( HANDLE hProcess, HMODULE *lphModule, DWORD cb, LPDWORD lpcbNeeded ); for lphModule, GetModuleBaseNameDWORD GetModuleBaseNameA( HANDLE hProcess, HMODULE hModule, LPSTR lpBaseName, DWORD nSize ); for hModule but no result, i should get Name and VA. This is what i ..

Read more

Programm_A int main() { std::cout << "Process ID = " << GetCurrentProcessId() << "n"; // Id my process (i get something like ‘37567’) std::string My_String = "JoJo"; // My string std::cout << &My_String << std::endl; //here i get something like ‘0x0037ab7’ system("pause"); } This program just outputs reference of string "JoJo" to console. Programm_B int ..

Read more