IDA JScript 2

Author: David Zimmer

Date: 09.07.20 - 11:15pm





Ok, so I finally updated my personal IDA license to 7.5 and have ported the IDASrvr2 and IDA JScript (with debugger) over to the new API.



They both now support x64 disassemblies. The IDAJS script functions are unchanged, but since neither JS nor VB6 support 64 bit numbers intrinsically, all x64 numbers are represented as strings. If you have to do math you can use the new x64.add/subtract methods.



If the IDAJS script functions detect a string arg, they will auto convert it to an x64 number. 32bit numbers can still be worked with in JS as normal. It is as seamless as possible for the given tech.



You can download the installer here. I still have some more testing to do but should be good to go now.



For some back story on why I bother with this anymore, well the first versions of this came about long long ago in an off and distant land when IDA only offered IDC scripting. I really really wanted a syntax highlight control with intellisense for IDA scripting. The debugger is just icing on the cake.



Anyway..after years and years and investing loads of time to create the custom components necessary, it has become a pet project and is just what I use for my IDA scripting needs. Sooo in for a penny in for a pound.



Going forward IDASrvr2 is going to be the foundation for my other plug-ins as well. Well actually plug-outs seeing how I will be doing as little as possible from within the IDA process. (IDAJScript IDE and JS engine run in their own 32bit process and only interact with 64bit IDA over an IPC channel)



Really, just being able to query data/control IDA from small external apps is enough of a reason to keep this project alive.







Comments: (1) On 09.25.20 - 7:10am Dave wrote:

so I did a little spelunking out of curiosity.



(year?) IDC script



2004 IDAPython 0.5 for IDA 4.6. (preinstalled as of IDA 5.4)



2004 Perl script plugin by redplait (perl5.5, ida4.7)



2006 IdaRub 0.8 by spoonm (Ruby interpreter)



2006 IDA Vbscript for IDA 4.7 (in process, msscript, limited api, crude intellisense, no syntax highlighting)



2008 IDAPerl for IDA 5.2, activesync perl



2009 IDA Javascript by Hexrays for IDA 5.5 (full api, V8 JS engine)



2013 IDA JScript (IPC, msscript, limited api, intellisense, full syntax highlighting, debugger w/duktape in 2015)



2015 IDA IPython (Looks like IPython supports remote UI connections to the python instance running within IDA)



If anyone knows of any other script interpreter projects for IDA id love to hear about them :)

Leave Comment: Name: Email: (not shown) Message: (Required) Math Question: 84 + 80 = ? followed by the letter: F