I'm trying to get this working out-of-the-box, and hitting a snag. When I try to run it against both calc.exe and a simple "Hello World" file, I get the following error.
[-] Stub not loaded
[-] Adding the stub failed!
I recompiled with debug in the peconv library, and the error being returned comes from this block:
HRSRC res = FindResourceA(hInstance, MAKEINTRESOURCEA(res_id), res_type);
if (!res) {
ifdef _DEBUG
std::cerr << "Cannot find resource" << std::endl;
endif
return nullptr;
}
Am I feeding something incorrect to the program? My arguments are just calc.exe and HelloWorld.exe, making sure those exe files are local to the execution directory.
I'm trying to get this working out-of-the-box, and hitting a snag. When I try to run it against both calc.exe and a simple "Hello World" file, I get the following error.
[-] Stub not loaded [-] Adding the stub failed!
I recompiled with debug in the peconv library, and the error being returned comes from this block: HRSRC res = FindResourceA(hInstance, MAKEINTRESOURCEA(res_id), res_type); if (!res) {
ifdef _DEBUG
endif
Am I feeding something incorrect to the program? My arguments are just calc.exe and HelloWorld.exe, making sure those exe files are local to the execution directory.