-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start windows 7 notepad.exe fail #44
Comments
Hi @wch1618 ! sorry for the late response, I am nowadays very busy. So, there are two main problems with notepad.exe: // load delayed imports (if present):
const ULONGLONG loadBase = (ULONGLONG)g_Payload;
peconv::load_delayed_imports(g_Payload, loadBase); But there is a second thing, a bit more problematic - notepad it sensitive to the path it is loaded from. Even if you copy the original notepad.exe on the Desktop, it won't run. It happens because those acceletators are loaded from the MUI file, not from the notepad.exe itself. And for the MUI file to be loaded, the path must match the expected one. What are the workarounds for this? The simplest is to hook those functions / patch the checks, and make the notepad load even without the menu. I managed to run notepad with the help of this loader:
|
Thank you very much. |
Here is code,
Thanks
The text was updated successfully, but these errors were encountered: