Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-04-2007, 09:31 PM   #1 (permalink)
Apprentice
 
Join Date: Jun 2006
Posts: 95
Default From exe to source code


Hey,
Can anyone tell me how to get source code from an executable?
prashanthnbhat is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-04-2007, 09:38 PM   #2 (permalink)
Host4Cheap.org
 
Sukhdeep Singh's Avatar
 
Join Date: May 2005
Location: Digit Forum
Posts: 2,102
Default Re: From exe to source code

Its not even possible....than the whole world will be open source
__________________
★ Want to start your Website, No worries - here is how ★
http://www.thinkdigit.com/forum/showthread.php?t=66717

★ Host4Cheap - cPanel Webhosting & Reseller Plans ★
http://www.host4cheap.org/
Sukhdeep Singh is offline  
Old 06-04-2007, 09:51 PM   #3 (permalink)
CG Artist
 
gaurav_indian's Avatar
 
Join Date: May 2006
Location: New Delhi,India
Posts: 1,462
Default Re: From exe to source code

^^ Nothing is impossible.I forgot that software name that can show you the source code from executable.It was for Visual Basic.
gaurav_indian is offline  
Old 06-04-2007, 10:17 PM   #4 (permalink)
Broken In
 
Join Date: Sep 2006
Posts: 128
Default Re: From exe to source code

It is possible to get some form of source code, but it requires advanced reverse engineering skills.
hitman050 is offline  
Old 06-04-2007, 10:29 PM   #5 (permalink)
In The Zone
 
deepak.krishnan's Avatar
 
Join Date: Jan 2005
Location: Palakkad/Bangalore
Posts: 423
Talking Re: From exe to source code

Quote:
Originally Posted by sukhdeepsinghkohli
Its not even possible....than the whole world will be open source
Its possible dude.... Sorry that I cant give you much abt it.... I am still learning abt it.. So once I have a clear picture, I will post a good tutorial here
__________________
.dk
deepak.krishnan is offline  
Old 06-04-2007, 10:51 PM   #6 (permalink)
Console Junkie
 
aditya.shevade's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 991
Default Re: From exe to source code

^^Might be possible, but you can make a program with same input and output, yet have a huge difference in the source code..... so in that case, what will the S/W do? I don't think it might have AI, will it? (or does it, in case there exists a software?)
__________________
--- Console Junkie
aditya.shevade is offline  
Old 06-04-2007, 10:51 PM   #7 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: From exe to source code

U can "disassemble" an executable using tools like IDAPro.

But I don't think u can get ORIGINAL Source code from an executable...
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 06-04-2007, 11:05 PM   #8 (permalink)
CG Artist
 
gaurav_indian's Avatar
 
Join Date: May 2006
Location: New Delhi,India
Posts: 1,462
Default Re: From exe to source code

There is a very good feature in Microsoft Visual Studio 2005 that when you see any .aspx's source code through View-Source Code.It will generate different kind of code from the original one so that code is useless.
gaurav_indian is offline  
Old 06-04-2007, 11:21 PM   #9 (permalink)
ToTheBeatOfUrHeart
 
Harvik780's Avatar
 
Join Date: Feb 2006
Location: Boston,Newyork
Posts: 1,882
Default Re: From exe to source code

I use IDA it's the best disassembler that currently exists.Soft ICE currently has issues with newer operating systems.IDA costs about rs 20000.Digit provided the IDA demo on one of it's DVD's or CD's.Google for tutorials on how to disassemble but u should have an idea of processor instruction set as well the Portable executable form of exe's.
Harvik780 is offline  
Old 06-04-2007, 11:25 PM   #10 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: From exe to source code

u need to know assembly language very difficult to master.
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 07-04-2007, 07:56 AM   #11 (permalink)
Host4Cheap.org
 
Sukhdeep Singh's Avatar
 
Join Date: May 2005
Location: Digit Forum
Posts: 2,102
Default Re: From exe to source code

Quote:
Originally Posted by shirish_nagar
U can "disassemble" an executable using tools like IDAPro.

But I don't think u can get ORIGINAL Source code from an executable...
My point exactly
__________________
★ Want to start your Website, No worries - here is how ★
http://www.thinkdigit.com/forum/showthread.php?t=66717

★ Host4Cheap - cPanel Webhosting & Reseller Plans ★
http://www.host4cheap.org/
Sukhdeep Singh is offline  
Old 07-04-2007, 09:56 AM   #12 (permalink)
Proud Mac Pro Owner
 
nepcker's Avatar
 
Join Date: Mar 2007
Location: Planet Earth
Posts: 345
Default Re: From exe to source code

You can view the file's binary hex codes using a hex editor. You can find out the source code, if you know what "1001010110101100" means.
__________________
Microsoft Certified Professional Mac Addict
nepcker is offline  
Old 07-04-2007, 10:38 AM   #13 (permalink)
Apprentice
 
anzaan's Avatar
 
Join Date: Oct 2006
Location: bangalore
Posts: 73
Default Re: From exe to source code

the basic reason that "open source movemnt' was started was that the software ddnt providd the source code along wt the exe codes.
if u can extract source code frm an exe .. there wouldnt be any probs.
i agree wt tat guy "else the world wuld be an open source"
__________________
d a m n ! !
anzaan is offline  
Old 07-04-2007, 01:49 PM   #14 (permalink)
Wise Old Owl
 
piyush gupta's Avatar
 
Join Date: Sep 2005
Location: never land
Posts: 1,284
Default Re: From exe to source code

IF this wil happen then MS will gone

Beware BillGates lloks that these digit geeks are try to do
piyush gupta is offline  
Old 07-04-2007, 04:22 PM   #15 (permalink)
Fresh Stock Since 2005
 
Join Date: Feb 2005
Posts: 1,015
Default Re: From exe to source code

Oh... excuse me please....

What are we disussing here??
What the hell do you all mean??

Forget It!! and I mean it...

You can convert a VB or Delphi exe to a code something similar to its sourcecode.... Use Dede for delphi, I dont remember the software for VB...
And those can be decompiled to some extent coz they are interpreted languages... Do you know what interpreted languages are?? They are languages which need source & interpreter for execution... But a VB exe is just the source code which is encrypted and it requires a runtime.. Do you know what the runtime is?? It is a part of interpreter.... Thus it can be decompiled to some extent....... Hope you all get this...

Exes can also be decompiled to assembly with the help of debuggers such as olly and softice... Thus you can edit... That's how cracks are made...

Anyways, you cannot decompile a compiled to its ull source.....
__________________
http://www.khattam.info
khattam_ is offline  
Old 07-04-2007, 04:37 PM   #16 (permalink)
Wise Old Owl
 
piyush gupta's Avatar
 
Join Date: Sep 2005
Location: never land
Posts: 1,284
Default Re: From exe to source code

Hello.........

Also there are a no of s/w for getting DLL source code haina?

I know one s/e which can giv eu source code of a DLL of .aspx application
piyush gupta is offline  
Old 07-04-2007, 05:51 PM   #17 (permalink)
Console Junkie
 
aditya.shevade's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 991
Default Re: From exe to source code

^^ You forgot the most important thing..... the name of the S/W
__________________
--- Console Junkie
aditya.shevade is offline  
Old 07-04-2007, 06:14 PM   #18 (permalink)
Wise Old Owl
 
piyush gupta's Avatar
 
Join Date: Sep 2005
Location: never land
Posts: 1,284
Default Re: From exe to source code

Thats a secret

Hint for u

Google

DLL Extractor for ASP.NET1.1

May be u also got the s/w
piyush gupta is offline  
Old 07-04-2007, 10:50 PM   #19 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Red face Re: From exe to source code

Quote:
Originally Posted by khattam_

You can convert a VB or Delphi exe to a code something similar to its sourcecode....
Thats what we r talking abt dear.....
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What do u exactly mean by source code? paragkalra Open Source 11 17-12-2006 05:05 PM
Source Code For KGB ARCHIVER mehra.rakesh Open Source 6 09-11-2006 09:09 PM
HELP:- NEED ASP.NET SOURCE CODE.!!! sanprince Software Q&A 1 23-03-2006 01:20 PM
ANYONE have full source code rajesh_nk22 QnA (read only) 3 28-01-2006 05:26 PM
santy.a source code wolvrine Tutorials 2 18-09-2005 08:56 PM

 
Latest Threads
- by Tenida
- by Charan
- by abhidev
- by Sujeet
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 09:48 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2