Thread: Decryption...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    5

    Decryption...

    I got told my a professional Coder that if u code / get a Decrypter, u can decrypt a .EXE and retrieve the source code from it... is this true?

  2. #2
    ima n00b, ok? orion-'s Avatar
    Join Date
    Aug 2005
    Location
    alberta, canada
    Posts
    55
    i dont know about decrypting a .exe and retrieving the actual source code from it but there are programs out there (lots of them) called hex editors that allow you to view an .exe in hexidecmal form and also allows you to make changes within the .exe (or dll, ocx, ect ect..)

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    That depends on the language used. What you think of is called a decompiler that can create source from the binary executable. Those programs only exist for binaries created in languages that include meta information as VB, Java and C#. You can decompile those languages fairly well. You cannot decompile C/C++.

    You can disassemble C/C++ ( or any other ) binary. That way you can see the instructions on machine level. You will not get the C/C++ source however. You will get Assembly, stripped of any names ( i.e. variables ) the source may have had.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    968
    and if you can narrow it down enough, you can change these values to giev you an advantage in your game

  5. #5
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Quote Originally Posted by nvoigt
    That depends on the language used. What you think of is called a decompiler that can create source from the binary executable. Those programs only exist for binaries created in languages that include meta information as VB, Java and C#. You can decompile those languages fairly well. You cannot decompile C/C++.

    You can disassemble C/C++ ( or any other ) binary. That way you can see the instructions on machine level. You will not get the C/C++ source however. You will get Assembly, stripped of any names ( i.e. variables ) the source may have had.
    There is actually a project that is working on taking the assembly code and creating C code from it. However the last I check on it, about a year ago, it was still in the beginning stages and had barely even gotten loops and control blocks working. There is also some legality questions with it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. encryption / decryption program
    By epidemic in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2008, 06:40 AM
  2. Problem with decryption (. turn to A's)
    By Dan17 in forum C++ Programming
    Replies: 1
    Last Post: 03-27-2006, 10:52 AM
  3. Encryption and Decryption Program in C++ using a class
    By goron350 in forum C++ Programming
    Replies: 7
    Last Post: 06-05-2005, 09:29 PM
  4. Ask about Encryption and Decryption
    By ooosawaddee3 in forum C Programming
    Replies: 3
    Last Post: 07-19-2002, 12:55 AM
  5. decryption : reversing
    By Denethor2000 in forum C++ Programming
    Replies: 6
    Last Post: 04-07-2002, 09:52 PM