Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 24th Jun 2013, 07:10 PM   #1
Development / SEO
Registered Member
 
WebTheorem's Avatar
 
Join Date: 2013
Location: Global
Posts: 39
Thanks: 3
Thanked 7 Times in 7 Posts
Default
Decode .exe file
Share on: 
fb share twitter share gplus share more share

I have an .exe file that I want to decode and extract the data from.

I basically want to take this program, and use it on my server. But not using the program it came under.

Can anyone give me some pointers of how to do so?
Or anyone want to give me a hand?

I'm at a loss with this.

WebTheorem is offline  
Unread 24th Jun 2013, 07:45 PM   #2
VIP Warrior
War Room Member
 
Join Date: 2003
Location: , , USA.
Posts: 2,356
Thanks: 7,692
Thanked 2,892 Times in 2,434 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Most people try to avoid extracting data from an EXE file. They arn't made for that, and some have methods to frustrate that.

BESIDES, are you sure the data you want to extract is even there?

Steve
seasoned is offline  
Unread 24th Jun 2013, 07:48 PM   #3
Development / SEO
Registered Member
 
WebTheorem's Avatar
 
Join Date: 2013
Location: Global
Posts: 39
Thanks: 3
Thanked 7 Times in 7 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Well I don't really need to extract the date. I just want the program recreated to run on my website.

The .exe doesn't access any web files, so the data is in the program.

WebTheorem is offline  
Unread 25th Jun 2013, 09:30 AM   #4
Software Engineer
War Room Member
 
wayfarer's Avatar
 
Join Date: 2008
Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

.exe is a compiled binary file, that could have been created with any of a dozen different programming languages. What made you think it was even possible to "extract" it, then make it run in a web page? The environment of a desktop isn't similar to that of a web server. You'd have better luck hiring a developer to reproduce the functionality.

If it's really just data you're after, the data is probably not even in the .exe, unless the .exe is the only file in that folder. Even then, compiled files have no limit to the number of ways they can store data, so good luck! You'd have to really find an expert at such things, it's not easy.

You can try opening up the file in Notepad... mostly you'll just see a bunch of garbage, but it's possible some of it will be readable.

Any way you spin it, your question is way too general for us to give a reasonable answer. If we knew what the file did or what functionality you needed, maybe we could be more helpful.

I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
wayfarer is offline  
Unread 25th Jun 2013, 05:30 PM   #5
Software Product Creator
War Room Member
 
SteveSRS's Avatar
 
Join Date: 2012
Location: NL => Thailand
Posts: 452
Thanks: 42
Thanked 164 Times in 93 Posts
Blog Entries: 5
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

hehe if you have a lot of time on your hands you can disassemble it to asm and then using C you can integrate the asm code to run it on your webserver.

or of course ff you have a couple hundred gran for the reverse engineering etc

SteveSRS is offline  
Unread 28th Jun 2013, 09:50 PM   #6
Warrior Member
 
Join Date: 2012
Posts: 29
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

You cannot modify exe file directly because once its corrypt you wont be able to run it but resource editor can be used to modify some text if its not compressed
webwizdevelop is offline  
Unread 29th Jun 2013, 06:46 AM   #7
Wet Carpets
 
Join Date: 2013
Location: india
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

nice information thans
seoserviceaag is offline  
Unread 29th Jun 2013, 08:39 AM   #8
VIP Warrior
War Room Member
 
Join Date: 2003
Location: , , USA.
Posts: 2,356
Thanks: 7,692
Thanked 2,892 Times in 2,434 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

EXE has only one format. THT is how windows can run it. Separating the data from the code is near impossible to automate. I HAVE made programs to find strings of characters in the code, and extract that. It was done to find keys, options, and error messages.

Even a disassembler couldn't do a good job. BTW... Client programs are different from web.

Steve
seasoned is offline  
Unread 1st Jul 2013, 05:57 AM   #9
Development / SEO
Registered Member
 
WebTheorem's Avatar
 
Join Date: 2013
Location: Global
Posts: 39
Thanks: 3
Thanked 7 Times in 7 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

So what's the answer to get this data out of the program?

WebTheorem is offline  
Unread 1st Jul 2013, 11:42 AM   #10
Web Developer
War Room Member
 
Andrew H's Avatar
 
Join Date: 2012
Location: Vancouver, BC
Posts: 593
Thanks: 149
Thanked 162 Times in 133 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

The simple answer is: stop.

Hire a developer to reproduce the functionality you are looking for in a web programming language.

EDIT: if you are just looking for 'data' as in stored information. Just look through the files of the program. Also you can look in the registry to see any stored info there.

"You shouldn't come here and set yourself up as the resident wizard of oz."
Andrew H is offline  
Unread 1st Jul 2013, 01:03 PM   #11
God-like Warrior
 
Blakos's Avatar
 
Join Date: 2012
Location: Sydney, Australia
Posts: 149
Thanks: 38
Thanked 8 Times in 8 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

A .exe is a compiled binary file. I doubt you cant extract it, reverse engineer it, and filter it to a web page. Try to work out what compiled it and decompile it, then you can at least work out what the code does.
Blakos is offline  
Unread 2nd Jul 2013, 08:02 AM   #12
Warrior Member
 
Join Date: 2012
Posts: 21
Thanks: 0
Thanked 6 Times in 5 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

If the program is made in .net framework (c#, vb, etc.) you still have a chance - there are programs that can decompile the application and show you the source code. This would be a great advantage since that source code can be easily embedded into a web page via asp.net.

If it isn't, then it's more complicated: assuming the application isn't packed, you can see it's assembly code, which can give you some information about how it works. However you still need to rewrite the whole program...

Anyway, good luck with it.

TheApex is offline  
Unread 2nd Jul 2013, 06:15 PM   #13
Warrior Member
 
novel's Avatar
 
Join Date: 2012
Location: California
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

i was in a similar situation where i wanted to reverse engineer it. i was fortunate to find a teenage computer wiz on a forum that was more than willing to spend hours and weeks on it, ended up creating a better ware for me.
look thru forums where teenagers may hang, these kids r seriously smart these days.
novel is offline  
Unread 3rd Jul 2013, 07:14 AM   #14
Software Engineer
War Room Member
 
wayfarer's Avatar
 
Join Date: 2008
Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Originally Posted by TheApex View Post

If the program is made in .net framework (c#, vb, etc.) you still have a chance - there are programs that can decompile the application and show you the source code. This would be a great advantage since that source code can be easily embedded into a web page via asp.net.
Misleading. Just because the same programming language happens to be used for both desktop and the web, doesn't make it "embeddable". Did you know that desktop applications (.exe, etc) can be made with PHP? That doesn't mean the resulting application can then be put onto the web without being completely rewritten. Completely different libraries are used when developing desktop vs web. Sure, a few low-level snippets could be reused, but that isn't very helpful, you might as well just rewrite the whole thing from the start.

I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
wayfarer is offline  
Unread 3rd Jul 2013, 07:43 AM   #15
Warrior Member
 
Join Date: 2012
Posts: 21
Thanks: 0
Thanked 6 Times in 5 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Originally Posted by wayfarer View Post

Misleading. Just because the same programming language happens to be used for both desktop and the web, doesn't make it "embeddable". Did you know that desktop applications (.exe, etc) can be made with PHP? That doesn't mean the resulting application can then be put onto the web without being completely rewritten. Completely different libraries are used when developing desktop vs web. Sure, a few low-level snippets could be reused, but that isn't very helpful, you might as well just rewrite the whole thing from the start.
What I was saying was that .NET programs can be decompiled back to their source code - of course you can't just copy-paste that into an asp.net page, but you can still use many algorithms found in there and also many classes from the framework.

TheApex is offline  
Unread 3rd Jul 2013, 09:35 AM   #16
Software Engineer
War Room Member
 
wayfarer's Avatar
 
Join Date: 2008
Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Any way you shake it, you're going to need a professional developer. And I'm highly skeptical there's anything useful in that .exe, outside pure demonstration of desired effect.

I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
wayfarer is offline  
Unread 3rd Jul 2013, 10:27 AM   #17
I forgot
 
Join Date: 2013
Location: India
Posts: 22
Thanks: 8
Thanked 0 Times in 0 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

You could use any debugger like OllyDBG.
AnkurJaiswal is offline  
Unread 3rd Jul 2013, 08:34 PM   #18
Development / SEO
Registered Member
 
WebTheorem's Avatar
 
Join Date: 2013
Location: Global
Posts: 39
Thanks: 3
Thanked 7 Times in 7 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

I mainly just want the data. It's information like this part number can cross to this part number. And this part number has these technical characteristics.

So I'm not to concerned with the program for say. But more of the data in the program.

I personally doubt this program is that locked down. You can actually right click on the tables and select to export. The issue is it would take weeks to do that for each table and section. So that's why I don't think it's that locked down and hard to crack for someone with the right knowledge and experience.

Any takers want to take a peek at it? You have to be experienced at this, I don't want you to learn on my time. Message me.

WebTheorem is offline  
Unread 5th Jul 2013, 06:40 AM   #19
Software Engineer
War Room Member
 
wayfarer's Avatar
 
Join Date: 2008
Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Originally Posted by WebTheorem View Post

I mainly just want the data. It's information like this part number can cross to this part number. And this part number has these technical characteristics.
That makes a little more sense. It definitely might be possible, especially if it keeps the information in an external format of some sort, which is pretty typical. I would take a look at it, but I don't usually use my Windows machine any more.

It sounds like it's probably using a database of some sort, it doesn't make sense to keep a huge amount of information compiled together in an .exe like that, it wouldn't be very efficient. In the file system, is there any other file kept along with the .exe?

I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
wayfarer is offline  
Unread 5th Jul 2013, 06:53 AM   #20
Software Engineer
War Room Member
 
wayfarer's Avatar
 
Join Date: 2008
Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Actually, it probably makes more sense to look in your application data folder, it's probably somewhere like C:\Documents and Settings\{your username}\Application Data\{application name}

I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
wayfarer is offline  
Unread 9th Aug 2013, 10:32 PM   #21
Development / SEO
Registered Member
 
WebTheorem's Avatar
 
Join Date: 2013
Location: Global
Posts: 39
Thanks: 3
Thanked 7 Times in 7 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Yeah it's in there. It's just getting it out and organizing it properly is my issue.

WebTheorem is offline  
Unread 9th Aug 2013, 10:36 PM   #22
Web Developer
War Room Member
 
Andrew H's Avatar
 
Join Date: 2012
Location: Vancouver, BC
Posts: 593
Thanks: 149
Thanked 162 Times in 133 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Yeah it's in there. It's just getting it out and organizing it properly is my issue.
Be more specific and maybe we can help you.

"You shouldn't come here and set yourself up as the resident wizard of oz."
Andrew H is offline  
Unread 10th Aug 2013, 07:40 AM   #23
VIP Warrior
War Room Member
 
Join Date: 2003
Location: , , USA.
Posts: 2,356
Thanks: 7,692
Thanked 2,892 Times in 2,434 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Originally Posted by WebTheorem View Post

I mainly just want the data. It's information like this part number can cross to this part number. And this part number has these technical characteristics.
Any programmer that would put a large chunk of that into a program is just an IDIOT! It is harder to do, harder to maintain, harder to internationalize, can't be modified, etc... And you would need to make your program larger, etc... It is just NOT a good idea. Look at accounting programs, for example. Even the chart of ACCOUNTS is ELSEWHERE! Many programs today even store SMALLER things, like error messages and screen messages, to another file. WHY? It is easier to expand, and internationalize.

I personally doubt this program is that locked down. You can actually right click on the tables and select to export.
Although that can be done in the program, databases almost ALWAYS have that facility on most reports or even raw data.

The issue is it would take weeks to do that for each table and section. So that's why I don't think it's that locked down and hard to crack for someone with the right knowledge and experience.
It could take no time at all!

Any takers want to take a peek at it? You have to be experienced at this, I don't want you to learn on my time. Message me.
Heck, I'm probably more experienced than most, generally, on this. I HAVE analyzed data in programs. I have to tell you that it was to get COMMANDS, OPTIONS, SCREEN DATA, and ERROR MESSAGES, ****NOT**** the main data. I mean WHO stores that data in a program?

As for the demand that people MUST be experienced, and must not learn on YOUR time. I assume that means you are paying? It shouldn't take long for a programmer to find strings you are looking for. HECK, I write programs to do that sort of thing ALL THE TIME. For one customer, I wrote a program to go into a program and find all the debug switch options it had because we were tired of calling support and after 2 days or WEEKS finding that the solution was to use such an option. They REFUSED to give us a list.

If the data is stored in ASCII, in MOST cases, it is relatively easy to get. If it follows an inherent pattern, or you can find one from the programmer or compiler, it is relatively easy to clean. From what you are saying, it probably IS ASCII. EBCDIC is rare for a PC program, and it would be unlikely they encrypted or compressed it, because of it being as open as you indicate, etc... If they DID encrypt or compress it,finding things will be MUCH harder. Outside of a debugger, you would have to spot a pattern, or know more about how the compiler works.

MY bet is that it pulls this data from the web, stores it in the registry, or stores it in another file/database. Have you even tried to run the program ALONE on a separate system(Do NOT install, merely copy the executable)? If we are right, unless it gets data from the web, it will probably NOT work! If YOU are right, there is a chance it will. Try THAT! ALSO, if you have an editor that can read everything to the end of the file, try going into the editor, and look for something you expect. You MAY even be able to have the EDITOR search. If it works, you're right! If it doesn't, we likely are. NOTE, many editors WILL only read PART of the file.

Steve
seasoned is offline  
Unread 17th Aug 2013, 08:55 AM   #24
Active Warrior
War Room Member
 
Join Date: 2012
Posts: 46
Thanks: 9
Thanked 17 Times in 15 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Originally Posted by WebTheorem View Post

Yeah it's in there. It's just getting it out and organizing it properly is my issue.
Have someone look at the files from the application folder, it might not be that hard to write a program that could use the files or atleast the data in them and present it on a web page.
Delta90 is offline  
Unread 17th Aug 2013, 02:01 PM   #25
Dev4Hire
War Room Member
 
Join Date: 2011
Location: Missouri
Posts: 104
Thanks: 30
Thanked 30 Times in 16 Posts
Default
Re: Decode .exe file
Share on: 
fb share twitter share gplus share more share

Send me a link to the files or at least one file and I'll tell you in detail how to organize it. Or I can write a small app to interface to it or one to reorganize in a modern format.
IdeaBox is offline  
Closed Thread


Bookmarks

Tags
decode, exe, file


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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 01:15 PM.