Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 23:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to extract the source code of a program?

Discussion on How to extract the source code of a program? within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 17
Received Thanks: 1
How to extract the source code of a program?

Let's say I have a program I want to get it's source code how do I do so?
MADMAX15 is offline  
Old 01/04/2017, 16:10   #2


 
Jeoni's Avatar
 
elite*gold: 966
Join Date: Apr 2010
Posts: 1,105
Received Thanks: 681
If it is made with a bytecode language like .net (VB.net, C#) or Java, a specific decompiler can be used. For .net programs you could use .
The same applies for scripts that are somehow just "packed" into an .exe with a appropriate interpreter (e.g. AutoIt).
However, if the program was compiled "natively", the simple answer is: you can't exactly "extract" or "decompile" it to source code. There are approaches to "backinterpret" the assembly as C code, but it's not that reliable as far as I know and it's definitly not the original source code. Furthermore it lacks information which are lost during compilation (all variable / function names, correct struct / class layouts, etc.). If you want to get reliable high quality code from that, the only way is to reverse it manually from assembly.
With best regards
Jeoni
Jeoni is offline  
Old 01/09/2017, 09:19   #3
 
elite*gold: 0
Join Date: Feb 2008
Posts: 125
Received Thanks: 17
Your best bet is IDA Pro for reversing binaries.
nukeyou is offline  
Reply


Similar Threads Similar Threads
[VB 2010][Source Code]HWID Registration Program
12/26/2012 - elite*gold Trading - 9 Replies
http://i.imgur.com/x9hmX.png Treasure | Preis | Verfügbarkeit HWID #1 | 30 e*gold | Nicht Verfügbar HWID #2 | 30 e*gold | Verfügbar HWID #3 | 30 e*gold | Verfügbar HWID #4 | 30 e*gold | Verfügbar HWID #5 | 30 e*gold | Verfügbar



All times are GMT +1. The time now is 23:42.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.