| Forum |
|
|||||||
| Chit-Chat General discussions about anything that doesn't fit into the other sections to be had here |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
!! RecuZant By Birth !!
Join Date: May 2005
Location: In Everyone`s Heart
Posts: 2,985
|
Why cant we just get the code from windows files and modify to our need? May be its a stupid question but has been lingering in my mind for years. Explain in understandable english..
__________________
Know My Thoughts.. Visit my Blog @ www.Urssiva.com Visit My Tech Blog @ www.CloudTechnica.com |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#2 (permalink) |
|
Wire muncher!
Join Date: Nov 2003
Posts: 6,164
|
Reverse engineering is not always possible. Meaning, its not easy to get the source code from a binary.
However, wid stuff like Resource Hacker you can do small changes here and there in hex.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good." http://phoenix-ani.blogspot.com |
|
|
|
|
#3 (permalink) |
|
!! RecuZant By Birth !!
Join Date: May 2005
Location: In Everyone`s Heart
Posts: 2,985
|
Why cant we?
We have the total file ! Then whats the problem? What are executable files? Wont they have codes? I dont get it.
__________________
Know My Thoughts.. Visit my Blog @ www.Urssiva.com Visit My Tech Blog @ www.CloudTechnica.com |
|
|
|
|
#4 (permalink) |
|
die blizzard die! D3?
Join Date: Aug 2007
Location: Event horizon
Posts: 2,340
|
^^source code is what you write to make programs.Some languages don't need compiling but most do.Compiler turns your source code in machine understandable hex code\instructions.You cannot recover full source code from executibles.Though you can make small changes to it via some hex editor(this is how games\softwares are cracked).got it?
__________________
Stealing your women and horses since 1843. |
|
|
|
|
#5 (permalink) |
|
!! RecuZant By Birth !!
Join Date: May 2005
Location: In Everyone`s Heart
Posts: 2,985
|
So what comes out cant be recovered??
It sounds like some encryption thing... Cant we just program a software to re encode them to source code? Is it that impossible.. .exe or other files has been here for so long time and there is no software to do the job?weird Anyway thanks for the replies
__________________
Know My Thoughts.. Visit my Blog @ www.Urssiva.com Visit My Tech Blog @ www.CloudTechnica.com |
|
|
|
|
#6 (permalink) | |
|
die blizzard die! D3?
Join Date: Aug 2007
Location: Event horizon
Posts: 2,340
|
Quote:
ANd yea its not encryption its source code(human readable form) to hex instructions(machine readable form) conversion.
__________________
Stealing your women and horses since 1843. |
|
|
|
|
|
#7 (permalink) |
|
!! RecuZant By Birth !!
Join Date: May 2005
Location: In Everyone`s Heart
Posts: 2,985
|
We know how it converts then cant we write a program to reverse it.sorry i am not a programmer.
Just curious thats all.
__________________
Know My Thoughts.. Visit my Blog @ www.Urssiva.com Visit My Tech Blog @ www.CloudTechnica.com |
|
|
|
|
#8 (permalink) | |
|
Wahahaha~!
Join Date: Dec 2006
Location: Pune/there
Posts: 7,109
|
Quote:
There are two ways to choose a branching construct 1) Use if elseif construct 2) Use switch case 3) Tertiary construct Now u reached at one segment where there are some chars stored. U can either use: 1) a char pointer 2) a char array 3) a char pointer array 4) String class Anything chosen wrong will limit everything So its pretty hard to get the right construct that the programmer used. |
|
|
|
|
|
#9 (permalink) | |
|
Wise Old Owl
Join Date: Mar 2005
Location: shhhh!!!!! on a sniper point
Posts: 4,151
|
Quote:
If windows can execute correctly, then it might have choosen the right construct or somethin that the pgmr intend to while coding. Then why can't a reverse engg s/w do the same? And how windows is able to choose such right constructs fron a pgm?
__________________
G1: PII X4 B50 4.0 | TRUE 120*2 | TA790GXB A2+ | 4GB DDR2 GSkill 1200 | Audigy 2 | HD4870 | HEC 550 | MX 518. G2: AII 240 | M2N 68AM+ | 3GB| 8800GT | Zebby Plat 500 G3: XPS M1530 | FZ 16. |
|
|
|
|
|
#10 (permalink) | |
|
Wahahaha~!
Join Date: Dec 2006
Location: Pune/there
Posts: 7,109
|
Quote:
machine code is always a one way to destination type code, u ca only code in one way to do things. But source code have many alternate way to do same things (a program can be made using pointers or without pointers) |
|
|
|
|
|
#11 (permalink) | |
|
The No.1 Stupid
Join Date: May 2005
Location: CYBERYARD
Posts: 1,705
|
Quote:
__________________
n00b forever... |
|
|
|
|
|
#12 (permalink) |
|
!! RecuZant By Birth !!
Join Date: May 2005
Location: In Everyone`s Heart
Posts: 2,985
|
So why cant we create a programme to track the path back.. Try different paths and branching and arrive at source code?i think thats enough for me.from here i wont able to understand.thanks guys for posting your replies.
__________________
Know My Thoughts.. Visit my Blog @ www.Urssiva.com Visit My Tech Blog @ www.CloudTechnica.com |
|
|
|
|
#13 (permalink) |
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,719
|
You need to program an artifically intelligent(AI) software for this
__________________
:::::::::::::::::::: Unban Praka123 :::::::::::::::::::: Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife "Ek Se Mera Kya Hoga" |
|
|
|
|
#14 (permalink) |
|
Member of Apple Family
Join Date: Nov 2007
Location: Mumbai
Posts: 1,383
|
^^How will AI help in this ? Its just not possible to get high-level source code from the executables! At the max,you can convert exes into assembly instructions like kenshin mentioned!
|
|
|
|
|
#15 (permalink) |
|
Wise Old Owl
Join Date: Mar 2005
Location: shhhh!!!!! on a sniper point
Posts: 4,151
|
@Kenshin
How from the hex code can we know 1. If it stands for a 1byte,2byte or 3byte instruction? We might just cont a theree byte instruction as a two byte and the next a 1byte.... how can it be done?
__________________
G1: PII X4 B50 4.0 | TRUE 120*2 | TA790GXB A2+ | 4GB DDR2 GSkill 1200 | Audigy 2 | HD4870 | HEC 550 | MX 518. G2: AII 240 | M2N 68AM+ | 3GB| 8800GT | Zebby Plat 500 G3: XPS M1530 | FZ 16. |
|
|
|
|
#16 (permalink) | |
|
Wire muncher!
Join Date: Nov 2003
Posts: 6,164
|
Quote:
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good." http://phoenix-ani.blogspot.com |
|
|
|
|
|
#17 (permalink) |
|
Wahahaha~!
Join Date: Dec 2006
Location: Pune/there
Posts: 7,109
|
Dynamic programming and heuristic algos can help in finding optimal solutions but yet not the perfect ones, that means the source code will not pass boundary value analysis.
But it itself includes : Inductive logic programming, Genetic algos, Neural networks, Decision trees, Hidden Markov models and Bayes probability theorem. That will surely makes it uber difficult if not impossible, u can make something but with assumptions. 8085 was still simpler, we were given a single page to lookup machine code. But 8086 was entirely on opcode. |
|
|
|
|
#18 (permalink) |
|
Pee into the Wind...
Join Date: May 2007
Location: Mumbai
Posts: 782
|
Let's take a simplistic example:
You [end user] are at point B.A guy X [the program] from point A many miles away from you comes to point B.In his journey, he takes hundreds of turns and twists to reach B [the complex programming code].Now, he asks you to go to point A FOLLOWING THE EXACT ROUTE HE HAD FOLLOWED TO REACH B.!! [reverse engineering]It would be extremely difficult, if not impossible for you to take the same turns that X had taken on his journey --What if the road ahead you splits in two both going towards A.??How would you know which route X had come from.?? [if else loop] --What if the road splits in more than two branches.It would be even more tough to guess X's route now .... [switch case] How easy it would have been if you had the map that X followed [source code].!!
__________________
Life is as complicated as you say it is. |
|
|
|
|
#19 (permalink) |
|
Be CoOl rAp RuLeZ !!!
Join Date: Feb 2007
Posts: 1,968
|
Ask linux fans they always says that windows .exe can be easily exploited ,edited etc
__________________
iPhone 3G 16GB + Samsung I450 + Sennheiser CXL 400 + PSP Phat + Samsung NC10 Previous phones: N73ME , W810I , Asus P320 |
|
|
|
|
#20 (permalink) | |
|
Pee into the Wind...
Join Date: May 2007
Location: Mumbai
Posts: 782
|
Quote:
__________________
Life is as complicated as you say it is. |
|
|
|
|
|
#21 (permalink) | ||
|
Wahahaha~!
Join Date: Dec 2006
Location: Pune/there
Posts: 7,109
|
Quote:
Exploitation is different and reverse engineering is different Quote:
Last edited by Faun; 04-01-2008 at 04:49 PM. Reason: Automerged Doublepost |
||
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DesiTorrents is closed :( | soumya | Chit-Chat | 29 | 30-04-2008 11:32 AM |
| demonoid closed | soumya | Chit-Chat | 13 | 28-06-2007 10:53 AM |
| Microsoft Goes Open Source?with part of silverlight source code expected to release | praka123 | Technology News | 1 | 30-04-2007 11:00 AM |
| Closed | Nilesh.Ravindran | Mobiles and Tablets | 3 | 25-04-2007 04:55 PM |
| can i convert installed files to source? | chitvan | QnA (read only) | 3 | 16-10-2006 04:19 PM |