PDA

View Full Version : How do you ?


VenagE
11-06-2003, 04:39 PM
uncrypt a .dat file
i have a dat file and i wanna see what's inside in words no HEX or ASCII code ...
i have ultra edit .
anyone ? plz

GoldenBear
11-07-2003, 01:13 PM
I think it really depends on what the .dat file was made by. Lots of programs use the .dat extension.

Are you sure it contains text?

-GB

falcon84
11-07-2003, 03:50 PM
if u got the dat file from a VCD, its probably a plain mpeg2 format

ZelRiptha
11-07-2003, 04:07 PM
Originally posted by VenagE
uncrypt a .dat file
i have a dat file and i wanna see what's inside in words no HEX or ASCII code ...
i have ultra edit .
anyone ? plz

I've written a simple hex-dumper - it'll show any ascii data in the file if it's readable. This is compiled on Win2k, not sure it will work on all Windows...

It could be improved - I mainly use it on Unix systems, so this Windows version may have bugs.

Notice: This is an executable file, but it is not a virus. To run the program, you will need to download it and change the extension to .exe. Legal disclaimer here: if it screws up your system, I'll try and help, but will accept no responsibility for its use (or misuse).

hex.prg (http://home.houston.rr.com/oehl/hex.prg)

VenagE
11-07-2003, 08:18 PM
Originally posted by GoldenBear
I think it really depends on what the .dat file was made by. Lots of programs use the .dat extension.

Are you sure it contains text?

-GB

from msn :)

VenagE
11-07-2003, 08:19 PM
Originally posted by ZelRiptha
I've written a simple hex-dumper - it'll show any ascii data in the file if it's readable. This is compiled on Win2k, not sure it will work on all Windows...

It could be improved - I mainly use it on Unix systems, so this Windows version may have bugs.

Notice: This is an executable file, but it is not a virus. To run the program, you will need to download it and change the extension to .exe. Legal disclaimer here: if it screws up your system, I'll try and help, but will accept no responsibility for its use (or misuse).

hex.prg (http://home.houston.rr.com/oehl/hex.prg)


prog simply doesn't work , i changed to ".exe" when it runs , a dos command prompt shows up and quickly disappears . I guess it doesn't work , i'm using win xp

ZelRiptha
11-07-2003, 08:22 PM
Sorry, Ven. I meant to say it's a console app. Try running it from the command line. :)

It requires an argument - the file you want to dump. So you'd type something like:


hex.exe my_file.dat


Does that make more sense?

ZelRiptha
11-07-2003, 08:25 PM
Also, if the file is large, you'll want to pipe the output into a text file. Like so:


hex.exe big_file.dat > big_dump.txt


Sheesh, I shoulda coded a UI. :)

VenagE
11-08-2003, 01:57 AM
it still shows the numbers in rows and colums ...

nothing into words :( , it's a file from msn conversation

ZelRiptha
11-08-2003, 01:03 PM
Ah, sorry it didn't help more. :)

The data is clearly not stored as character strings then. :damn:

VenagE
11-08-2003, 08:37 PM
DARN IT :(

it's all good i'll try and find how to do it on the net , thanks anyways for the help