Sample Build Hooks Plugin
This is a server-side-only sample for the agent builder hook API.
It demonstrates:
onBuildPrepareandonBuildTargetfor observing build state.buildHooks.post_buildfor seeing the raw Go build output.buildHooks.before_donutandbuildHooks.after_donutfor Donut shellcode conversion.buildHooks.before_sgnandbuildHooks.after_sgnfor SGN shellcode encoding.onBuildArtifactfor replacing the downloadable output with a.txtfile containingtest.- A custom Build Plugins button named
Build Test TXT. onBuildCompleteandonBuildFailedfor post-build automation.- A small UI that reads recent hook activity from the plugin's SQLite database.
Run build.bat from this directory to create sample-build-hooks.zip, then upload it on the Plugins page or place the zip where the server loads plugins.