Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2002 01:03:06 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        "Duane H. Hesser" <dhh@androcles.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: how to find offset of a string in a binary file ?
Message-ID:  <20020714010305.A71964@iguana.icir.org>
In-Reply-To: <200207132223.g6DMNe892090@androcles.com>; from dhh@androcles.com on Sat, Jul 13, 2002 at 03:23:40PM -0700
References:  <20020713132144.A68304@iguana.icir.org> <200207132223.g6DMNe892090@androcles.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 13, 2002 at 03:23:40PM -0700, Duane H. Hesser wrote:
...
> >> > So, does anyone know how to use the basic unix tools to find
> >> > the offset of a string in a binary file ?
...
> strings -at [odx] 'file' | grep whatever

thanks a lot, that did the job

	cheers
	luigi

> Duane H. Hesser
> dhh@androcles.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020714010305.A71964>