6 Replies - 3159 Views - Last Post: 08 February 2012 - 07:44 AM Rate Topic: -----

Topic Sponsor:

#1 ssamiev  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 24
  • Joined: 16-March 10

DotFuscator returns error during building

Posted 17 April 2010 - 03:09 AM

I have been using C# not so a long time when I found that a code compiled using MSIL would be easily disassembled
in Visual Studio 2008 Professional Edition using it's Tools like ildasm.exe (it stands for Intergrated Language Disassembler). When I compiled my dll and deployed my application, a friend of mine asked me how did I wrote my
code there and told me to optimize my algorithms. Then I asked him when did he get my source codes ? And he asked :
I cracked!
Finally after googling I found that it's easy to decompile .NET assemblies as they do not generate specific CPU
instructions but MSIL code that then with help of Jet Compiler will be translated into specific platform. Then I decided search for .NET security and found Preemptive DotFuscator that obfuscate .NET assemblies.

And my Visual Studio 2008 comes with a trial version of Preemtive Dotfuscator and I wanted to obfuscate my application during building of my project it echoes an error and says smth like this;

Error ildasm.exe returned 1 ;)

Has anyone used dotfuscator b4 and I like to know your experience in this issue please!

Please share you experience on securing .NET assemblies...

Thank you all in advance ;)

Is This A Good Question/Topic? 0
  • +

Replies To: DotFuscator returns error during building

#2 FlashM  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 378
  • View blog
  • Posts: 1,195
  • Joined: 03-December 09

Re: DotFuscator returns error during building

Posted 17 April 2010 - 03:16 AM

So you're saying that it is possible to decompile an assebly and get a code like:

public void SomeMethod(int a, int B)
{
    int result = a + b;
    MessageBox(result);
}

Was This Post Helpful? 0
  • +
  • -

#3 ssamiev  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 24
  • Joined: 16-March 10

Re: DotFuscator returns error during building

Posted 17 April 2010 - 03:41 AM

Exactly!
When you use DotFuscator it then obfuscates your app and makes it not human readable and also safe for recompiling ! :yes:
Was This Post Helpful? 0
  • +
  • -

#4 FlashM  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 378
  • View blog
  • Posts: 1,195
  • Joined: 03-December 09

Re: DotFuscator returns error during building

Posted 17 April 2010 - 03:46 AM

I didn't know this is possible... I did use ildasm before, but it doesn't give you the complete code... Will have to try this :-)
Was This Post Helpful? 0
  • +
  • -

#5 ssamiev  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 24
  • Joined: 16-March 10

Re: DotFuscator returns error during building

Posted 17 April 2010 - 05:49 AM

Try Preemtive Dotfuscator!!!
Was This Post Helpful? 0
  • +
  • -

#6 Guest_Brandon Siegel*


Reputation:

Re: DotFuscator returns error during building

Posted 20 April 2010 - 11:21 AM

Dotfuscator uses ildasm to disassemble your .NET program. If you are getting an "ildasm returned 1" error then there is some problem reading your assembly. If however you are getting an "ilasm returned 1" error (note this is ilasm without the 'd') then Dotfuscator is doing something wrong when it's trying to obfuscate your assembly. Either way, this is a pretty unusual situation that I'd like to take a look at. Please make a post with some information and the exact error you are getting on the PreEmptive support forums here: http://www.preemptive.com/forum/ We will follow up with you and try to get to the root of this problem.

As for decompiling, there is a widely-used tool called .NET Reflector which can transform your application directly back to its original C# or VB code. This is why obfuscators like Dotfuscator exist.
Was This Post Helpful? 0

#7 IvanFerrer  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 25-November 10

Re: DotFuscator returns error during building

Posted 08 February 2012 - 07:44 AM

I had the same problem (ilasm returned 1) and it was because I was trying to obfuscate a pre-obfuscated exe.
I mean: once I obfuscated the exe file for the first time, I copied it to his project folder to test it in his context.
After that, I changed some Dotfuscator options and Generated again. This second time it was trying to obfuscate the previously obfuscated exe at the project folder.
My fail, of course.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1