Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 5th, 2009, 05:14 AM
Registered User
Points: 38, Level: 1
Points: 38, Level: 1 Points: 38, Level: 1 Points: 38, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2008
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Question !(Decompiling dot net dll)

Hi could any can share me how our dotnet Dll cant be decompiled.

Using Tools everyone can be able to view our code with the help of our dll.
How to avoid this
Reply With Quote
  #2 (permalink)  
Old February 5th, 2009, 09:30 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

http://www.red-gate.com/products/reflector/

Reflector used to be free before Red Gate purchased it and, I think, you can still find a free version of it somewhere on Red Gate's site. In any event it decompiles .NET assemblies nicely.

hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
Reply With Quote
  #3 (permalink)  
Old February 5th, 2009, 11:48 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Basically you can't, that's the price you pay to use .NET. You can use an obfuscation tool but the good ones are expensive. What are you concerned about the users seeing, your actual code or sensitive information?
__________________
Joe
http://joe.fawcett.name/
Reply With Quote
  #4 (permalink)  
Old February 5th, 2009, 12:03 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Oops. My mistake. I misread the post! Joe is correct there is no sure fire way to prevent your assembly from being decompiled and read. Even obfuscation isn't a gurantee as there was at least one professional disassembler/compiler that claimed to be able to break even obfuscation.

hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
Reply With Quote
  #5 (permalink)  
Old February 6th, 2009, 01:22 AM
Registered User
Points: 38, Level: 1
Points: 38, Level: 1 Points: 38, Level: 1 Points: 38, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2008
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot dears
Reply With Quote
  #6 (permalink)  
Old December 7th, 2009, 07:20 AM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To avoid this, use an obfuscator such as Crypto Obfuscator (http://www.ssware.com/cryptoobfuscat...scator-net.htm)- it makes it
much much more difficult to decompile and hack.
Reply With Quote
  #7 (permalink)  
Old December 21st, 2009, 01:42 PM
Registered User
 
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default yes and no - stop 90% of people

yes dotNet is open
and no you can't stop someone that knows what they are doing
this is true for C# and C++, it's all commands that anyone can read

level 1 - don't give out the source code - stops 50% of people
level 2 - obfuscation your source code - stops 80% of people
level 3 - encrypted EXE & non-dotNet wraper around your dotNet - stops 90%
level 4 - run on server - stops 30%-99% of people
level 45 - encrypted obfuscation in memory - dotNet is the matrix and you can do anything) - stops 99.9%

I like http://www.eziriz.com/ -.NET Reactor, this will stop most people, all but 100 or 200 in the world

step one nothing you do will ever stop everyone - it will only stop most. be ok with that.

I'm thinking about selling my skill in protecting programs, would anyone like to buy/rent this skill? what do people think of this.

0NEX
Reply With Quote
Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert .NET dll to COM dll used by VB 6.0 gvprashanth .NET Framework 1.x 0 December 4th, 2006 05:05 AM
Can I run VB .net 2005 with DOT NET 2003 APPLICATI kadesskade BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 2 August 8th, 2006 05:14 AM
VS Dot Net Installer pal_amu General .NET 0 May 19th, 2005 01:40 AM
using dot net 2.0 zamankazi BOOK: ASP.NET Website Programming Problem-Design-Solution 6 October 26th, 2004 04:41 PM



All times are GMT -4. The time now is 07:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.