-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDA-Headless .. Windows ? #2
Comments
The error you're experiencing might be caused by the rpyc package not being installed in the Python environment that your IDA Pro is using. You can use idapyswitch (typically located in the same directory as your IDA Pro installation) to verify which Python version is being used by IDA Pro, and confirm that the rpyc package is installed for that version. |
I just verified the version running on IDA and my Python Environment it's the same : Tried running a script and also running the server no luck:
========= Remote Traceback (1) ========= |
Could you please confirm whether you're able to successfully run If you're able to successfully execute |
Were you able to successfully run import rpyc in the IDA Pro console? |
Yes I was able to import rpyc and no warnings |
If your |
BTW if it hangs, it typically indicates that IDA was able to load the headless-ida server script and the script is now awaiting a client connection. I've also noticed that you were running version 7.7 initially but switched to 8.3 in your latest response. Could you try running |
Let me try, BTW I downloaded the new version and there is an error : Traceback (most recent call last): |
Oops my bad, just a typo should be just |
Worked !! The issue is with helpers.py if _GetShortPathName(path, buffer, len(buffer)): import os def escape_path(path):
|
Thanks !! Appreciate your help |
Thank you for helping finding the issues :) |
I'm trying to run IDA-Headless on a windows environment and it fails to start . Any idea ?
C:\Program Files\IDA Pro 7.7>headless-ida ida64.exe "C:\Users\me\Desktop\IDAPYTHON\sample.exe"
Traceback (most recent call last):
File "c:\users\me\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\me\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\me\AppData\Local\Programs\Python\Python39\Scripts\headless-ida.exe_main.py", line 7, in
File "c:\users\me\appdata\local\programs\python\python39\lib\site-packages\headless_ida\cli.py", line 21, in headlessida_cli
headlessida = HeadlessIda(args.idat_path, args.binary_path)
File "c:\users\me\appdata\local\programs\python\python39\lib\site-packages\headless_ida\client.py", line 45, in init
raise Exception(
Exception: IDA failed to start: return code 1
=============== STDOUT ===============
=============== STDERR ===============
The text was updated successfully, but these errors were encountered: