Closed Ramaaaaaa1 closed 7 months ago
Ghidra doesn't use your hosts python unless you have a plugin. Ghidra has its own separate python interpreter usually called Jython which is based on python 2 so they can export their Java APIs to python.
Thank you for your response. I found another alternative that is working perfectly fine. Addressing my own questions to help others who might run into the same problem. As @iMoD1998 mentioned, we cannot use host python without a plugin.
"<path_to_Ghidra_Headless_Analyzer_Bat_file" "
" -process -noanalysis -postScript To understand the Ghidra headless analyzer commands, refer to https://github.com/galoget/ghidra-headless-scripts
I am trying to run the Ghidra headless analyzer using the below command. Despite Qiling being installed in my Windows 10 system, it is throwing an error: ImportError: No module named qiling . Surprisingly, it is working fine with normal python3 cmd, and Qiling is the latest version.
"C:\Users\hacke\Downloads\Malware Analysis Tools\ghidra_11.0.1_PUBLIC_20240130\ghidra_11.0.1_PUBLIC\support\analyzeHeadless.bat" "C:\Users\hacke" "Binary Analysis1" -process elf_xordd -noanalysis -postScript xorddos_decrypt_config.py
Could you please help me to fix this issue