Message from discussion
reverse hexdump
Received: by 10.68.73.229 with SMTP id o5mr2056476pbv.7.1323876559939;
Wed, 14 Dec 2011 07:29:19 -0800 (PST)
Path: lh20ni21908pbb.0!nntp.google.com!news2.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!feeder.news.tin.it!spool.news.tin.it!not-for-mail
Date: Wed, 14 Dec 2011 16:29:17 +0100
From: superpollo <superpo...@tznvy.pbz>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.8.1.22) Gecko/20090605 Iceape/1.1.17 (Debian-1.1.17-2)
MIME-Version: 1.0
Newsgroups: alt.msdos.batch
Subject: Re: reverse hexdump
References: <4ee8aeda$0$1390$4fafbaef@reader2.news.tin.it> <Wg2Gq.14180$Ee3.242@newsfe04.iad>
In-Reply-To: <Wg2Gq.14180$Ee3.242@newsfe04.iad>
Lines: 39
Message-ID: <4ee8c0cf$0$1386$4fafbaef@reader2.news.tin.it>
Organization: TIN.IT (http://www.tin.it)
X-Comments: Please send technical notifications to newsmas...@tin.it
NNTP-Posting-Host: 87.13.44.231
X-Trace: 1323876559 reader2.news.tin.it 1386 87.13.44.231:2144
X-Complaints-To: Please send abuse reports to abuse@retail.telecomitalia.it
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
foxidrive ha scritto:
> On 15/12/2011 01:12, superpollo wrote:
>> on unix boxes one can hexdump, say, a binary file like a .png file to
>> a textfile like this:
>>
>> 89504E470D0A1A0A0000000D4948445200000280000001E00803000000020F2CD60000
>> 0300504C5445FFFFFF000000A0A0A0FF000000C0000080FFC000FF00EEEEC04000EEEE
>> 002020C0FFC020008040A080FF804000FF80FF00C06000C0C0006080C0608000800040
>> FF803060808060004040404080000000808060108060608060800000C00000FF006000
>>
>> and then reverse the process, i.e. giving the above text as input with a
>> "reverse" flag on and get the origina binary as output.
>>
>> i understand that in dos/windows boxes there is the "debug" utility that
>> does the dump. but:
>>
>> (1) can debug output to a text file as shown above?
>> (2) cat debug do the reverse hexdump stuff?
>> (3) if none of the above, is there a standard dos/windows command to do
>> that?
>>
>> bye
>>
>
> On topic, you can do it with a batch file. This is from carlos.
>
>
>
> Hello, With suggestions of foxidrive and Frank P Westlake (thanks
> both) I build a new version of bhx.
curious: what does bhx do?
--
"Remember when teachers, public employees, Planned Parenthood,
NPR and PBS crashed the stock market, wiped out half of our 401Ks,
took trillions in TARP money, spilled oil in the Gulf of Mexico,
gave themselves billions in bonuses, and paid no taxes? Yeah,
me neither."