monoxgas/sRDI

Python script crashes?

CaledoniaProject opened this issue · 1 comments

I've successfully compiled the TestDLL.dll, but the python script does not seem to work

%> python ConvertToShellcode.py ../Release/TestDLL.dll
Creating Shellcode: ../Release/TestDLL.bin
Traceback (most recent call last):
  File "ConvertToShellcode.py", line 24, in <module>
    main()
  File "ConvertToShellcode.py", line 19, in main
    converted_dll = ConvertToShellcode(dll, HashFunctionName(arguments.function_name))
  File "/tmp/sRDI-master/Python/ShellcodeRDI.py", line 43, in HashFunctionName
    functionHash += b
TypeError: unsupported operand type(s) for +=: 'int' and 'str'

Try Python 3 :)

I need to add a warning about that, sorry for the confusing error