Skip to content

load-module

load-module allows you to load a DLL into the beacon without writing it on disk.

A lot of functionalities won’t work unless you load the required DLL.

[Session 9: haroun@DESKTOP-DU89UIV] » load-module --help
load-module
Usage:
load-module [flags] module
Args:
module string module to load
Flags:
-h, --help display help

The Path to look for modules is defined in ./data/clientconf.toml

...
WindowsModulePath = "./tools/compiled-modules/windows/"
...

For example to load ./tools/compiled-modules/windows/ls.dll you can use

Terminal window
[Session 9: haroun@DESKTOP-DU89UIV] » load-module ls
[Session 9: haroun@DESKTOP-DU89UIV] » load-module run