joxeankoret / diaphora

Diaphora, the most advanced Free and Open Source program diffing tool.
http://diaphora.re
GNU Affero General Public License v3.0
3.58k stars 371 forks source link

You could include a "how to install" section in the README.md #215

Closed ezxpro closed 3 years ago

ezxpro commented 3 years ago

I say that because so far I can't seem to be able to run your plugin, nor the instructions I found in the internet work.

The instructions I found were posted in a blog, there's also this PDF that says you should go to IDA> File > Script file> diaphora.py

Needless to say, it doesn't work.

joxeankoret commented 3 years ago

The "installation process" is, basically, just downloading the code to some local directory and then running the script "diaphora.py". If you tell me what error(s) are you facing I can try to help you.

ezxpro commented 3 years ago

The error I get is: X:\Downloads\diaphora-2.0.3\diaphora.py: X:\Downloads\diaphora-2.0.3\diaphora.py,1: Bad or ill-formed preprocessor command

I am now supposing this is due to the need to install Python, but I have been super busy now and haven't checked yet. Probably will do on the weekend.

liettua commented 3 years ago

The error I get is: X:\Downloads\diaphora-2.0.3\diaphora.py: X:\Downloads\diaphora-2.0.3\diaphora.py,1: Bad or ill-formed preprocessor command

I am now supposing this is due to the need to install Python, but I have been super busy now and haven't checked yet. Probably will do on the weekend.

do you have python installed?

i dont think so

joxeankoret commented 3 years ago

@ezxpro You are getting this error because you don't have Python 3.X installed and are trying to execute as an IDC script a Python script. Please install a x64 version of Python 3.X, run idapyswitch and try again.

joxeankoret commented 3 years ago

Closing this issue. Feel free to reopen if after installing Python you have any problems using Diaphora.

ezxpro commented 3 years ago

Hi. thank you, I installed Python 3 today to test it with IDA, immediately after doing so the option to load .py files is given to me once I click IDA> File > Script file>.

As simple as it is, I think this should be included in the Readme. As for my case, I was simply assuming I had already installed python.