x64dbg / x64dbgpy

Automating x64dbg using Python, Snapshots:
https://ci.appveyor.com/project/mrexodia/x64dbg-python/build/artifacts
MIT License
1.47k stars 70 forks source link

Using mona with x64dbg #46

Open Rourke101 opened 4 years ago

Rourke101 commented 4 years ago

I am trying to use mona with x64dbg. I installed the files as instructed.

[PYTHON] Found valid PythonHome in the plugin settings!
[PYTHON] PythonHome: "c:\Program Files\Python\Python27\"
C:\x64dbg\release\x32\plugins\x64dbgpy
[PYTHON] Could not import x64dbgpy.
[PLUGIN] x64dbgpy v1 Loaded!
...
[PYTHON] Executing autorun file: "clean_mona.py".
[PYTHON] Exception...

If I try to capture the exception via:

import sys
try:

    if 'mona' in sys.modules:
        reload(mona)
        reload(mona.dbglib)
        reload(mona.dbglib.pykd)
    else:
        import mona

except Exception as e: print(e)

I get:

...
[PYTHON] Executing autorun file: "clean_mona.py".
[PYTHON] Execution is done!
...

The mona.mona("help") command doesn't work, as expected. I can see the x64dbgpy option in the menu, but I am not sure why this failed "Could not import x64dbgpy". Does x64dbg need different installations of Python for 32 and 64 bits?

NOTE: On the 64-bit version I get a:

Loading plugins...
[PLUGIN] Failed to load plugin: x64dbgpy.dp64
therealdreg commented 3 years ago

check #58 & https://github.com/David-Reguera-Garcia-Dreg/x64dbg-exploiting