You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: