Thread: Hex editor

  1. #1

    Hex editor

    Does anyone know of a hex editor which I can use to narrow down the location of a variable or something? Like I know the value at instance 1, and then in instance 2 it will change in the file (a custom format I made it's binary written so it should work no?) .. anyways I want to find all the values that change from instance 1 to instance 2 in the file so that I can narrow down the location and see if I can change it, effectively hacking/cracking my program.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    I like Hex Workshop.

    gg

  3. #3
    Cheers, downloading away.

  4. #4
    Ok, I have it but I'm clueless ... How can I narrow down the offset?

  5. #5
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    it's kind of an art form. There are certain indicators though. You can usually pick out ascii data pretty easy because it falls in a certain range (and shows up on the right as printable characters). But other data you have to be more clever.

    For instance an integer is 32 bits. 4 bytes and will show up low-order heavy most of the time. On an intel architecture, that means the values will show up on the left side of the 32 bits. Intel is lil-endian. Floating point is more difficult. Someone can post a link for that format. I don't feel like searching. There is an IEEE standard for this which includes a sign bit, an exponent and a mantissa value.

    If this is not enough, post the hex here and maybe we can give you some clues.
    Last edited by FillYourBrain; 05-31-2004 at 09:45 AM.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  6. #6
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    I know in memory the i386 family is little-endian I would have thought it'd be the same in the binary files.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 09-24-2007, 02:46 AM
  2. Replies: 11
    Last Post: 03-24-2006, 11:26 AM
  3. Hex Editor Programs
    By Stardust7 in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 01-14-2003, 12:55 PM
  4. IDEA: Hex Editor
    By ygfperson in forum Contests Board
    Replies: 3
    Last Post: 09-16-2002, 03:13 PM