Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

python/shellcode_inject/aes_encrypt can not generate reverese http payload and closes veil unexpectedly #439

Open
ShahrairGIT opened this issue Aug 3, 2021 · 3 comments

Comments

@ShahrairGIT
Copy link

When I try to generate a reverse http payload with python/shellcode_inject/aes_encrypt it takes all the LHOST,LPORT inputs but when I generate the payload it shows these python errors and closes veil .

Half way... Shellcode generated with Veil-Ordnance! Returning to Veil-Evasion.
Traceback (most recent call last):
File "/home/nitroshell/Desktop/Veil/./Veil.py", line 137, in
the_conductor.main_menu()
File "/home/nitroshell/Desktop/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/aes_encrypt.py", line 97, in generate
payload_code += '\t' * num_tabs_required + RandCipherObject + ' = AES.new('' + encryption_key + '', AES.MODE_CBC, '' + iv_value + '')\n'
TypeError: can only concatenate str (not "bytes") to str

@GamehunterKaan
Copy link

Same Here.Other Methods Cant Bypass Anti Virus.Using Any Encryption Method With Python Crashes Veil.I Tried Generating Payloads On Both Kali Linux And Ubuntu 20.04.3 LTS x86_64.

@Grant-Knoetze
Copy link

Same here flat shellcode won't work says the file path doesn't exist.

@mushtaq-aslam7
Copy link

Is there any solution to this issue??

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

No branches or pull requests

4 participants