Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > Other Programming Languages
|
Other Programming Languages If you have a coding issue to discuss about another language that really isn't provided for in any other forum here (not ASP.NET C#, C++, VB, PHP, JavaScript, Python, Java, Perl, Applescript, XML or any of the other forum topics we have), post it here. Enough discussion on a language we don't have covered could prompt a new forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Other Programming Languages section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #11 (permalink)  
Old March 7th, 2007, 04:40 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Personally, storing a database password in a plain text file such as that is poor practice unless you have an EXTREMELY good reason.

In any case, just about any information you wanted would be available after decompilation, as it will be plain source code but, as woody pointed, that is not entirely a good thing.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
Reply With Quote
  #12 (permalink)  
Old March 7th, 2007, 05:10 PM
Registered User
 
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, I think you misunderstood, the password is not in a plain text file but will be in the code somewhere, I thought maybe in plaintext, but no :) Anyway, back to my reading and thanks for all your replies. Ron

Reply With Quote
  #13 (permalink)  
Old March 7th, 2007, 05:36 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sometimes a password will be plain text in complied code, but often programmers will break that sort of thing up or encrypt it and place it in places you wouldn't easily be able to identify as the password.

As a little test, you can compile a VB6 app where you have declared a few constants and variables, both assigned easy to spot unique values (like "This is my Constant" and "Here is my Variable").
Compile your code, and then view the compiled exe in notepad. The literals will show up as strings.
For example, if you make a variable and assign it a value of "THIS IS A LITERAL" you will be able to find the string: T H I S I S A L I T E R A L in your file.

I have seen hundreds of posts over the years looking for C++ or VB6 decompilers, but there is only so much info you can get out of doing it, and it will not be readable code, or anything close - most of it will not be useful at all. But the literals are there just for the taking in notepad without any decompiling at all.

Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
Reply With Quote
  #14 (permalink)  
Old March 7th, 2007, 09:13 PM
Registered User
 
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, you were right, I looked at all the literals, no password or anything obvious, I did find a note stating that it had been developed in VC++ though which was cool... the rest not much use. As I said before, I got more information about what exactly was going on from looking at the .xml files.

Anyway, it was an interesting exercise, and I think it was beneficial in that I got to see the output from various decompilers... and apps people claim to be decompilers - lol.

Many thanks everyone, Ron

Reply With Quote
  #15 (permalink)  
Old March 8th, 2007, 11:37 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes - I haven't yet seen a VB6 decompiler that does much that have been useful to me. On the other hand, in the old days of VB3 there were tools that could take an app apart - but VB3 was an interpreted language and the "compiled" exe was a different thing all together.

Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Different Langauge Issue Chapter 11 rrsalinas BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 April 10th, 2008 01:28 PM
error in send mail in arabic langauge boda2005 Classic ASP Professional 0 February 15th, 2008 07:08 PM
C# as a scripting langauge simsdagr8 C# 2005 1 November 8th, 2006 11:12 AM
Cross langauge inheritance ndramkumar VB.NET 2 September 30th, 2006 08:13 AM
Langauge problem sufi_assem J2EE 0 December 31st, 2004 06:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.