[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue Jun 7 17:27:18 2005 -->
- <!--x-from-r13: cenf ng plpybrnfgrea.pbz (cenf ng plpybrnfgrea.pbz) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Binary Matching -->
- <li><em>date</em>: Tue Jun 7 17:27:18 2005</li>
- <li><em>from</em>: pras at cycloeastern.com (pras at cycloeastern.com)</li>
- <li><em>in-reply-to</em>: <<a href="msg00231.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00231.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Binary Matching</li>
cksum both the files and check that the check sums are equal.
I have never met two unequal binaries whos checksums are equal :)
However there might be a failure scenario that I am not thinking of.
On Mon, Jun 06, 2005 at 10:14:11AM -0400, Mister Anonymous wrote:
> I need to do some binary matching across many files and was wanting to
> get some recommendations on how to do it. I would like to be able to
> grab a section of binary data from one file (approximately 500
> continuous bytes) and check and see if that is included in other
> binary files. Any recommendations on an easy way to extract the
> initial 500 bytes (assume I would like to do it from some particular
> offset in the file) and then search for that data in the other file?
>
> I am afraid that perl might be the best way to do this, but I am not
> that much of a perl hacker. If there is an easy way to do it using
> python or a shell script, that would be preferable.
>
> Thanks.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
--
________________________________________________________________________
Prasanna Subash | "When anyone says `theoretically,' they
pras at cycloeastern.com | really mean `not really.'" -- David Parnas
|
|
________________________________________________________________________
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00231" href="msg00231.html">[ale] Binary Matching</a></strong>
<ul><li><em>From:</em> atlantalinuxenthusiast at gmail.com (Mister Anonymous)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00307.html">[ale] how2 enable Macromedia w/Firefox ?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00309.html">[ale] Linspire experience and problems</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00234.html">[ale] Binary Matching</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00236.html">[ale] backup apps</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00308"><strong>Date</strong></a></li>
<li><a href="threads.html#00308"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>