s0lst1c3 / dropengine

DropEngine provides a malleable framework for creating shellcode runners, allowing operators to choose from a selection of components and combine them to create highly sophisticated payloads within seconds.
GNU General Public License v3.0
208 stars 28 forks source link

Fails to build #14

Open mx1r opened 4 years ago

mx1r commented 4 years ago

Getting the following errors while trying to build

python3 dropengine.py --build --interface csharp_runner_interface --runner msbuild_csharp_runner --crypter crypter_aes --decrypter decrypter_csharp_rijndael_aes --ekey ekey_static --dkey dkey_csharp_static --executor executor_csharp_virtual_alloc_thread --mutator mutator_random_string --input-file shell.bin --output-file shell.csproj
executor
runner
decrypter
Traceback (most recent call last):
  File "dropengine.py", line 19, in <module>
    payload = interface.create_payload()
  File "/root/test/dropengine/base/interfaces/runner_interface.py", line 74, in create_payload
    self.merge_keys()
  File "/root/test/dropengine/base/interfaces/runner_interface.py", line 84, in merge_keys
    ekey_data['val_array'] = self.shellcode_format.render(ekey_data['val'])
  File "/root/test/dropengine/modules/shellcode/csharp_bytes.py", line 14, in render
    return self._render_helper(text)
  File "/root/test/dropengine/modules/shellcode/csharp_bytes.py", line 19, in _render_helper
    split_chars = text.hex(' ').split()
TypeError: hex() takes no arguments (1 given)
mx1r commented 4 years ago

Does anyone has any thoughts?