NidhoggScript is a project that allows the user to create playbooks and execute a bunch of commands with Nidhogg in one IOCTL. This project has two parts:
-
This repository, which is the user mode part contains the user mode "compiler" and checker to create these script files.
-
Nidhogg that contains the execution part.
The allowed commands and detailed usage are documented in a dedicated wiki.
Once you compiled the project, you can run it via CLI in two ways:
Use this mode to "compile" your script, give the input file and the output directory which will be created there the out.ndhg
file.
# Example input in file.txt:
# process add 3110
# Run the compiler.
NidhoggScript.exe C:\path\to\your\file.txt C:\path\to\folder
Use this mode if you want to validate an edited file. If it is a file that is just generated there is no need to use this mode because "compiling" also validates the output.
NidhoggScript.exe C:\path\to\your\file.ndhg
To compile the project, you will need to have Visual Studio 2022 installed and then just build the project like any other Visual Studio project.