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

Publish v0.9.3 beta release to pip #54

Closed TheWover closed 3 years ago

TheWover commented 4 years ago

I need the functionality of the -x command (terminating the process when the payload exits) for something that I am using Donut with. So, I'll see if I can publish the beta version of v0.9.3 to pip without making it so that the beta release installed if a user runs pip install donut-shellcode.

kafkaesqu3 commented 4 years ago

+1 for this. I cannot add 0.9.3 with pip by cloning the repository. As suggested, I have tried downgrading my version of setuptools. Error message blow:

Processing /root/donut ERROR: Command errored out with exit status 1: command: /root/donut/env/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-63oyskr0/setup.py'"'"'; file='"'"'/tmp/pip-req-build-63oyskr0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-63oyskr0/pip-egg-info cwd: /tmp/pip-req-build-63oyskr0/ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-63oyskr0/setup.py", line 1, in from setuptools import Extension, setup, sys ImportError: cannot import name 'sys' from 'setuptools' (/root/donut/env/lib/python3.8/site-packages/setuptools/init.py)

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

TheWover commented 4 years ago

Merged PRs #64 and #65 that fixed issues with setup.py. Once v0.9.4 is ready, we will update PyPi.

TheWover commented 3 years ago

Once the next version is ready, we will publish it to normal platforms, including PyPi.