Date: Sat, 19 Jun 2004 12:59:17 +0400 From: Sergey Zaharchenko <doublef@tele-kom.ru> To: Thomas Farrell <info@mvcg.net> Cc: freebsd-questions@freebsd.org Subject: Re: how to extract 512 bytes from a file Message-ID: <20040619085917.GA1820@Shark.localdomain> In-Reply-To: <002001c455ae$8d16ab00$0b0a0a0a@neonduron> References: <002001c455ae$8d16ab00$0b0a0a0a@neonduron>
next in thread | previous in thread | raw e-mail | index | archive | help
--ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 18, 2004 at 11:36:04PM -0400, Thomas Farrell probably wrote: > I was thinking I could take a working avi and extract the first 512 > bytes and insert it into the beginning of a bogus file. Does anyone > think this may work? Given the number of compression formats actually hiding under the '.avi' extension, and that the most sensitive information is usually in the header, I doubt that. Unless you know for sure what should be there, this won't work. > Any idea how I can accomplish this? dd(1). Especially `seek=3D...', `skip=3D...' and `conv=3Dnotrunc'. > Do I smoke too much weed? Only if you think you're going to guess 512 bytes of the header from scratch:) --=20 DoubleF Any excuse will serve a tyrant. -- Aesop --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA1ABjwo7hT/9lVdwRAl4XAJ9tmnwnctX+rpd/QvUY852xRGFZaQCfVxaQ auNuYCCoej6VaVBgVhCFjmU= =5mgY -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040619085917.GA1820>