Questions tagged [obfuscar]

Obfuscar is an open source .NET obfuscator released under MIT license.

Obfuscar is an open source .NET obfuscator released under MIT license. It provides basic obfuscation features that help secure secrets in a .NET assembly.

Currently it is maintained and supported by LeXtudio. Its homepage is at

http://www.obfuscar.com

41 questions
33
votes
8 answers

How to install and use obfuscar?

I just finished my C# project(WPF), but now I meet problems on using "obfuscar" (another applicaion would be welcome, if easier to use). Of course I looked already on internet for it, but didn't find a documentation "for newbies"... I also tried to…
Siegfried.V
  • 1,508
  • 1
  • 16
  • 34
11
votes
2 answers

Usage of Fody/Costura and Obfuscar in Visual Studio 2017

I would like to ask if it is possible to use Fody-Costura, which embeds dependencies into the executable and Obfuscar, for obfuscation, together. At the moment I’m struggling because the msbuild target in Visual Studio 2017 of Costura gets executed…
TheGuy
  • 161
  • 1
  • 11
4
votes
0 answers

Is Obfuscar able to skip obfuscating namespace but still obfuscate all its subtypes?

According to the documentation, it is possible to skip the entire namespace: All the subtypes (classes) under Company.PublicBits…
Thomas
  • 56
  • 3
4
votes
1 answer

make Obfuscar avoid renaming enum types

In using Obfuscar, I want to prevent enum types from being obfuscated because I need the original enum value names. I invoke ToString() on enum values because they are useful to the user. I had difficulty with the usual configuration where all types…
H2ONaCl
  • 10,644
  • 14
  • 70
  • 114
3
votes
1 answer

Obfuscar for Xamarin Forms

I'm developing a Xamarin.Forms app using Visual Studio for Mac (Community Edition). I'm able to decompile the source code of the Android application using ILSpy In order to obfuscate the source code, I used Obfuscar and followed the steps in…
3
votes
2 answers

Obfuscar for asp.net core 3.1

In the ASP.NET Core 3.1 app, the given path in the obfuscar.xml is correct but it is not able to find the assembly/Failed to resolve assembly:
John
  • 693
  • 1
  • 12
  • 37
3
votes
1 answer

Obfuscar SkipType configuration element is not working for enums

The Obfuscar SkipType configuration element seems to be not working for enums. This is my fairly minimal configuration file.
H2ONaCl
  • 10,644
  • 14
  • 70
  • 114
2
votes
1 answer

Obfuscar - skip obfuscation of anonymous types

I'm using the open source obfuscation software "Obfuscar". Is there a way to configure it to not obfuscate the property names in my anonymous types? I'm using RestSharp to send HTTP requests, and my Json body content is an anonymous…
Vg0
  • 45
  • 3
1
vote
1 answer

Errors After Obfuscar Obfuscation

I've used Obfuscar on my C# application, but the obfuscated version throws an exception where the normal version doesn't. I'm trying to figure out what the problem is, but I'm struggling. I've used the XML options to turn off as much obfuscation as…
Kyudos
  • 625
  • 4
  • 18
1
vote
1 answer

How to use Wildcards in Obfuscator XML

I have a Obfuscator XML that obfuscates the hardcoded file names
1
vote
1 answer

Can obfuscar be used with Blazor WebAssembly

I created a Blazor WebAssembly with code that I want to obfuscate. The tool obfuscar works well but when I replace the original dll with the obfuscated one, my website cannot be loaded. The dev tools show the following errors: Failed to find a…
Flippowitsch
  • 315
  • 3
  • 15
1
vote
0 answers

Obfuscar 2.2.28 throws ResolutionException

Obfuscar 2.2.28 throws ResolutionException for an obfuscated item: Unhandled Exception: Mono.Cecil.ResolutionException: Failed to resolve A.h at Mono.Cecil.Mixin.CheckedResolve(TypeReference self) at…
Marcel V.
  • 53
  • 9
1
vote
1 answer

Invoking Obfuscar in post build step

I'm working on a C# WPF project and I need some obfuscation. I found Obfuscar and it looks very promising, using nuget and a post-build event seems like a solid solution. So I've installed the nuget package and added and tweaked the obfuscar.xml…
Mark
  • 1,258
  • 13
  • 25
1
vote
1 answer

Execute Obfuscar Before Fody.Costura Merge Files

How can I Execute Obfuscar Before Fody.Costura Merge the Files Because Merged Files Are not obfuscated, using Fody.Costura compression or wihout it. I've downloaded https://github.com/obfuscar/example.git project example for obfuscar, then I've…
Zaha
  • 846
  • 10
  • 21
1
vote
0 answers

Can Obfuscar obfuscate .NET 4.6.x, WPF, .NET Standard Libraries?

I have a VS2017 solution that includes projects targeting .NET 4.6.1, using WPF and .NET Standard Libraries. I am wondering if I can use Obfuscar to obfuscate the exe and dll files. Any insights are appreciated. Thank you!
user2106007
  • 697
  • 1
  • 7
  • 11
1
2 3