mitre / sandcat

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

Fixing origin link id type in shared.go #386

Closed uruwhy closed 2 years ago

uruwhy commented 2 years ago

Description

Fix bug where origin link ID had the wrong type

Type of change

How Has This Been Tested?

Compiled DLL and ran it using the following commands:

# From C2 server:
server="http://192.168.137.1:8888";curl -s -X POST -H "file:shared.go" -H "platform:windows" -H "server: http://192.168.137.1:8888" $server/file/download > testsandcat.dll

# Running on target
rundll32.exe ./testsandcat.dll,VoidFunc

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