NYCPHP Meetup

NYPHP.org

[nycphp-talk] compare two binary files.

Anthony Wlodarski aw at sap8.com
Sat Jun 23 10:22:04 EDT 2007


I have come across this script online for things like that:

 

http://www.holomind.de/phpnet/diff.src.php

 

See if that is what you are really looking for.

 

-Anthony

 

From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Jon Baer
Sent: Saturday, June 23, 2007 9:28 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] compare two binary files.

 

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/82c853bd/attachment.html>


More information about the talk mailing list