Skip to content

Havoc Professional backend plugin to allow ingesting of events and logs to Ghostwriter

License

Notifications You must be signed in to change notification settings

InfinityCurveLabs/ghostwriter-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghostwrite Sync Plugin

This havoc backend plugin allows ingest events and post these events to the Ghostwriter GraphQL API to create real-time activity logs.

This plugin automatically logs all operator's commands, comments, and output into Ghostwriter so operators can focus more on technical execution and less on manual and tedious logging and reporting activities.

Build

To build it from source, the following steps are to be made:

git clone https://github.com/InfinityCurveLabs/ghostwriter-sync
cd ghostwriter-sync
make

Once build copy the generated plugin.hc along side with the plugin json metadata to its own directory under the TeamServer plugins directory:

mkdir <HAVOC_TEAMSERVER>/plugins/ghostwriter
cp plugin.* <HAVOC_TEAMSERVER>/plugins/ghostwriter

This way the TeamServer will automatically register the plugin on startup.

Configure

A single toml file is needed to configure the plugin with the necessary domain endpoint, api-token, and operation id.

[kaine.ghostwriter]
   domain       = 'https://127.0.0.1'
   api-token    = '<YOUR API TOKEN>'
   operation-id = 1

Once configured, we can tell the TeamServer to use the given configuration for the ghostwriter sync plugin.

./havoc server profiles/* ghostwriter.toml

Preview

An example preview of how it looks once successfully running

preview

References

About

Havoc Professional backend plugin to allow ingesting of events and logs to Ghostwriter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors