Quick Start
The content of this article is also available as a video tutorial.
First steps with the CLI (6 min)The ByteHide CLI allows you to access Shield and other products with a single account, all you have to do is install the CLI.
Shield commands
All Shield commands can be run using the shield
prefix in the terminal.
Use the following command to get an overview of all Shield commands:
bytehide shield --help
Protect an application quickly
The fastest way to protect an application is to do it interactively.
Use the command:
bytehide shield protect:auto
This command will start an interactive flow asking you for the necessary values to protect your application.
Enter a project name:
Enter the project name: MyCompanyCRM
You must enter the name of a Shield project, if the project does not exist it will be created.
Enter the application path:
Enter the path of the application: "C:\users\company\app\myCRM.dll"
You must enter the
full
path of the application you want to protect.Processing dependencies:
In order to analyze the application correctly, the dependencies it uses must be resolved, Shield will do this automatically for you, in the event that it does not find a dependency on your computer, it will ask you for the path of the dependency.
If you have trouble finding your application's dependencies you can look for the
{your_app_name}.deps.json
file to find out the dependency paths. These are normally found in% userprofile% .nuget \ packages (Windows)
or~ / .nuget / packages (Mac / Linux)
, of the application uses dependencies of .NET Framework try looking for them in theGAC
using GacUtil.exe.Select settings:
You must select:
Choose the source of protection to use > Load from a config file Use a preset Make a custom
- If you select it from a file you must enter its
full path
. - If you use a preset, just choose which one.
- If you do it personalized, select the protections you want to apply.
- If you select it from a file you must enter its
Enter the directory where the protected application will be saved:
If the directory does not exist, it will be created. Also, if an application is found in the directory, it will be replaced.
Enter the directory path where protected app will be saved: "C:\users\company\app\protected\myCRM.dll"
Your application will be protected.
While it is protected you will see the process in real time, once it is finished you will be notified.
If an error occurs during the process, our team will be notified to help you.