changing a numerical value in an .exe

Discussion in 'OT Technology' started by Leb_CRX, Jun 6, 2007.

  1. Leb_CRX

    Leb_CRX OT's resident terrorist

    Joined:
    Apr 22, 2001
    Messages:
    39,994
    Likes Received:
    0
    Location:
    Ottawa, Canada
    I was out to lunch with a buddy and he mentioned that he has this custom app that helps him with his business and it's calculating tax at the old rate of 15%, which has recently been changed to 14% (rate) and he needs his app updated to 14% instead of 15%..he thinks it's written in VB but is not sure, and does not have the original source code...

    he got in touch with the developer and he doesn't have the source code either

    just wondering if it would be possible to use a hex editor or maybe a decompiler and change this value? anyone have any ideas? I am not sure where to start, but I figured I'd try to help him out
     
  2. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,189
    Likes Received:
    508
    You can do anything in a hex editor. But the trick is you have to know where to look and what to change.
     
  3. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    nice of the developer to leave your buddy with such a customizable app :rofl:
     
  4. Leb_CRX

    Leb_CRX OT's resident terrorist

    Joined:
    Apr 22, 2001
    Messages:
    39,994
    Likes Received:
    0
    Location:
    Ottawa, Canada
    dumbasses, both of htem

    he should of got a copy of the app he paid for
    and the developer should keep copies of his/her work
     
  5. Leb_CRX

    Leb_CRX OT's resident terrorist

    Joined:
    Apr 22, 2001
    Messages:
    39,994
    Likes Received:
    0
    Location:
    Ottawa, Canada
    I guess i'll have to fart around, I've never really played with one
     
  6. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    good luck, might not be so easy to find.
     
  7. Leb_CRX

    Leb_CRX OT's resident terrorist

    Joined:
    Apr 22, 2001
    Messages:
    39,994
    Likes Received:
    0
    Location:
    Ottawa, Canada
    damnit

    any other ways I can go about this? or is hex the only thing really?
     
  8. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,189
    Likes Received:
    508
    You can try a visual basic decompiler, but there's no guarantee you'll be able to make sense of the source.
     
  9. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    Just rehashing your options:

    a) Decompiling if possible

    b) Debug the process and see if you can figure out where the formula equations and variables are coming from so you can find the right place to hex edit the exe

    c) Trial and error with the hex editor editing possible locations

    d) Finding the forumale used and writing a new version of the program

    e) Finding some existing (hopefully free) software that can do the same thing, or be configured or customised to do what you want

    It's up to you to determine which one is going to be the best way to spend your time and most worthwhile in the long run.
     
  10. Frequency

    Frequency New Member

    Joined:
    Dec 30, 2004
    Messages:
    7,504
    Likes Received:
    0
    Location:
    PA
    If you wanna send it to me i can poke around in it i have a bit of exp in hex editting and debugging exes
     
  11. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,189
    Likes Received:
    508
    I don't, but I'd like to give it a shot. :o

    Why not host & post the exe?
     
  12. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    pm the exe, i don't want that shit floating around here
     
  13. Leb_CRX

    Leb_CRX OT's resident terrorist

    Joined:
    Apr 22, 2001
    Messages:
    39,994
    Likes Received:
    0
    Location:
    Ottawa, Canada
    we'll see about sending it to you guys when I get it

    the guy is anal with security/paranoy that the world is out to get him, but i'll ask him if it's alright
     

Share This Page