mitre / sandcat

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

Virts 3441 #403

Closed uruwhy closed 2 years ago

uruwhy commented 2 years ago

Description

Some refactoring of gist/slack C2 code to remove naming conflicts when trying to install both extensions. Also refactored slack.go to remove duplicate code and provide cleanup.

Requires https://github.com/mitre/caldera/pull/2481 to allow new github api key format

Future PRs will include golang unit tests for these extensions.

Type of change

How Has This Been Tested?

Compiled agent with both extensions included. Ran operations with slack and gist C2s.

Checklist:

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication