Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

njrat cli output #52

Open
ClovDev opened this issue Nov 3, 2020 · 0 comments
Open

njrat cli output #52

ClovDev opened this issue Nov 3, 2020 · 0 comments

Comments

@ClovDev
Copy link

ClovDev commented Nov 3, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant