pythonlinuxbashida

Calling IDA Pro through python


I am trying to use a python script to call IDA Pro and have it run in bash mode. Similar to that of the linux terminal line './idal -B input-File' is there a quick and simple way I can do this throughout the python script? I have looked through the IDA Pro book and I can only find information on IDAPython which I am struggling to understand.


Solution

  • This is a duplicate.

    Checkout this answer.

    It's basically resumes to:

    from subprocess import call
    call(["./idal", "-B", "input-File"])