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
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
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:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
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: