[ale] tool to repair a binary file given a diff between hex dumps of the original and the altered

Michael H. Warfield mhw at WittsEnd.com
Thu Apr 24 11:36:38 EDT 2008


On Thu, 2008-04-24 at 10:56 -0400, Jerry Yu wrote:
> what tool can I suggest a remote Windows admin to use to 'repair' his
> binary file given the hex diff below. 
> Of course, if this 'repair' is too hairy, I'd go down the
> retransmission route (expensive).

	hexedit?

	I've used this for working on and extracting keys from memory dumps.

	I know it's available on Linux and OS/X.  Don't know about what you
would give a Windows admin.  A copy of Ubuntu?

	DOS, we use to just use debug.

> diff meta.od-x tpp.od-x 
> 24,25c24,26 
> < 0000560 6b92 d311 01fb f7be 402c c959 a125 0ac4 
> < 0000600 
> --- 
> > 0000560 6b92 d311 01fb f7be 402c c959 a125 0d0a 
> > 0000600 c400 
> > 0000601 

	Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20080424/d5604ad5/attachment.bin 


More information about the Ale mailing list