Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: 'str' object is not callable

Traceback (most recent call last):


 "/usr/local/bin/malconf", line 122, in <module>

process_file(args[0], output_file)


 "/usr/local/bin/malconf", line 49, in process_file

module.get_config()


 "/usr/local/lib/python3.8/dist-packages/malwareconfig/decoders/darkcomet.py", line 70, in get_config

raw_config = self.parse_v5(self.file_info, dc_version)


 "/usr/local/lib/python3.8/dist-packages/malwareconfig/decoders/darkcomet.py", line 41, in parse_v5

clear_config = crypto.decrypt_arc4(dc_version, crypted_config)


 "/usr/local/lib/python3.8/dist-packages/malwareconfig/crypto.py", line 22, in decrypt_arc4

cipher = ARC4.new(key)


 "/usr/local/lib/python3.8/dist-packages/Crypto/Cipher/ARC4.py", line 132, in new

return ARC4Cipher(key, *args, **kwargs)


 "/usr/local/lib/python3.8/dist-packages/Crypto/Cipher/ARC4.py", line 60, in __init__

result = _raw_arc4_lib.ARC4_stream_init(c_uint8_ptr(key),


 "/usr/local/lib/python3.8/dist-packages/Crypto/Util/_raw_api.py", line 144, in c_uint8_ptr

raise TypeError("Object type %s cannot be passed to C code" % type(data))
TypeError: Object type <class 'str'> cannot be passed to C code
