-
Notifications
You must be signed in to change notification settings - Fork 464
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
msdn_crawler.py not working on IDA for Linux (6.95) #47
Comments
I was able to partially fix the first issue by removing the shell=True (line 55), in the extract_til_constant_info.py file and the second issue by changing the import from beautifulsoup3 to beautifulsoup4 The problem I'm facing now is that the generated XML database file does not contain any |
The script hasn't been tested on Linux and there are other existent issues you've already discovered. Can you please check if the following file works for you after unzipping it? |
Thanks for getting back to me so quickly. I tried with your database file but had only a few constant values resolved to their names. At the same time there's no error reported in IDA's python console (except the missing information for few insignificant functions) so I'm not sure where the glitch is. |
Great, it sounds like the plugin is running successfully now. It's likely that it won't rename all constants automatically. For some it might miss the MSDN information (which you can provide in additional data files in the data directory) and for some it might fail to track the arguments correctly. |
Unfortunately this is not the case. It was able to resolve just a few constant names but the vast majority of constants remained unchanged. I have manually checked the xml database file and all values were in there. If it had to do with handling the arguments incorrectly then the argument comments shouldn't be there I suppose. |
If the arguments are annotated correctly it does not necessarily mean that the constants can be renamed successfully. Do you have a sample you can share? |
I can share an xtremerat idb file which I downloaded from the Internet. Please let me know how to transfer it to you. |
I can try to test it if you can provide a hash. |
Here's the hash of the malicious file itself: 9E6B9D375DC5998E63F7376FEDF5CDF0 |
Thanks, what constants (offsets) are you expecting to be renamed? |
Potentially same issue as in #62. Please reopen this issue otherwise. |
Hello,
I have tried generating the the XML database file using the msdn_crawler.py on a Linux machine (Ubuntu 16.04 x64) and it seems to have failed with the following errors (for both tilib and tilib64)
I have also tried with the Windows version of IDA and failed like others have pointed out in other issue threads.
I tried obtaining the modified version of the crawler and already generated database but it's no longer there.
The text was updated successfully, but these errors were encountered: