mitre / sandcat

A CALDERA plugin
https://caldera.mitre.org/
Apache License 2.0
61 stars 36 forks source link

Adding optional hooks when copying extension files #364

Closed uruwhy closed 3 years ago

uruwhy commented 3 years ago

Description

Adding framework to include hook functions that get executed when copying gocat extension files for compilation. This allows users to invoke python functions to edit golang files at compile time, such as using caldera configuration file settings to change variables within golang code.

Type of change

How Has This Been Tested?

Tested compilation using a custom hook function for a sandcat extension and verified that the changes were reflected in the resulting golang executable.

Checklist: