[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Mon Jun 6 13:53:51 2005 -->
- <!--x-from-r13: ngynagnyvahkraguhfvnfg ng tznvy.pbz ([vfgre Oabalzbhf) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Binary Matching -->
- <li><em>date</em>: Mon Jun 6 13:53:51 2005</li>
- <li><em>from</em>: atlantalinuxenthusiast at gmail.com (Mister Anonymous)</li>
- <li><em>in-reply-to</em>: <<a href="msg00233.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00231.html">[email protected]</a>> <<a href="msg00233.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Binary Matching</li>
On 6/6/05, Geoffrey <esoteric at 3times25.net> wrote:
> 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.
>
> I'm pretty sure cmp handles binary files. Are you simply looking for a
> match, or do you want to do something once you find the match?
>
> --
> Until later, Geoffrey
> _______________________________________________
> 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>
>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00242" href="msg00242.html">[ale] Binary Matching</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00244" href="msg00244.html">[ale] Binary Matching</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--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>
<li><strong><a name="00233" href="msg00233.html">[ale] Binary Matching</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00238.html">[ale] harddrive errors</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00240.html">[ale] MP3C</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00233.html">[ale] Binary Matching</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00242.html">[ale] Binary Matching</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00239"><strong>Date</strong></a></li>
<li><a href="threads.html#00239"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>