[mdlug] Reverse-engineering data protocols

Ingles, Raymond Raymond.Ingles at compuware.com
Fri Mar 4 08:31:26 EST 2011


> From: David McMillan
> >   Well, if the raw file is just binary floats (with possibly integer
> > timestamps) then you'll have some work to do. Write a simple program
> > that'll take different 4-byte chunks, interpret them as a float, and
> > print them out (possibly with the endianness flipped). Compare the
> > values with the numbers in the text file, and see if they match up.
If
> > so, look at the bytes immediately around the bytes you've
identified,
> > and see if they can be interpreted as a timestamp. (They should
> > increment...)

>      Ahhh, yes, I think I see what you're getting at.  Okay, yeah,
> that's the kind of starting point I was looking for.  Thanks!

 Note that there may be a "header" at the beginning of the file.
Probably lists at least how many columns there are in file...

 Sincerely,

 Ray Ingles                                             (313) 227-2317

 "President Bush has introduced an exciting innovation - the fake town
  hall. In these stirring non-debates, pre-screened citizens are free
 to voice their president's opinions, and pepper him with the toughest
            of compliments." - Samantha Bee, The Daily Show

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.




More information about the mdlug mailing list