Skip to content

ConvertTo-Json - login failures not output correctly #20

Description

@dhammond22222

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.

deepbluecli_json_output_overwritten

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions