NYCPHP Meetup

NYPHP.org

[nycphp-talk] compare two binary files.

Jon Baer jonbaer at jonbaer.com
Sat Jun 23 09:27:58 EDT 2007


First question is on what platform, Intel or other + are you asking  
about processing via PHP or just in general?

The premiere tool is BinDiff (http://www.sabre-security.com/products/ 
screens_bindiff.html) ...

A nice toolset (can probably be patched for PHP use):
http://radare.nopcode.org/wiki/index.php?n=Utils.Bindiff

- Jon

On Jun 23, 2007, at 9:03 AM, Aniesh joseph wrote:

> Hi,
>
> I have two binary file name bunary1 & binary2. I need to compare  
> these two files and find following
>
> changed byte +  location +old value +new value
>
> The files are opened in read binary mod and returns each byte. Can  
> someone suggest any method to compare bytes?
>
> Thanks.
>
> Regards
> Aniesh
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070623/ae4c14b9/attachment.html>


More information about the talk mailing list