[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
Michael
On 6/6/05, Mister Anonymous <atlantalinuxenthusiast at gmail.com> wrote:
> How can I feed grep the 200-300 byte long string that I need to extra
> from the base binary file?
>
> On 6/6/05, Geoffrey <esoteric at 3times25.net> wrote:
> > Mister Anonymous wrote:
> > > The problem about cmp is that it just does a strait compare. I need
> > > to find out whether a particular binary section has been embedded
> > > anywhere in another particular binary. I will have the offset from
> > > the first binary to get the (binary) string that I am going to be
> > > searching for, but I will not know where in the second binary that
> > > (binary) string will be.
> >
> > Disregard my previous brainless post.
> >
> > man grep
> >
> > If the first few bytes of a file indicate that the file contains
> > binary data, assume that the file is of type TYPE. By default, TYPE
> > is binary, and grep normally outputs either a one-line message
> > saying that a binary file matches, or no message if there is no 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>
> >
> _______________________________________________
> 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="00271" href="msg00271.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>
<li><strong><a name="00239" href="msg00239.html">[ale] Binary Matching</a></strong>
<ul><li><em>From:</em> atlantalinuxenthusiast at gmail.com (Mister Anonymous)</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>
<li><strong><a name="00248" href="msg00248.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="msg00263.html">[ale] erasing ext3 filesystems securely</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00265.html">[ale] Howto suspend on power button press</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00250.html">[ale] Binary Matching</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00271.html">[ale] Binary Matching</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00264"><strong>Date</strong></a></li>
<li><a href="threads.html#00264"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>