Ethical Hacking Training at InfoSec Institute Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: MD5 Collisions and Evidence Integrity |
|---|---|
| Date: | Tue, 16 Nov 2004 10:44:41 -0500 |
On Mon, 15 Nov 2004 14:23:50 EST, Gary Kessler said:
When I look at this, I get totally different results. First, there are severa
l differences between the files (not just the one that your cmp command shows).
$ cmp file1.dat file2.dat file1.dat file2.dat differ: char 20, line 1
This is *expected* behavior of the 'cmp' command. It doesn't report additional
differences (which is reasonable - if you only care about same/different, and
2 multi-gigabyte files differ in the first 100 bytes, it's a HUGE win). If you
want *all* the differences, use 'diff' (which however gets interesting when
comparing 2 non-text files....)
% man cmp
NAME
cmp - compare two files
SYNOPSIS
cmp [-l | -s] file1 file2 [skip1 [skip2]]
DESCRIPTION
The cmp utility compares two files of any type and writes the results to
the standard output. By default, cmp is silent if the files are the
same; if they differ, the byte and line number at which the first differ-
ence occurred is reported.
pgpuLwP7TsYMi.pgp
Description: PGP signature
| Previous by Date: | Re: mactimes, Marius Huse Jacobsen |
|---|---|
| Next by Date: | Re: MD5 Collisions and Evidence Integrity, Anders Thulin |
| Previous by Thread: | Re: MD5 Collisions and Evidence Integrity, Damian Menscher |
| Next by Thread: | Re: MD5 Collisions and Evidence Integrity, Dave Dittrich |
| Indexes: | [Date] [Thread] [Top] [All Lists] |