Results 1 to 12 of 12

Thread: Is it possible to reverse engineer an .exe file created with vb6 ?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    231

    Is it possible to reverse engineer an .exe file created with vb6 ?

    Suppose we have a computer program compiled as exe file.
    We also have the source code, but an accident happens and the source code is lost while the .exe survives.
    Is is possible to bring back the source code from it ?
    It happened to me several years ago and I couldn't so as the exe was gradually becoming unserviceable I wrote everything from the beginning, but is it in any way possible ?

  2. #2
    gibra
    Guest

    Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    Quote Originally Posted by johnywalker View Post
    Is is possible to bring back the source code from it ?
    No.
    You need to make a backup of your source code.

  3. #3

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    231

    Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    Quote Originally Posted by The trick View Post
    You can restore the algorithm and the approximate source code.
    Just the example:
    The original source code.
    The restored algorithm from the executable.
    And does the restored code work straight off if you plug it into vb6 and give the same results ?

  5. #5
    The Idiot
    Join Date
    Dec 2014
    Posts
    2,730

    Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    I think its impossible to decompile an exe 100%, but you can get something out,
    program like VB Decompiler Pro, gives u some info, but you need tons of work to make something out of it.
    also, it would be terrible if a program like that existed, it would definitely be categorized as hacking.

  6. #6
    PowerPoster
    Join Date
    Feb 2015
    Posts
    2,687

    Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    Quote Originally Posted by johnywalker View Post
    And does the restored code work straight off if you plug it into vb6 and give the same results ?
    Yes. You can compare. Just it was like a challenge. A guy asked for the code but he has only the executable. I asked the author don't post the code until i decompile (the author didn't mind) the executable in order to compare results. After i decompiled the executable the author posted the original one. All that I used was OllyDbg.

  7. #7
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    Just so you know decompiling to code and reverse engineering are two completely different things. Any program can be reverse engineered if you want to spend the time and effort required. Getting the source from an exe is a totally different thing. You can get the code to some extent from many types of exes but your best option is to make sure you have a backup or several of them.

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    231

    Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    Quote Originally Posted by DataMiser View Post
    Just so you know decompiling to code and reverse engineering are two completely different things. Any program can be reverse engineered if you want to spend the time and effort required. Getting the source from an exe is a totally different thing. You can get the code to some extent from many types of exes but your best option is to make sure you have a backup or several of them.
    Yes I know.
    This happened to me 10 years ago because of oversight and also there was no cloud storage those days.
    I 'm more about hacking possibilities, or rather anti-hacking. If it is possible what can one do to make it impossible ?
    Last edited by johnywalker; Apr 5th, 2020 at 02:55 AM.

  9. #9
    Addicted Member gilman's Avatar
    Join Date
    Jan 2017
    Location
    Bilbao
    Posts
    178

    Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    Quote Originally Posted by The trick View Post
    You can restore the algorithm and the approximate source code.
    Just the example:
    The original source code.
    The restored algorithm from the executable.
    I do not understand Russian, but it sounds to me that those results could only be obtained if the program was compiled to pCode, in the case of compiling to native code, the results that I have managed to find, recovered the part of the design of the forms but the code seemed be in assembler

  10. #10
    Fanatic Member
    Join Date
    Feb 2019
    Posts
    706

    Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    In few cases, like if the IDE crashes and you have not saved the code, you could find part of the source in *.tmp files, but I guess you may not have those after this time. I think they are left in the same folder as the VBP file, but I am not sure.

  11. #11

  12. #12
    Addicted Member gilman's Avatar
    Join Date
    Jan 2017
    Location
    Bilbao
    Posts
    178

    Re: Is it possible to reverse engineer an .exe file created with vb6 ?

    What program are using?
    With all that I found, the final code was awful

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width