Exception happened during processing of request from ('192.168.1.30', 53401)
Traceback (most recent call last):
File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 347, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/ThunderShell/core/httpd.py", line 37, in __init__
self.rc4 = RC4(self.rc4_key)
File "/opt/ThunderShell/core/rc4.py", line 12, in __init__
self.rc4 = ARC4.new(key)
File "/usr/local/lib/python3.7/dist-packages/Crypto/Cipher/ARC4.py", line 132, in new
return ARC4Cipher(key, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/Crypto/Cipher/ARC4.py", line 60, in __init__
result = _raw_arc4_lib.ARC4_stream_init(c_uint8_ptr(key),
File "/usr/local/lib/python3.7/dist-packages/Crypto/Util/_raw_api.py", line 145, 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