Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.62 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.62 KB

NidhoggScript

Logo

image image

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.

Basic Usage

Once you compiled the project, you can run it via CLI in two ways:

Compiling mode

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

Validation mode

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

Setup

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.