Command Line
Babel Obfuscator provides a command line tool on Windows, Mac and Linux. This paragraph will describe how to use Babel Obfuscator from the command line.
Babel Obfuscator is available as a command line tool, which makes it easy to integrate into your build pipeline and automate the obfuscation process. The command line tool, named "babel", allows you to easily specify the input assemblies, output file, and various obfuscation options. To start babel from the command line, open the PowerShell on Windows or the Terminal on Mac OS and enter:
The "babel" command launches the babel executable command line tool. This command accepts the following syntax:
The first parameter, <primary assembly source>, is the target assembly (or primary assembly) you want to obfuscate and is a mandatory parameter.
The [<other assemblies>...] is an optional list of assemblies that will be merged with the primary assembly.
The [options] are a list of command line switches to configure Babel Obfuscator. Each command line switch is prefixed by a double hyphen, for example:
--embed
Command line parameters can be bundled using the short syntax for command line options. Use a single hyphen to enter multiple parameters in a bundled expression:
babel myapp.exe --types --methods --properties --fields --events
It is equivalent to:
babel myapp.exe -tmpfe
To show all available command line switches enter the command line:
You can show a detailed description of every command line switch by entering:
For example
will output detailed help for the controlflow command line switch:
Last updated