mitre / sandcat

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

look only in the payloads dir of plugins when fetching compiled agents #400

Closed uruwhy closed 2 years ago

uruwhy commented 2 years ago

Description

Look only in the payloads dir of plugins when fetching compiled sandcat payloads. This way, if other plugins have the sandcat.go-windows binary in a different subfolder, the sandcat plugin service will ignore it.

Type of change

How Has This Been Tested?

Tried compiling sandcat.go-windows with another sandcat.go-windows in a different folder structure and made sure those were ignored.

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication