Veil ile payload hazırlarken ensonda
Half way... Shellcode generated with Veil-Ordnance! Returning to Veil-Evasion.
Traceback (most recent call last):
File "/usr/share/veil/./Veil.py", line 145, in <module>
the_conductor.main_menu()
File "/usr/share/veil/lib/common/orchestra.py", line 127, in main_menu
tool_object.tool_main_menu()
File "tools/evasion/tool.py", line 368, in tool_main_menu
self.use_payload(selected_payload_module)
File "tools/evasion/tool.py", line 400, in use_payload
selected_payload.generate()
File "tools/evasion/payloads/python/shellcode_inject/stallion.py", line 101, in generate
encoded_ciphertext, constrained_key, encryption_key = encryption.constrained_aes(Shellcode)
File "/usr/share/veil/tools/evasion/evasion_common/encryption.py", line 128, in constrained_aes
aes_cipher_object = AES.new(real_key, AES.MODE_ECB)
File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/AES.py", line 232, in new
return _create_cipher(sys.modules[__name__], key, mode, *args, **kwargs)
File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/__init__.py", line 79, in _create_cipher
return modes[mode](factory, **kwargs)
File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/_mode_ecb.py", line 216, in _create_ecb_cipher
cipher_state = factory._create_base_cipher(kwargs)
File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/AES.py", line 103, in _create_base_cipher
result = start_operation(c_uint8_ptr(key),
File "/usr/lib/python3/dist-packages/Cryptodome/Util/_raw_api.py", line 143, 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
diye bir hata alıyorum.
Yardımcı olursanız sevinirim