Ver Fonte

Added fixed seed for the first obfuscation pass of the CustomNodeObfuscator

sanex3339 há 5 anos atrás
pai
commit
a5077431de
4 ficheiros alterados com 2 adições e 1 exclusões
  1. 0 0
      dist/index.browser.js
  2. 0 0
      dist/index.cli.js
  3. 0 0
      dist/index.js
  4. 2 1
      src/custom-nodes/CustomNodeObfuscator.ts

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/index.browser.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/index.cli.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/index.js


+ 2 - 1
src/custom-nodes/CustomNodeObfuscator.ts

@@ -50,7 +50,8 @@ export class CustomNodeObfuscator implements ICustomNodeObfuscator {
             template,
             {
                 ...NO_ADDITIONAL_NODES_PRESET,
-                identifierNamesGenerator: IdentifierNamesGenerator.HexadecimalIdentifierNamesGenerator
+                identifierNamesGenerator: IdentifierNamesGenerator.HexadecimalIdentifierNamesGenerator,
+                seed: 1
             }
         ).getObfuscatedCode();
 

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff