CYB3RMX / Qu1cksc0pe

All-in-One malware analysis tool.
GNU General Public License v3.0
1.33k stars 186 forks source link

Docker linux/arm64: Pygore module not found #33

Closed Tratosca closed 1 year ago

Tratosca commented 1 year ago

Hello, Using linux/arm64 I get Error: >pygore< module not found. when analyzing an AMD64 ELF GO binary. Pygore is properly installed.

Also, FYI when using Docker image on the same platform, cmake is missing from the required packages. I may do a PR in the future but my platform is not mature enough to make Qu1cksc0pe work (M1 Mac, using Kali ARM -- building a linux/amd64 Docker image using Rosetta throws an error when installing Mono).

Any idea would be appreciated, I'm so hyped by your project ! Thanks, T.

CYB3RMX commented 1 year ago

Hello! Thank you for your report and comments :)

Can you change this code block in Modules/linAnalyzer.py for troubleshooting:

from

try:
     import pygore
except:
     ...

to

import pygore

After removing try-except statement for pygore can you send me the screenshot of error? So we can figure it out what is wrong with pygore

By the way I am always open for PR ( except README :) )

Note: My test and development environment is Kali Linux/Parrot OS amd64

Tratosca commented 1 year ago

Thanks for your message. As surprising as it sounds, removing the try/except block for the import solved my issue. That's a bit odd. I'm gonna play around with some PE/ELF and will eventually PR. Thanks a lot ! Best regards, T.

CYB3RMX commented 1 year ago

Wow, to be honest, I couldn't have expected it, but you know, if it works, don't touch it! 😄