Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/idov31/nidhoggscript

NidhoggScript is a tool to generate "script" file that allows execution of multiple commands for Nidhogg
https://github.com/idov31/nidhoggscript

cpp cyber-security cybersecurity driver infosec kernel red-team redteam rootkit windows windows-rootkits

Last synced: about 1 month ago
JSON representation

NidhoggScript is a tool to generate "script" file that allows execution of multiple commands for Nidhogg

Awesome Lists containing this project

README

        

# NidhoggScript


Logo

![image](https://img.shields.io/badge/C%2B%2B-00599C?style=for-the-badge&logo=c%2B%2B&logoColor=white) ![image](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white)

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](https://github.com/Idov31/Nidhogg) that contains the execution part.

The allowed commands and detailed usage are documented in a dedicated [wiki](https://github.com/Idov31/NidhoggScript/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.

```sh
# 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.

```sh
NidhoggScript.exe C:\path\to\your\file.ndhg
```

## Setup

To compile the project, you will need to have [Visual Studio 2022](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16) installed and then just build the project like any other Visual Studio project.