Open dhammond22222 opened 3 years ago
Hello,
Was working on a lab and came across an issue regarding outputting to JSON. Specifically when a password spray attack is logged.
When running the command:.\DeepBlue.ps1 | ConvertTo-JSON , the output for each user appears to be overwritten by the password spray totals.
.\DeepBlue.ps1 | ConvertTo-JSON
Once this if condition is hit, the original $obj contents appear to be overwritten when invoking the JSON output.
https://github.com/sans-blue-team/DeepBlueCLI/blob/master/DeepBlue.ps1#L564
Hello,
Was working on a lab and came across an issue regarding outputting to JSON. Specifically when a password spray attack is logged.
When running the command:
.\DeepBlue.ps1 | ConvertTo-JSON
, the output for each user appears to be overwritten by the password spray totals.Once this if condition is hit, the original $obj contents appear to be overwritten when invoking the JSON output.
https://github.com/sans-blue-team/DeepBlueCLI/blob/master/DeepBlue.ps1#L564