Programming Interface to HxD

Help on how to use HxD.
Post Reply
im2020
Posts: 2
Joined: 28 Jun 2009 00:04

Programming Interface to HxD

Post by im2020 » 28 Jun 2009 00:26

I used to program a lot but am now very rusty.

Can anyone help me do the following?

I am reassembling some video fragments from a hard drive (which I deleted in error).

HxD has proved a perfect tool to find my way around the disc and understand what I need to do. I now want to automate a process whereby I search for a hex pattern (01BA44) and then look at the next three bytes. Within a contiguous video fragment these are incremented by 4 or 5 for every occurrence of the pattern 01BA44. I want to stop the search when those three bytes show something other than the regular increment, i.e. when the fragment has finished.

What's the easiest way to code this as an interface to HxD? (What language or script?)

Thanks in advance for any help.

Maël
Site Admin
Posts: 1124
Joined: 12 Mar 2005 14:15

Re: Programming Interface to HxD

Post by Maël » 28 Jun 2009 20:41

HxD currently has no support for scripting or similar kinds of automation. But there is an entry for this under feature requests.
Maybe dd can be of some help: http://www.chrysocome.net/dd

im2020
Posts: 2
Joined: 28 Jun 2009 00:04

Re: Programming Interface to HxD

Post by im2020 » 05 Jul 2009 20:41

I've achieved what I wanted by setting up a macro in Macro Express (Insight Software Solutions) to cut and paste from HxD into Excel (to conduct analyses) and then conditionally return to HxD to continue searching.

Post Reply