TheWover / donut

Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters
BSD 3-Clause "New" or "Revised" License
3.53k stars 628 forks source link

'format' is an invalid keyword argument for this function #56

Closed afsheen07 closed 4 years ago

afsheen07 commented 4 years ago

Hi,

When I try to call the Python function and pass in hexadecimal as the format, it throws this error. Is the format parameter not supported?

import donut
shellcode = donut.create(file="foo.exe", arch=2, format=8)

Traceback (most recent call last): File "shellcode.py", line 5, in shellcode = donut.create(file="foo.exe", arch=2, format=8) TypeError: 'format' is an invalid keyword argument for this function