-
Notifications
You must be signed in to change notification settings - Fork 744
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
KeyError: 'kernel32' #1473
Comments
[+] 0x0000000180324d50: WideCharToMultiByte(CodePage = 0, dwFlags = 0, lpWideCharStr = 0x500005925, cchWideChar = 0x1, lpMultiByteStr = 0, cbMultiByte = 0, lpDefaultChar = 0, lpUsedDefaultChar = 0) = 0x1 |
Managed to fix that by editing qiling/loader/pe.py: iat = self.import_address_table[dll_name] to try:
iat = self.import_address_table[dll_name]
except KeyError:
iat = self.import_address_table[dll_name + ".dll"] |
*Describe the bug
Problems with kernal32 were displayed after I ran MPRESS using qiling
Sample Code
The text was updated successfully, but these errors were encountered: