huettenhain/dhrake

Unable to run any of the scripts

Closed this issue · 2 comments

Scripts have been successfully added into Ghidra, so they appear in the script manager:
image

However, running them doesn't do anything.
CodeBrowser's console contains only the following output:
image

> Unable to load script: DhrakeInit.java
>   detail: The class could not be found. It must be the public class of the .java file: DhrakeInit

Which is weird, since the file does contain the class and stuff (all parenthesis and similar are in right order) (see first screenshot)

Frankly, this does not sound like a problem with Dhrake specifically. Can you try to reproduce this with a simple script that does nothing? If you can, the problem is likely more general.

So, apparently the issue was in the fact that i put those into a separate folder (so there were only two files in it, those are being the scripts). After I moved the scripts to the ghidra_scripts directory, the issue was resolved.