1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Any tool to see .exe file source code ?

Discussion in 'General Programming Chat' started by almir, Aug 15, 2008.

  1. almir

    almir Power Member

    Joined:
    Jul 11, 2008
    Messages:
    728
    Likes Received:
    229
    Hi guys

    I am total noob in programming, so if my "problem" requires some higher knowledge, than just say me to forget about it :D

    What I need is some simple tool ( if such exists ) that could allow me to see .exe file source code, and add/change something in that file. I don't need it for changing some software functions, I need it for adding a link in the file.

    Is that possible ?
     
  2. BozoClown

    BozoClown Junior Member

    Joined:
    Jan 4, 2009
    Messages:
    150
    Likes Received:
    106
    There is no such tool. The source code is lost. The only alternative is using a hex editor and a debugger to poke around the exe. Plus you will need to be quite skilled to use these tools.

    I used a program called "resource hacker" many years ago to change some attributes of .exes, it could help you if the link you want to change is not embedded deep in the exe itself.
     
    • Thanks Thanks x 1
  3. almir

    almir Power Member

    Joined:
    Jul 11, 2008
    Messages:
    728
    Likes Received:
    229
    OK, I'll try to find that one.

    If someone has something to add, be free to do that :) I need this hard

    Bozo, do you have that resource hacker tool ?
     
  4. a0rta

    a0rta Regular Member

    Joined:
    May 3, 2008
    Messages:
    214
    Likes Received:
    99
    Occupation:
    Travel Agency owner - Recently outsourced my clien
    Location:
    Brazil/Sweden
    Well.. There are a lot of disembler that can be used to get the code in Assembler.
    There is also some tools that translates the code to C++ and to Visual Basic if I don't remember it totally wrong.

    Try look for these things at astalavisa(dot)box(dot)sk or neworder(dot)box(dot)sk
     
  5. eponus

    eponus Registered Member

    Joined:
    Aug 13, 2008
    Messages:
    95
    Likes Received:
    55
    Occupation:
    Technical Consultant
    Location:
    Boston
    If you're a total newb to programming, then you should just let it go.

    A Windows executable is difficult to reverse engineer back into source code for any respectable progammer; beginners will not succeed without a lot of learning.
     
  6. malachi

    malachi Newbie

    Joined:
    Aug 14, 2008
    Messages:
    5
    Likes Received:
    0
    Home Page:
    I would still suggest poking around the exe with a debugger like OllyDBG. Sure you won't understand the assembly, but you can still follow parts of it, and hey, you may be able to understand the part you need. You should be able to find some quick tutorials online as to what the main functions/commands are. Try checking http://www.osix.net/modules/article/topic.php?id=22, there are a few good articles on assembly for newbies - look up articles by sefo, he's good and fun to read
     
    Last edited: Aug 15, 2008
  7. almir

    almir Power Member

    Joined:
    Jul 11, 2008
    Messages:
    728
    Likes Received:
    229
    Uh, I am almost there.

    I've found a part I want to replace, but have one problem. My link has 4 more HEX characters than one before, and I can't find how to just add that. I can replace other characters, but I would screw something else then probably. I just need to add it, but don't know how. Keyboard space doesn't work when I work in resource tracker
     
  8. soulchief

    soulchief Junior Member

    Joined:
    Oct 17, 2007
    Messages:
    117
    Likes Received:
    55
    Location:
    Canada
    h&&p://www.remotesoft.com/salamander/index.html

    doesnt work for all programming languages.
     
  9. malachi

    malachi Newbie

    Joined:
    Aug 14, 2008
    Messages:
    5
    Likes Received:
    0
    Home Page:
    Woah - $1099 per license for a .net decompiler? O_O