Coder Social home page Coder Social logo

Comments (5)

rtompsam avatar rtompsam commented on May 25, 2024 1

Awesome thanks working :)

from headless-ida.

rtompsam avatar rtompsam commented on May 25, 2024

headlessida = HeadlessIdaRemote("localhost", 1337, r'C:\Users\me\Desktop\IDAPYTHON\test.exe')
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\Python38\lib\site-packages\headless_ida\client.py", line 82, in init
self.conn.root.init(f.read())
File "C:\Program Files\Python38\lib\site-packages\rpyc\core\netref.py", line 240, in call
return syncreq(_self, consts.HANDLE_CALL, args, kwargs)
File "C:\Program Files\Python38\lib\site-packages\rpyc\core\netref.py", line 63, in syncreq
return conn.sync_request(handler, proxy, *args)
File "C:\Program Files\Python38\lib\site-packages\rpyc\core\protocol.py", line 718, in sync_request
return async_res.value
File "C:\Program Files\Python38\lib\site-packages\rpyc\core\async
.py", line 108, in value
raise self._obj
Exception: IDA failed to start: return code 1
=============== STDOUT ===============
=============== STDERR ===============

========= Remote Traceback (1) =========
Traceback (most recent call last):
File "c:\program files\python38\lib\site-packages\rpyc\core\protocol.py", line 359, in _dispatch_request
res = self._HANDLERS[handler](self, *args)
File "c:\program files\python38\lib\site-packages\rpyc\core\protocol.py", line 837, in _handle_call
return obj(*args, **dict(kwargs))
File "c:\program files\python38\lib\site-packages\headless_ida\server.py", line 29, in exposed_init
raise Exception(
Exception: IDA failed to start: return code 1
=============== STDOUT ===============
=============== STDERR ===============

PORT IS OPEN TCP 127.0.0.1:1337 0.0.0.0:0 LISTENING 6888

from headless-ida.

DennyDai avatar DennyDai commented on May 25, 2024

TIL https://docs.python.org/3/library/tempfile.html#tempfile.NamedTemporaryFile doesn't work as expected on windows...
Working on a fix

from headless-ida.

rtompsam avatar rtompsam commented on May 25, 2024

Ahh ok just noticed that the issue is with opening the file thanks !!

from headless-ida.

DennyDai avatar DennyDai commented on May 25, 2024

There are more issues than I thought... I've just fixed that TempFile issue and it's now on PyPi (0.4.4). Tested locally and it works.
Please make sure when you are running the server, path to idat64 should not contain a space for now, I will fix this later.

from headless-ida.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.