Skip to content

njrat cli output #52

Open
Open
@ClovDev

Description

Hi,

Was working on extraction of config of njrat, with extraction towards a file it works fine but with CLI it does not due
TypeError: Object of type bytes is not JSON serializable

This is due the njrat decoder code used to extract the campaign id:
config_dict["Campaign ID"] = b64decode(string_list[version_index-1])

The b64decode returns a bytes object and not a string, this can be easily fixed by adding ".decode()" after the b64decode.

I could make a PR, but are you still working on this project since several other PR are still open including one for njrat?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions