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
1
vote
0 answers

How to modify csproj to automatically run obfuscar on relase build

I'm using Sharp Develop to create a c# project, which in turn creates a csproj file. Then, I installed obfuscar as follows: From PowerShell as Administator: PS> Install-Package Obfuscar This places the Obfuscar.Console.exe executable in the…
Bimo
  • 5,987
  • 2
  • 39
  • 61
1
vote
0 answers

Step by step instructions on how to use Obfuscar

I've installed Obfuscar 2.2.4 through the package manager but I haven't got a clue what to do next. I'm using Visual studio community 2015. I'd like to try out Obfuscar on a VB.NET dll I've written. Simple step by step instructions would be great.
1
vote
1 answer

Hiding strings in .net core project

I have ASP.Net Core 1.0.1 project in which I need some strings hidden. The strings are private static fields. Obfuscar 2.2.3 is meant to hide strings by default, but it doesn't. I also tried this config with explicit values:
Slip
  • 593
  • 1
  • 7
  • 21
1
vote
1 answer

How to configure Obfuscar, The Open Source Obfuscation Tool

I m trying to use the obfuscar free tool to protect my code from reverse engineering. I'm trying to obfuscate the provided example Basic Example. The problem that I can't find how to configure it. Here's my config.xml
MRebai
  • 5,344
  • 3
  • 33
  • 52
1
vote
1 answer

rename an internal class with Obfuscar

I need Obfuscar to obfuscate (rename) internal classes such as Secret1 in the following. This is a minimal WPF application with ancillary public and internal classes for exercising Obfuscar. namespace WpfApp { public enum Category { Low, High…
H2ONaCl
  • 10,644
  • 14
  • 70
  • 114
1
vote
1 answer

Can I use an environment variable in Obfuscar config file?

The obfuscar config file needs to specify "InPath" and "OutPath". Is it possible to use an environment variable? If yes, how?The reason is that this config file is in SVN and then should be used by people having their projects locally in different…
Matmok
  • 333
  • 3
  • 9
1
vote
0 answers

Obfuscar 2.0 - Could not load type from assembly

I am trying to use Obfuscar on an asp.net app (C# .Net 4) So I want to obfusc only one dll. This dll MyApp.Secure.dll is loaded on application start by global.asax When my dll is not obfuscated everything works fine but if it is obfusacted I…
Kaly
  • 47
  • 1
  • 8
0
votes
0 answers

NSwag C# client generater ignores Enum attribute

I have an enum which is decorated with an attribute as below, but the generated client by Nswag does not has the attribute as expected. Is there a way to configure that the attribute is present in the generated client. [Obfuscation(Exclude = true,…
Mani
  • 105
  • 1
  • 1
  • 8
0
votes
0 answers

Usage of environment variables inside obfuscar configuration files

Is it possible to use environment variables (for example those defined inside .csproj file) inside obfuscar configuration files? And if so, where can I find some documentation on the topic? Tried to find some info about it on the Internet and…
0
votes
1 answer

Obfuscar HideStrings not working on a NET 6 Class Library

I have been using Obfuscar for many years on .NET 4.x, but now I am using NET 6 with a class project and the assembly obfuscates fine apart from one feature that is not working, the HideStrings setting is not working, the XML is below, any help…
ClickAlgo
  • 1
  • 4
0
votes
0 answers

Wrong TypeName after obfuscation

I have a problem with user controls: My VB.Net application AppliTest uses a PlusMinus user control. In the application, I need at some point to treat each control according to its TypeName. This works fine before obfuscation with Obfuscar (…
0
votes
0 answers

Xamarin.Android app crashes after running Obfuscar (Visual Studio for Mac)

I've got a basic Xamarin.Android project setup with Obfuscar configured The obfuscar.xml:
Jay Sidri
  • 6,271
  • 3
  • 43
  • 62
0
votes
0 answers

Obfuscar with Xamarin.iOS

Has anyone had any success obfuscating Xamarin.iOS apps using Obfuscar? It looks like it's supported but the the documentation for configuring a project is almost non existent.
Jay Sidri
  • 6,271
  • 3
  • 43
  • 62
0
votes
1 answer

Use Obfuscar for publishing applications

I am able to obfuscate a .dll in my visual studio solution upon running it. The problem is that I have no idea how this can be done upon publishing the application into an .exe. Because the source code of the dll inside the published exe can still…
0
votes
1 answer

About Obfuscar application use

Hello everyone: I'm learning to use this really great Obfuscar 2.2.31 in my applications made with Visual studio 2019 (C# or VB.Net). I have done some testing and I like the results, but I want to prevent it from encrypting a class that I occupy as…