Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Obfuscation of source code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Obfuscation of source code

    Looking for a solution to obfuscate the source code. Not the compiled code but the code BEFORE it gets compiled.


    #2
    Hello WHICKED,

    The code before it gets compiled needs to be in C# language in order to be compiled, you wouldn't be able to obfuscate that. To hide the code you would need to make a compiled assembly which is no longer human readable. To protect against decompilation you can obfuscate the assembly by using agile.net which takes the already hidden code and further protects the dll against decompilation into human readable code.

    JesseNinjaTrader Customer Service

    Comment


      #3
      Thats all good and fine. But I am still looking for a solution from someone else than NinjaTrader. You do have a partner that should do this for us as long as you purchase the license for Agile.NET

      I am still looking for a solution that can be used on the code before compilation or export.

      Comment


        #4
        Codecepticon is a .NET application that allows you to obfuscate C#, VBA/VB6 (macros), and PowerShell source code, and is developed for of...


        Codecepticon is a .NET application that allows you to obfuscate C#, VBA/VB6 (macros), and PowerShell source code, and is developed for offensive security engagements such as Red/Purple Teams. What separates Codecepticon from other obfuscators is that it targets the source code rather than the compiled executables, and was developed specifically for AV/EDR evasion.

        Codecepticon allows you to obfuscate and rewrite code, but also provides features such as rewriting the command line as well.

        Comment


          #5
          From what I've seen, you could go old-school and just switch up the names of your variables, functions, and classes to something super vague. Like, you could take something descriptive like customerName and change it to a1 or just x. It's definitely gonna make your code look like a puzzle, but man, it's a lot of work and you've gotta be careful not to mess things up.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by fx.practic, 10-15-2013, 12:53 AM
          5 responses
          5,404 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by Shai Samuel, 07-02-2022, 02:46 PM
          4 responses
          95 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by DJ888, Yesterday, 10:57 PM
          0 responses
          8 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by MacDad, 02-25-2024, 11:48 PM
          7 responses
          160 views
          0 likes
          Last Post loganjarosz123  
          Started by Belfortbucks, Yesterday, 09:29 PM
          0 responses
          9 views
          0 likes
          Last Post Belfortbucks  
          Working...
          X