Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #v1.60.5
- import socket
- import base64
- import ssl
- import hashlib
- import time
- import random
- import urllib.request
- import datetime
- import androidhelper
- import threading
- droid = androidhelper.Android()
- Targets = []
- try:
- with open("/sdcard/qpython/Targets.txt","r") as file:
- for i in file.read().split("\n"):
- i = i.split("|")
- if len(i) > 1: Targets += [i]
- except:
- print("Error targets base")
- exit(0)
- TargetN = "%&$#"
- if TargetN == "%&"+"$#":
- print("Please start vHackOSCore.py !!! -_-")
- exit(1)
- Target = Targets[int(TargetN)]
- Wall = "%&&$" == "True"
- Apps = "$%&$"
- Name = Target[0]
- ID = Target[1]
- lang = "ru"
- accessToken = Target[2]
- user2 = '{"uid":"'+ID+'","lang":"'+lang+'","accesstoken":"'+accessToken+'"}'
- Vars = (
- "/mobile/32",
- )
- Paths = (
- Vars[0]+"/update.php",#0
- Vars[0]+"/crew.php",
- Vars[0]+"/mwk.php",
- Vars[0]+"/server.php",
- Vars[0]+"/mining.php",
- Vars[0]+"/messenger.php",#5
- Vars[0]+"/tasks.php",
- Vars[0]+"/exploit.php",
- Vars[0]+"/remotebanking.php",
- Vars[0]+"/remotelog.php",
- Vars[0]+"/network.php",#10
- Vars[0]+"/remote.php",
- Vars[0]+"/startbruteforce.php",
- Vars[0]+"/missions.php",
- Vars[0]+"/store.php",
- Vars[0]+"/buy.php",#15
- Vars[0]+"/ranking.php",
- )
- Opisanie = (
- "\n1.) Буфер на сетькоины, что бы автоапгрейдер не тратил всё"+
- "\n2.) Тег клана"+
- "\n3.) Вибрация во время атаки на банк сетькоинов"+
- "\n4.) Перезапускать ли бота?"+
- "\n5.) Количество опыта нужное соклану, для выполнения норматива"+
- "\n6.) Нужно ли использовать битву серверов?"
- )
- SimInt = "0123456789"
- SimChr = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
- def JSONencoder(strr,Sim,Re):
- def StrRead(strr,Sim):
- Sim += 1
- Date = ""
- while strr[Sim] != '"':
- Date += strr[Sim]
- Sim += 1
- while strr[Sim] == '\\' and strr[Sim+1] == '"':
- Date += '\\"'
- Sim += 2
- return Sim, Date
- if Re: Ex = []
- else: Ex = {}
- Raz = 0
- Zn = 0
- while True:
- if strr[Sim] in ["}","]"]: return Ex, Sim
- elif strr[Sim] in ["{","["]:
- Conv = strr[Sim] == "["
- if Re:
- Dat, Sim = JSONencoder(strr,Sim+1,Conv)
- Ex += [Dat]
- else: Ex[Key], Sim = JSONencoder(strr,Sim+1,Conv)
- Raz = 0
- elif Re:
- if Raz == 0:
- if strr[Sim] == '"':
- Sim, Dat = StrRead(strr,Sim)
- Ex += [Dat]
- Raz = 1
- elif strr[Sim] in SimInt:
- Zn = Zn*10+ord(strr[Sim])-48
- if strr[Sim+1] in ["]",","]:
- Ex += [Zn]
- Zn = 0
- Raz = 1
- elif strr[Sim] in SimChr: Zn = 0
- elif strr[Sim] == ',' and Raz == 1: Raz = 0
- else:
- if strr[Sim] == '"' and Raz == 0:
- Zn = 0
- Sim, Key = StrRead(strr,Sim)
- while strr[Sim] != ':': Sim += 1
- Raz = 1
- elif Raz == 1:
- if strr[Sim] == '"':
- Sim, Zn = StrRead(strr,Sim)
- Ex[Key] = Zn
- Raz = 2
- elif strr[Sim] in SimInt:
- Zn = Zn*10+ord(strr[Sim])-48
- elif strr[Sim] in SimChr: Zn = 0
- elif strr[Sim] == ',':
- Ex[Key] = Zn
- Raz = 0
- elif Raz == 2 and strr[Sim] == ',': Raz = 0
- Sim += 1
- def b64encoder(str):
- str = base64.b64encode((str).encode("utf-8"))
- while str[-1]==61: str = str[:len(str)-1]
- return str.decode("utf-8")
- def MD5(str):
- m = hashlib.md5()
- m.update(str.encode("utf-8"))
- return m.hexdigest()
- def getPass(str):
- return MD5(str+str+MD5(str))
- def generator(sAddr,str):
- return ("GET "+sAddr+"?user="+b64encoder(str)+"&pass="+getPass(str)+" HTTP/1.1\nUser-Agent: Curator/1.6.0 (Linux; U; Android 5.6; thl T6S Build/KOT49H)\nHost: api.vhack.cc\nConnection: Keep-Alive\nAccept-Encoding: gzip\n\n").encode("utf-8")
- aRaz = 0
- def request(sAddr,strJ):
- global Pong
- global aRaz
- time.sleep(random.random()*0.3+0.2)
- gSock.send(generator(sAddr,strJ))
- Raz = False
- re = 0
- strr = ""
- while True:
- while True:
- try:
- mes = gSock.recv(100000)
- mess = mes.decode("utf-8").split("\r\n")
- if len(mess)>2: break
- print("PingPong...")
- SocketCreator()
- gSock.send(generator(sAddr,strJ))
- except:
- print("rewriting")
- re += 1
- if re == 8: gSock.send(generator(sAddr,strJ))
- if re == 15:
- Auth()
- Error = 1/0
- for i in mess:
- if len(i)>0:
- if i[0]=="{": Raz = True
- if Raz and i!="": strr += i
- mess = mess[::-1]
- try:
- sos = str(int(mess[3]))
- except:
- sos = mess[2]
- if sos == "0": break
- while strr.count("null")>0:
- strr = strr.replace("null","None")
- strr = JSONencoder(strr,1,False)[0]
- if "result" in strr:
- if strr["result"] == "10":
- print("Error pass/address:")
- print(" Address: "+sAddr)
- print(" stringJSON: "+strJ)
- print(" Date: "+str(strr))
- time.sleep(10000)
- if strr["result"] == "36":
- print("Error accessToken:")
- print(" AccessToken: "+accessToken)
- print(" Address: "+sAddr)
- print(" stringJSON: "+strJ)
- time.sleep(10000)
- aRaz = 0
- return strr
- def reqAction(sAddr,action):
- Zn = '{"action":"'+str(action)+'","uid":"'+ID+'","lang":"'+lang+'","accesstoken":"'+accessToken+'"}'
- return request(sAddr,Zn)
- def Heist():
- StrV = {}
- if not Upd[1]: return
- res = request(Paths[3],user2)
- print("HEIST STARTED!")
- if Values[2] == "1":
- for i in range(25):
- droid.vibrate(40)
- time.sleep(0.1)
- conn = socket.socket()
- conn.connect(("51.255.93.109",35401))
- conn.send(b64encoder(":LOGIN::"+ID+"::"+accessToken).encode("utf-8"))
- print(conn.recv(1024).decode("utf-8"))
- S = 0
- L = 0
- Raz = True
- Ex = True
- Players = {}
- Max = 0
- End = ""
- while Ex:
- L += 1
- for mes in conn.recv(1024).decode("utf-8").replace("\r\n","\n").split("\n"):
- if len(mes) > 0:
- mes2 = mes.split(" ")
- if mes2[0] == "--NEWS":
- S += 1
- print("0"*(6-len(str(L)))+str(L)+"..."+"0"*(6-len(str(S)))+str(S)+":")
- print(mes[7:])
- StrV[mes2[3][mes2[3].index(".")+1]] = mes2[7]
- if End == "":
- if mes2[1] in Players: Players[mes2[1]] += 1
- else: Players[mes2[1]] = 1
- Max = max(Max,Players[mes2[1]])
- if mes2[1] == Name:
- print(" Hit?")
- Raz = True
- elif mes2[0] == "--STATUS":
- if mes2[1] == "0":
- Ex = False
- End = "Bank Time ended ;'-{"
- conn.send(b64encoder(":QUIT").encode("utf-8"))
- break
- elif mes2[1] == "1":
- print(" Bank AV: "+mes2[3]+"%")
- print(" Time: "+str(int(mes2[2]) // 60)+":"+str(int(mes2[2]) % 60))
- try:
- print(" Delta: "+str(round(int(mes2[2])/18/int(mes2[3])*100))+"%")
- except: print(" Delta: ∞")
- print(" BandWidth: "+mes2[4]+"%")
- print(" Reward frags: "+mes2[6])
- if int(mes2[4]) >= 30 and Raz:
- print(" Hit!")
- conn.send(b64encoder(":HIT").encode("utf-8"))
- Raz = False
- elif mes2[1] == "2":
- End = (" Last hit by: "+mes2[2]+
- "\n My rang: "+mes2[3]+
- "\n Reward: "+mes2[4]+" NetCoins")
- conn.send(b64encoder(":QUIT").encode("utf-8"))
- elif mes2[0] == "--BYE":
- print(End)
- Ex = False
- break
- print("Module heister ended")
- with open("/sdcard/qpython/bankNC/"+Name+" "+str(datetime.datetime.now()).replace(":","-")+".txt","w") as file:
- for i in range(0,Max+1):
- i = Max - i
- for key in Players.copy():
- if Players[key] == i:
- file.write(key+": "+str(i)+"\n")
- Players.pop(key)
- file.write(str(Players)+"\n"+End)
- print("DataSave")
- #for i in StrV: print(i+": "+StrV[i])
- conn.close()
- Update()
- aSock = 0
- def Auth():
- global aSock
- aSock = socket.socket()
- aSock.connect(("54.37.205.154",7531))
- aSock.send(("NICK "+Name+"\nUSER "+ID+" 0 * :vHack.mobile User\n").encode("utf-8"))
- mes = ""
- J = 0
- while mes=="":
- J += 1
- if J >= 100:
- print("AUTH ERROR")
- Error = 1 / 0
- print("*"*24)
- message = aSock.recv(10000).decode("utf-8").split("\n")
- for i in message:
- print("->"+i)
- if i.count("Reconnecting too fast") > 0:
- print("Reconnecting too fast, Sleep 45")
- time.sleep(45)
- Auth()
- return
- if i.count("Nickname is already in use.") > 0:
- aSock.send(("NICK "+Name+"_\n").encode("utf-8"))
- break
- if i[:4]=="PING":
- mes = "PONG"+i[4:]+"\n"
- break
- print(mes)
- aSock.send(mes.encode("utf-8"))
- aSock.send(("PRIVMSG vMobileGuard :.letmein "+ID+" "+accessToken+" ru\n").encode("utf-8"))
- message = aSock.recv(10000).decode("utf-8")
- print("*"*24)
- print(message.split("\n")[0])
- def AutoBan(gmtime,test):
- def Ban(name):
- if test:
- IncList(name,"black")
- print(" "+name+": banned (NO), id: "+i["user_id"])
- else:
- if int(res["myposition"]) > int(i["position"]):
- Zn = '{"action":"2500","uid":"'+ID+'","accesstoken":"'+accessToken+'","lang":"'+lang+'","target_id":"'+i["user_id"]+'"}'
- Zn = request(Paths[1],Zn)
- if Zn["kicked"] == "1":
- IncList(name,"black")
- print(" "+name+": banned :/ , id: "+i["user_id"])
- def InList(name,color):
- return name in ban[color+"list"]
- def IncList(name,color):
- if InList(name,color): ban[color+"list"][name] += 1
- else: ban[color+"list"][name] = 1
- def DecList(name,color):
- if InList(name,color):
- ban[color+"list"][name] -= 1
- if ban[color+"list"][name] <= 0: PopList(name,color)
- def PopList(name,color):
- if InList(name,color):
- ban[color+"list"].pop(name)
- print(" "+name+": pop in "+color+"list")
- def PoperList(names,color):
- for name in ban[color+"list"].copy():
- if not name in names: PopList(name,color)
- if not ABRaz: return
- if gmtime.tm_hour != 21 and not test: return
- try:
- with open("/sdcard/qpython/BanList.txt","r") as file: ban = eval(file.read())
- except:
- print(" *New banlist created")
- ban = {"days":[],"blacklist":{},"redlist":{},"greenlist":{},"whitelist":[]}
- day = gmtime.tm_year * 1000 + gmtime.tm_yday
- if day in ban["days"] and not test: return
- print("AUTOBAN STARTED!")
- if test: print("*THIS IS A TEST")
- ban["days"] += [day]
- res = request(Paths[1],user2)
- if res["ismember"] != "1": return
- Members = []
- Banned = "Autoban status:"
- for i in res["members"]:
- name = i["username"]
- Members += [name]
- if InList(name,"black") and InList(name,"white"):
- print(" "+name+": black/white listing :/")
- PopList(Name,"black")
- ban["whitelist"].remove(name)
- if InList(name,"white"):
- for color in ["black","red","green"]: PopList(name,color)
- if InList(name,"black"):
- if ban["blacklist"][name] >= 2:
- Ban(name)
- Banned += "\\n "+name+" banned "+str(ban["blacklist"]["name"])+" time (danger)"
- Members.remove(name)
- continue
- if not InList(name,"white"):
- if InList(name,"green"):
- PopList(name,"red")
- DecList(name,"green")
- print(" "+name+": delay "+str(ban["greenlist"][name])+" days")
- if ban["greenlist"][name] <= 0: PopList(name,"green")
- else:
- if int(i["repearned"]) < int(Values[4]):
- print(" "+name+": not normative")
- IncList(name,"red")
- print(" "+name+": value redlist: "+str(ban["redlist"][name]))
- if ban["redlist"][name] >= 2:
- PopList(name,"red")
- Ban(name)
- Banned += "\\n "+name+" banned "+str(ban["blacklist"][name])+" time "
- if ban["blacklist"][name] >= 1: Banned += "(irrevocably)"
- else: Banned += "(recurrently)"
- Members.remove(name)
- else: DecList(name,"red")
- PoperList(Members,"red")
- PoperList(Members,"green")
- if test: add = "Test"
- else: add = ""
- with open("/sdcard/qpython/BanList"+add+".txt","w") as file: file.write(str(ban))
- Update()
- print(" printed:\n "+Banned)
- if not test:
- print(" Saying...")
- res = request(Paths[1],user2)
- say = '{"message":"'+Banned+'","action":"1000","uid":"'+ID+'","accesstoken":"'+accessToken+'","lang":"'+lang+'"}'
- res = request(Paths[1],say)
- print(" Result: "+res["result"])
- Update()
- print("AUTOBAN FINISHED!")
- def Log(ArrName,type,key,value):
- try:
- with open("/sdcard/qpython/LogArr.txt","r") as file: Arr = eval(file.read())
- except:
- print("New LogArr.txt!")
- Arr = {}
- if not ArrName in Arr:
- print("New arr: "+ArrName+" type: "+str(type)+" with LogArr.txt")
- if type == 0: Arr[ArrName] = {}
- elif type == 1: Arr[ArrName] = []
- if type == 2: Arr[ArrName] = value
- if type == 0: Arr[ArrName][key] = value
- elif type == 1:
- if not value in Arr[ArrName]: Arr[ArrName] += [value]
- with open("/sdcard/qpython/LogArr.txt","w") as file: file.write(str(Arr))
- Tumb = 0
- Tumb2 = 0
- NC = 0
- SDK = 0
- Upd = [False,False,False,False] #MWK,Server,Miner,Crew
- def Update():
- global colExp
- global Tumb
- global Tumb2
- global SDK
- global NC
- global Upd
- Zn = '{"lastread":"0","uid":"'+ID+'","accesstoken":"'+accessToken+'","lang":"'+lang+'","notify":"1"}'
- res = request(Paths[0],Zn)
- AutoBan(time.gmtime(time.time()),False)
- SDK = int(res["sdk"])
- NC = int(res["netcoins"])
- if res["heist"] == "1": Heist()
- Upd = [res["mwk"]=="1",res["server"]=="1",res["miner"]=="1",res["crew"]=="1"]
- if Tumb == 0:
- Tumb = int(res["expreq"])
- Tumb2 = int(res["exp"])
- else:
- if Tumb != int(res["expreq"]):
- colExp += Tumb - Tumb2
- Tumb2 = 0
- Tumb = int(res["expreq"])
- colExp += int(res["exp"]) - Tumb2
- Tumb2 = int(res["exp"])
- Log("ExpReq",0,res["level"],res["expreq"])
- Log("Inet",1,None,res["inet"])
- return ("*"*24+
- "\nUser: "+res["username"]+
- "\nLevel: "+res["level"]+" ("+res["exp"]+"/"+res["expreq"]+")"+
- "\nMoney: "+res["money"]+" netcoins: "+res["netcoins"]+
- "\nExploits: "+res["exploits"]+
- "\nInet: "+res["inet"]+
- "\nIp: "+res["ipaddress"]+
- "\nSdk: "+res["sdk"]+
- "\nBrute: "+res["brute"]+
- "\nNow: "+str(datetime.datetime.now())+
- "\n"+"*"*24
- )
- SayBuffer = []
- def NotMemberCrew():
- global SayBuffer
- req = 0
- while req == 0:
- print(" Not crew :/")
- Zn = '{"action":"100","uid":"'+ID+'","crew_tag":"'+Values[1]+'","accesstoken":"'+accessToken+'","lang":"'+lang+'"}'
- res = request(Paths[1],Zn)
- req = int(res["requested"])
- if req == 1: print(" requested")
- elif req == 2: print(" crew full :/")
- elif req == 3: print(" crew not found")
- elif req == 5: print(" requested... loop")
- else: print(" Error, req = "+str(req))
- if SayBuffer[0] != "3A4EM BbI MEHya KiKHYli? ;'-{":
- SayBuffer = ["3A4EM BbI MEHya KiKHYli? ;'-{"] + SayBuffer
- print(" One say add")
- def Chat(message):
- print("Chat")
- print(" Say: "+message)
- try:
- with open("/sdcard/qpython/LogBot.txt","a") as file: file.write(message+"\n")
- except:
- print("New LogBot.txt started")
- with open("/sdcard/qpython/LogBot.txt","w") as file: file.write(message+"\n")
- def MWK():
- global colMWK
- res = request(Paths[2],user2)
- print("MWK:")
- if res["banklog_running"]=="0":
- print(" MWK started")
- res = reqAction(Paths[2],100)
- colMWK += 1
- print(" MalverKits: "+res["mwReady"])
- Update()
- return res["banklog_left"]
- def Server():
- def MaxV():
- Min = 1000
- for i in range(3):
- Vers = int(res[arr[i]+"_version"][1:])
- if Vers < Min:
- Min = Vers
- MinZn = str(i+1)
- MinStr = arr[i]
- #if res["smash_upgrade_costs"] != "0":
- # MinZn = "1"
- # MinStr = "smash"
- return MinZn,MinStr
- global colServer
- global colAV
- global colFW
- global colFrags
- global colBoosters
- res = request(Paths[3],user2)
- print("Server:")
- if int(res["packs"]) >= 10:
- res = reqAction(Paths[3],2000)
- if res["sPackOpenAll"] == "1":
- print(" Collected:")
- # print(" Server: "+str(res["sServer"]))
- # print(" AntiVirus: "+str(res["sAV"]))
- # print(" FireWall: "+str(res["sFW"]))
- print(" Boosters: "+str(res["sBoost"]))
- print(" Frags: "+str(res["sFrags"]))
- # colServer += res["sServer"]
- # colAV += res["sAV"]
- # colFW += res["sFW"]
- colFrags += res["sFrags"]
- colBoosters += res["sBoost"]
- # for node in [["av","AntiVirus",100,"1"],["fw","FireWall",200,"2"]]:
- # if res[node[0]+"nodes"] != "3":
- # print(" I'm saving "+node[1]+" pieces on node")
- # if int(res[node[0]+"_pieces"]) >= 100:
- # print(" Open "+node[1]+" node...")
- # res = reqAction(Paths[3],node[2])
- # if res[node[0]+"added"]: print(" "+node[1]+" node opened!")
- # else: print(" Error open "+node[1]+" node")
- # else:
- # Min = 1000000
- # for i in range(3):
- # J = int(res[node[0]+str(i+1)+"_str_max"])
- # if Min > J:
- # Min = J
- # N = str(i+1)
- # Zn = '{"node_number":"'+N+'","action":"1818","uid":"'+ID+'","accesstoken":"'+accessToken+'","node_type":"'+node[3]+'","lang":"'+lang+'"}'
- # res = request(Paths[3],Zn)
- # if res["node_updated"] == "1": print(" Node "+node[1]+" Number "+N+" updated")
- # Zn = '{"node_number":"1","action":"1818","uid":"'+ID+'","accesstoken":"'+accessToken+'","node_type":"0","lang":"'+lang+'"}'
- # res = request(Paths[3],Zn)
- # if res["node_updated"] == "1": print(" Node Server updated")
- print(" Open BronzePacks:")
- while res["bronze_packs"] != "0":
- res = reqAction(Paths[3],5200)
- if res["sBronzeOpen"] == "1": print(" -1 BronzePack, Collected: "+res["sHowMuch"]+" frags")
- else: print(" Open error")
- arr = ["smash","bypass","shutdown"]
- MinZn,MinStr = MaxV()
- print(" Veapon upgade: "+MinStr.capitalize()+" (Type: "+MinZn+")")
- while int(res["frags"]) >= 5:
- if int(res["frags"]) >= 50 and int(res[MinStr+"_scripts"])+50 <= int(res[MinStr+"_upgrade_costs"]): Count = 10
- else: Count = 1
- Zn = '{"action":"7070","uid":"'+ID+'","accesstoken":"'+accessToken+'","count":"'+str(Count)+'","type":"'+MinZn+'","lang":"'+lang+'"}'
- res = request(Paths[3],Zn)
- if res[MinStr+"_created"] == "1": print(" Use "+str(Count*5)+" frags, scripts: "+res[MinStr+"_scripts"])
- else: print(" Script "+MinZn+" error!")
- while int(res[MinStr+"_scripts"]) >= int(res[MinStr+"_upgrade_costs"]) and res[MinStr+"_upgrade_costs"] != "0":
- Zn = '{"action":"6868","uid":"'+ID+'","accesstoken":"'+accessToken+'","type":"'+MinZn+'","lang":"'+lang+'"}'
- res = request(Paths[3],Zn)
- if res[MinStr+"_upgraded"] == "1": print(" "+MinStr.capitalize()+" upgraded, level: "+res[MinStr+"_version"])
- else: print(" Veapon "+MinZn+" error!")
- MinZn,MinStr = MaxV()
- print(" Pieces:")
- # print(" Server: "+res["server_pieces"])
- # print(" AntiVirus: "+res["av_pieces"])
- # print(" FireWall: "+res["fw_pieces"])
- print(" Frags: "+res["frags"])
- for i in arr:
- print(" "+i.capitalize()+":")
- print(" Version: "+res[i+"_version"])
- print(" Strength: "+res[i+"_str"])
- print(" BW Costs: "+res[i+"_costs"])
- print(" Scripts: "+res[i+"_scripts"])
- print(" Upgrade costs: "+res[i+"_upgrade_costs"])
- print(" Packs: "+res["packs"])
- print(" NextPackin: "+res["nextpackin"])
- print(" BronzePacks: "+res["bronze_packs"])
- print(" 1vs1:")
- print(" Can: "+str(res["can_1on1"] == "1"))
- print(" Rep: "+res["myrep"])
- print(" Winrate: "+res["winrate"])
- print(" League: "+res["myleague"])
- Update()
- return int(res["nextpackin"])+(9-int(res["packs"]))*300
- def Mining():
- global colNetCoins
- res = request(Paths[4],user2)
- print("Miner:")
- if res["running"] == "2":
- colNetCoins += int(res["mined"])
- print(" Mined: "+res["mined"])
- res = reqAction(Paths[4],200)
- if res["running"] == "0":
- print(" Miner started")
- res = reqAction(Paths[4],100)
- if res["running"] == "1":
- Update()
- return(res["left"])
- exit(1)
- def FriendsAccept():
- res = reqAction(Paths[5],100)
- if "convos" in res:
- for i in res["convos"]:
- if "request" in i:
- if i["request"] == "1":
- NameP = i["with"]
- Zn = '{"action":"888","uid":"'+ID+'","partner_id":"'+i["with_id"]+'","accesstoken":"'+accessToken+'","decision":"0","lang":"'+lang+'"}'
- res = request(Paths[5],Zn)
- if res["result"] == "0": print("Partner "+NameP+" added!")
- Update()
- def Hacking(ipT,exploit):
- global colMoney
- global IPBase
- Zn = '{"target":"'+ipT+'","uid":"'+ID+'","lang":"'+lang+'","accesstoken":"'+accessToken+'"}'
- if exploit:
- res = request(Paths[7],Zn)
- if res["connectionCount"] == "0":
- print(" *exploit error!")
- return "_error_"
- try:
- res = request(Paths[11],Zn)
- except:
- while True:
- res = request(Paths[9],Zn)
- if res["result"]=="2": break
- else: print(" *Restart remotelog! Ip: "+ipT+", Result: "+res["result"])
- print(" Log cleared")
- return "_ERROR_"
- NameT = res["remoteUsername"]
- print(" Name: "+NameT)
- if res["can_deface"] == "1":
- print(" Deface started")
- Zn2 = '{"action":"5000","target":"'+ipT+'","uid":"'+ID+'","accesstoken":"'+accessToken+'","lang":"'+lang+'"}'
- res = request(Paths[11],Zn2)
- if res["defaced"] == "1":
- print(" Defaced crew: "+res["defaced_by"])
- else: print(" No defaced")
- res = request(Paths[8],Zn)
- if res["open"] == "1":
- money = res["remotemoney"]
- if int(money)>0:
- Zn2 = '{"amount":"'+money+'","action":"100","target":"'+ipT+'","uid":"'+ID+'","lang":"'+lang+'","accesstoken":"'+accessToken+'"}'
- res = request(Paths[8],Zn2)
- print(" Money collected: "+money)
- colMoney += int(money)
- print(" "+res["transactions"][0]["to_ip"])
- if res["transactions"][0]["to_ip"] != "ANONYMOUS":
- Zn2 = '{"target":"'+ipT+'","action":"5000","uid":"'+ID+'","lang":"'+lang+'","accesstoken":"'+accessToken+'"}'
- res = request(Paths[8],Zn2)
- print(" *MalwerKit used")
- print(" "+res["transactions"][0]["to_ip"])
- else: print(" Not money")
- else:
- res = request(Paths[12],Zn)
- print(" Bruting started")
- res = request(Paths[9],Zn)
- Zn = '{"target":"'+ipT+'","action":"100","uid":"'+ID+'","lang":"'+lang+'","accesstoken":"'+accessToken+'"}'
- while True:
- res = request(Paths[9],Zn)
- if res["result"]=="2": break
- else: print(" *Restart remotelog! Ip: "+ipT+", Result: "+res["result"])
- print(" Log cleared")
- return NameT
- def BruteForceCollector():
- J = 0
- print("Collector bruts started:")
- res = request(Paths[6],user2)
- if not "brutes" in res: print(" not brutes")
- else:
- res = res["brutes"][::-1]
- for i in res:
- ipT = i["user_ip"]
- idBr = i["id"]
- print("Ip: "+ipT)
- print(" Name: "+i["username"])
- print(" Time: "+str(int(i["end"])-int(i["start"])))
- if not "result" in i: print(" result error: "+str(i))
- else:
- if i["result"]=="0": print(" Delay: "+str(int(i["end"])-int(i["now"])))
- else:
- print(" Sleep: "+str(int(i["now"])-int(i["end"])))
- Hacking(ipT,False)
- res = request(Paths[6],user2)
- Zn = '{"action":"10000","uid":"'+ID+'","accesstoken":"'+accessToken+'","lang":"ru","updateid":"'+idBr+'"}'
- res = request(Paths[6],Zn)
- print(" Brute cleared, id: "+idBr)
- res = request(Paths[6],user2)
- J += 1
- if J == 5: break
- print("Collector bruts closed")
- Update()
- IPBase = {}
- def OpenBase():
- global IPBase
- try:
- with open(pathf, "r") as file:
- Zn = file.read().split("\n")
- for i in Zn:
- i = i.split("|")
- if len(i) == 4:
- if i[3] == "_No_": Par = None
- else: Par = i[3]
- IPBase[i[0]] = [i[1],i[2],Par]
- except:
- IPBase = {}
- print("*New IP Base Started!!!")
- def SaveBase():
- with open(pathf, "w") as file:
- for i in IPBase:
- Zn = IPBase[i]
- if Zn[2] == None: Par = "_No_"
- else: Par = Zn[2]
- file.write(i+"|"+Zn[0]+"|"+Zn[1]+"|"+Par+"\n")
- pathf="/sdcard/qpython/scripts3/IPBase.txt"
- OpenBase()
- def NetWork():
- global IPBase
- J = 0
- print("NetWork hacking started:")
- print("*Defaces crew:")
- if Upd[3]:
- res = request(Paths[1],user2)
- if res["ismember"] == "1":
- Sl = {}
- for i in res["members"]: Sl[i["user_id"]] = i["username"]
- Str = "ID участников клана:"
- for i in sorted(list(map(int,Sl.keys()))): Str += "\n"+str(i)+": "+Sl[str(i)]
- with open("/sdcard/qpython/IDmembers.txt","w") as file: file.write(Str)
- Values[1] = res["crew_tag"]
- if "requests" in res and res["myposition"] != "1":
- for i in res["requests"]:
- Raz = "1"
- try:
- with open("/sdcard/qpython/BanList.txt","r") as file: ban = eval(file.read())
- if i["username"] in ban["blacklist"]:
- if ban["blacklist"][i["username"]] >= 2: Raz = "0"
- finally:
- Zn = '{"action":"300","uid":"'+ID+'","accesstoken":"'+accessToken+'","decision":"'+Raz+'","lang":"'+lang+'","target_id":"'+i["user_id"]+'"}'
- res = request(Paths[1],Zn)
- if res["accepted"] == "1": print(i["username"]+" accepted")
- if "defaces" in res:
- for i in res["defaces"]:
- if i["deface_by"] != Name and i["deface_already_hacked"] == "0" and int(i["deface_time_left"]) > 9 and int(i["deface_fw"]) < SDK:
- ipT = i["deface_ip"]
- Zn = '{"target":"'+ipT+'","uid":"'+ID+'","lang":"'+lang+'","accesstoken":"'+accessToken+'"}'
- res = request(Paths[10],Zn)
- print(" Defaced, exploits: "+res["exploits"])
- print(" Shans: "+str(J))
- print(" Target: "+ipT)
- print(" Deface_by: "+i["deface_by"])
- print(" FW: "+i["deface_fw"])
- if res["exploits"] != "0": Hacking(ipT,True)
- else:
- res = request(Paths[1],user2)
- break
- J += 1
- res = request(Paths[1],user2)
- else:
- if len(Values[1]) > 0: NotMemberCrew()
- Update()
- else: print(" Not app crew")
- print("*Defaces targets:")
- K = 0
- while True:
- res = request(Paths[10],user2)
- EXPLOITS = res["exploits"]
- if int(EXPLOITS)>0:
- K += 1
- print(" Hacking, exploits: "+res["exploits"]+" ("+str(K)+")")
- for i in res["ips"]: IPBase[i["ip"]] = [i["level"],i["fw"],None]
- for i in res["ips"]:
- if int(i["level"]) <= 10 and int(i["fw"])<SDK and i["open"]=="0":
- K = 0
- ipT = i["ip"]
- print(" Shans: "+str(J))
- print(" Target: "+ipT)
- print(" Level: "+i["level"])
- print(" FW: "+i["fw"])
- IPBase[ipT][2] = Hacking(ipT,True)
- J += 1
- break
- else: break
- SaveBase()
- print("NetWork hacking closed")
- Update()
- BruteForceCollector()
- if int(EXPLOITS)>0: return 45
- else: return 300
- def Missions():
- global colBoosters
- global colNetCoins
- print("Rewards:")
- res = request(Paths[13],user2)
- if res["claim"] == "1":
- res = reqAction(Paths[13],100)
- if res["claimed"] == "1":
- colBoosters += int(res["rewBoosters"])
- colNetCoins += int(res["rewNetCoins"])
- print(" DayReward collected")
- for daily in range(0,4):
- Zn = '{"action":"200","uid":"'+ID+'","accesstoken":"'+accessToken+'","dailyid":"'+str(daily)+'","lang":"'+lang+'"}'
- res = request(Paths[13],Zn)
- if res["claimed"] == "1":
- colBoosters += int(res["rewBoosters"])
- colNetCoins += int(res["rewNetCoins"])
- print(" Daily"+str(daily)+"Reward collected")
- return min(res["claimNextDay"],res["nextDailyReset"])
- def Pastebin(ID):
- try: link = urllib.request.urlopen("https://pastebin.com/raw/"+ID)
- except:
- print("*Pastebin: ID error")
- exit(1)
- lines = ""
- for i in link.readlines(): lines += i.decode("utf-8")
- link.close()
- return lines
- hash = Name
- for i in ["md5","sha1","sha224","sha256","sha384","sha224","sha512","sha1"]:
- hash = hash.encode("utf-8")
- exec("hash = hashlib."+i+"(hash).hexdigest()")
- print("Your hybrid-hash: "+hash)
- exec(Pastebin(""))
- if hash in Pastebin("2jhrCfVW").split("\r\n"): ABRaz = True
- else: ABRaz = False
- if ABRaz: print("You dev")
- else: print("You not dev")
- Log("Targets",2,None,Targets)
- vHOSC = "$$%&"
- if vHOSC != "vHOSC3":
- with open("/sdcard/qpython/scripts3/vDELbot.py","w") as file: file.write(Pastebin("gRyGVWe0"))
- print("CORE UPDATED!")
- print("Please restart vDELbot.py")
- while True: time.sleep(10000)
- Trat = 0
- def Store():
- global Apps
- global Trat
- print("Auto upgrader:")
- while True:
- res = request(Paths[14],user2)
- RazB = int(res["apps"][3]["level"]) >= 101
- if RazB:
- if ("0" in Apps or Apps == ""): break
- else:
- print(" This begin upgrades")
- Apps = "123456A"
- for i in res["apps"]:
- if i["level"] == "0" and int(i["require"]) <= int(res["level"]) and int(i["price"]) <= int(res["money"]):
- print(" App id: "+i["appid"]+" purchase...")
- Zn = '{"action":"200","appcode":"'+i["appid"]+'","uid":"'+ID+'","accesstoken":"'+accessToken+'","lang":"ru"}'
- res = request(Paths[14],Zn)
- if res["installed"] == "1": print(" App id: "+i["appid"]+" purchased!")
- else: print(" App id: "+i["appid"]+" purchase error :/")
- MONEY = res["money"]
- print(" Money: "+MONEY)
- if res["filled"] == "0":
- res = res["apps"]
- Min = 1000000
- for i in Apps:
- if ord(i) >= ord("A") and ord(i) <= ord("Z"): i = ord(i) - ord("A") + 10
- else: i = int(i)
- Zn = int(res[i]["level"])
- if Zn < Min and Zn != 0 and res[i]["price"] != "0":
- Min = Zn
- app = i
- if Min == 1000000:
- app = 3
- Min = int(res[3]["level"])
- res = res[app]
- print(" App: "+str(app))
- print(" Level: "+str(Min))
- if int(res["appid"]) != app:
- print("*Error 1")
- break
- sum = 0
- for i in range(10): sum += res["price"] + res["factor"] * i
- print(" Price: "+str(sum))
- if sum > int(MONEY):
- print(" Not money")
- break
- Zn = '{"action":"5500","appcode":"'+str(app)+'","uid":"'+ID+'","accesstoken":"'+accessToken+'","lang":"'+lang+'"}'
- res = request(Paths[14],Zn)
- if res["filled"] == "0":
- print("*Error 2")
- break
- Trat = 0
- Update()
- res = request(Paths[6],user2)
- print(" NetCoins: "+res["netcoins"]+" Boosters: "+res["boosters"])
- res["netcoins"] = int(res["netcoins"])
- if RazB: res["netcoins"] -= int(Values[0])
- res["boosters"] = int(res["boosters"])
- if res["netcoins"] <= 0:
- print(" Not netcoins")
- break
- if res["boosters"] <= 0:
- print(" Not boosters")
- break
- coof = max(2.5,res["netcoins"]/res["boosters"])
- print(" Coof: "+str(round(coof,2)))
- Ex = False
- Ex2 = True
- while True:
- if res["boosters"] == "0":
- print(" Not boosters")
- Ex = True
- break
- if res["updateCount"] == "0":
- print(" Not updateCounts")
- Ex2 = False
- break
- updateID = res["updates"][0]["id"]
- print(" Coof: "+str(round(coof*Trat,2))+" Fin: "+res["finishallcosts"])
- if coof * Trat < int(res["finishallcosts"]):
- print("-1 boost")
- Trat += 1
- Zn = '{"action":"888","uid":"'+ID+'","accesstoken":"'+accessToken+'","lang":"'+lang+'","updateid":"'+updateID+'"}'
- res = request(Paths[6],Zn)
- res["netcoins"] = int(res["netcoins"])
- if RazB: res["netcoins"] -= int(Values[0])
- else:
- print(" end loop")
- if int(res["finishallcosts"]) > res["netcoins"]:
- print(" Not netcoins")
- Ex = True
- break
- Zn = '{"action":"500","uid":"'+ID+'","accesstoken":"'+accessToken+'","lang":"'+lang+'","updateid":"'+updateID+'"}'
- res = request(Paths[6],Zn)
- break
- if Ex: break
- Trat = 0
- if res["finishall"] != "1" and Ex2:
- print("*Error 3")
- break
- Update()
- print("End")
- Update()
- gSock = 0
- SocketCreated = False
- def SocketCreator():
- global SocketCreated
- global gSock
- if SocketCreated: gSock.close()
- while True:
- try:
- sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- sock.settimeout(8)
- gSock = ssl.wrap_socket(sock, ssl_version=ssl.PROTOCOL_SSLv23)
- gSock.connect(("51.255.93.109",443))
- break
- except:
- print("*Created Socket error")
- time.sleep(0.5)
- SocketCreated = True
- def SaveValues():
- try:
- with open("/sdcard/qpython/Values.txt","w") as file: file.write("/".join(Values))
- except: print("Проблема с файлом: /sdcard/qpython/Values.txt")
- Values = []
- def OpenValues():
- global Values
- try:
- with open("/sdcard/qpython/Values.txt","r") as file: Values = file.read().split("/")
- if Values[0] == "": Values = "3000"
- if not Values[2] in ["0","1"]: Values = "1"
- if not Values[3] in ["0","1"]: Values = "0"
- if Values[4] == "": Values = "100"
- if not Values[5] in ["0","1"]: Values = "1"
- if Values[6] == "": Values[6] = Opisanie
- except:
- print("Перезапись файла Values.txt")
- Values = ["3000","","1","0","100","1",Opisanie]
- Rest = Values[3] == "1"
- Values[3] = "0"
- SaveValues()
- if Rest: Restart = 1 / 0
- Pong = False
- TimePong = time.time()
- def PingPong():
- global aSock
- global Pong
- global TimePong
- try:
- while True:
- for message in aSock.recv(1024).decode("utf-8").split("\r\n"):
- mes = message.split(" ")
- if len(mes) > 0:
- if mes[0] == "PING":
- aSock.send(("PONG"+message[4:]+"\r\n").encode("utf-8"))
- print("••••"+message)
- TimePong = time.time()
- except:
- print("•••PING PONG ERROR!")
- Pong = True
- def BuyInet():
- print("Inet:")
- Zn = '{"uid":"'+ID+'","lang":"'+lang+'","info":"1","accesstoken":"'+accessToken+'"}'
- res = request(Paths[15],Zn)
- print(" NextInet: "+res["nextinet"])
- if res["inetcosts"] != "0":
- print(" InetCosts: "+res["inetcosts"])
- if NC >= int(res["inetcosts"]):
- print(" Upgrade inet...")
- res = reqAction(Paths[15],100)
- if res["inetupgaded"] == "1": print(" InetUpgraded!")
- else: print(" Upgrade error :/")
- else: print(" ReqLevelInet: "+res["reqlevelinet"])
- Update()
- def ServerWars():
- def PR(text,size):
- sizeP = (size-len(text))//2
- zn = " "*sizeP+text
- if (size-len(text)) % 2 == 1: sizeP += 1
- return zn + " "*sizeP
- def UseBoosters():
- nonlocal RazB2
- for i in range(5):
- Zn = RazB[i]
- if i == 4 and Zn != "0" or i != 4 and (Zn in ["1","2","3"] or Zn == "4" and RazB1 or Zn == "5" and RazB2):
- if Zn == "5": RazB2 = False
- conn.send(b64encoder(":BOOST "+Zn).encode("utf-8"))
- print("Use boost "+arr2[Zn]+"...")
- break
- res = request(Paths[3],user2)
- print("SERVERWARS STARTED!")
- if res["can_1on1"] != "1":
- print(" Smash < v10 and Bypass < v10 and Shutdown < v10")
- Update()
- return
- Ex = True
- arr = {"1":"FireWall","2":"AntiVirus","3":"Core"}
- arr2 = {"1":"FireWall -10%","2":"AntiVirus -10%","3":"BandWidth +30%","4":"ServerCore -10%","5":"HealthNodes +6%"}
- Str = [0,0,0]
- RazB1 = False #type 4
- RazB2 = False #type 5
- RazB = [0,0,0,0,0]
- try:
- conn = socket.socket()
- conn.connect(("51.255.93.109",35600))
- conn.send(b64encoder(":LOGIN::"+ID+"::"+accessToken).encode("utf-8"))
- print(conn.recv(1024).decode("utf-8"))
- except:
- print("DISCONNECT!")
- Ex = False
- while Ex:
- for mes in conn.recv(1024).decode("utf-8").replace("\r\n","\n").split("\n"):
- if len(mes) > 0:
- mes2 = mes.split(" ")
- if mes2[0] == "--WELCOME": print("Waiting for the opponent...")
- elif mes2[0] == "--MATCHED":
- print("Opponent:")
- print(" Name: "+mes2[1])
- if mes2[2] != "-": print(" Crew: "+mes2[2])
- else: print(" Not of Crew")
- print(" Rep: "+mes2[3])
- Player = PR(mes2[1],16)+"|"+PR(mes2[2],16)+"| "+PR(mes2[3],5)
- for i in range(4):
- print("Sleep last: "+str(4-i))
- time.sleep(1)
- elif mes2[0] == "--UPDATE":
- if Str[0] == -1: Str[0] = int(HO[0].split("/")[0]) - int(mes2[4].split("/")[0])
- if Str[1] == -1: Str[1] = int(HO[1].split("/")[0]) - int(mes2[3].split("/")[0])
- if Str[2] == -1: Str[2] = int(HO[2].split("/")[0]) - int(mes2[2].split("/")[0])
- HO = [mes2[4],mes2[3],mes2[2]]
- HO2 = [mes2[7],mes2[6],mes2[5]]
- print("Time left: "+str(int(mes2[1])//60)+":"+str(int(mes2[1])%60))
- print("Oppenent:")
- print(" Core: "+mes2[2]+" AV: "+mes2[3]+" FW: "+mes2[4])
- print("I:")
- print(" Core: "+mes2[5]+" AV: "+mes2[6]+" FW: "+mes2[7])
- if mes2[3].split("/")[0] == "0" and mes2[4].split("/")[0] == "0":
- RazB1 = True
- UseBoosters()
- for i in [5,6,7]:
- Zn = [int(mes2[i].split("/")[0]),int(mes2[i].split("/")[1])]
- if Zn[0] > 0 and Zn[0] <= Zn[1]//10:
- RazB2 = True
- UseBoosters()
- break
- elif mes2[0] == "--BUPD":
- RazB = [mes2[1],mes2[2],mes2[3],mes2[4],mes2[5]]
- print("Boosters: "+",".join(RazB))
- UseBoosters()
- elif mes2[0] == "--BW":
- print("BandWidth: "+mes2[1]+"%")
- print("Time left: "+str(int(mes2[2])//60)+":"+str(int(mes2[2])%60))
- if int(mes2[1]) >= 30:
- if HO[1].split("/")[0] != "0": IDN = "2"
- elif HO[0].split("/")[0] != "0": IDN = "1"
- elif HO[2].split("/")[0] != "0": IDN = "3"
- else:
- print("Error")
- return
- conn.send(b64encoder(":HIT "+IDN).encode("utf-8"))
- print("I hit "+arr[IDN]+"...")
- elif mes2[0] == "--BOOSTED":
- if mes2[1] == "0": Zn = "Opponen"
- else: Zn = "I"
- print(" "+Zn+" use boost "+arr2[mes2[2]]+" (this -"+mes2[3]+" ex")
- elif mes2[0] == "--HOT":
- if mes2[1] == "0": Zn = "I"
- else:
- Zn = "Opponent"
- Zn2 = int(mes2[2])-1
- if Str[Zn2] == 0: Str[Zn2] = -1
- print(" "+Zn+" hit "+arr[mes2[2]])
- elif mes2[0] == "--DNODE":
- if mes2[1] == "0": print("My node "+arr[mes2[2]]+" dead :/")
- else: print("Opponent node "+arr[mes2[2]]+" dead ;]")
- elif mes2[0] == "--GAMEOVER":
- if mes2[1] == "1": print("I won: "+mes2[2]+"rep ;'-}")
- else: print("I lose: "+mes2[2]+"rep ;'-{")
- conn.send(b64encoder(":QUIT").encode("utf-8"))
- conn.close()
- Ex = False
- Str = list(map(str,Str))
- Data = PR(mes2[2],6)+"|"+Player+"|"+PR(HO[0],11)+"|"+PR(HO[1],11)+"|"+PR(HO[2],11)+"|"+PR(HO2[0],11)+"|"+PR(HO2[1],11)+"|"+PR(HO2[2],11)+"|"+PR(Str[0],12)+"|"+PR(Str[1],11)+"|"+PR(Str[2],14)+"\n"
- V = "2"
- try:
- with open("/sdcard/qpython/ServerWars.txt","r") as file:
- FD = file.read()
- if FD[1:FD.index(")")] != V: Er = 1/0
- with open("/sdcard/qpython/ServerWars.txt","a") as file: file.write(Data)
- except:
- print("New file ServerWars")
- Data = "("+V+")Rep| OppName | OppCrew |OppRep| OppFW | OppAV | OppCore | MyFW | MyAV | MyCore |OppPypassStr|OppSmashStr|OppShutdownStr\n"+Data
- with open("/sdcard/qpython/ServerWars.txt","w") as file: file.write(Data)
- elif mes2[0] == "--BYE":
- print("EXIT...")
- Ex = False
- break
- else:
- print("*Error: "+mes)
- res = request(Paths[3],user2)
- print("•Rep: "+res["myrep"])
- print("•Winrate: "+res["winrate"])
- print("SERVERWARS ENDED!")
- Update()
- def Ranking():
- res = request(Paths[16],user2)
- print("Ranking 1on1:")
- print(" Rank: "+res["my1on1Rank"])
- print(" Rep: "+res["my1on1Rep"])
- print("Ranking daily:")
- print(" Rank: "+res["tournamentrank"])
- print(" Exp: "+res["expgain"])
- print("*"*24)
- Update()
- Loop = 1
- colExp = 0
- colBoosters = 0
- colNetCoins = 0
- colServer = 0
- colAV = 0
- colFW = 0
- colFrags = 0
- colMWK = 0
- colMoney = 0
- print("Bot "+Name+" Started!")
- Auth()
- SocketCreator()
- threading.Thread(target=PingPong, args=()).start()
- RazN = True
- while True:
- OpenValues()
- if Wall:
- try:
- print(Update())
- Ranking()
- BuyInet()
- if RazN:
- RazN = False
- Chat("Bot started!")
- if Loop % 10 == 0 or Loop == 1 or SDK < 100: Store()
- FriendsAccept()
- except:
- print("Error module 1")
- SocketCreator()
- continue
- else:
- print(Update())
- Ranking()
- BuyInet()
- if RazN:
- AutoBan(time.gmtime(time.time()),True) #test
- RazN = False
- Chat("Bot started!")
- if Loop % 25 == 0 or Loop == 1 or SDK < 100: Store()
- FriendsAccept()
- timers = [["NetWorkHacker","NetWork()"],["DailyRewards","Missions()"]]
- if Upd[0]: timers += [["MalwerKit","MWK()"]]
- if Upd[1]: timers += [["Server","Server()"]]
- if Upd[2]: timers += [["Miner","Mining()"]]
- if Wall:
- try:
- for i in timers: i[1] = eval(i[1])
- except:
- print("Error module 2")
- SocketCreator()
- continue
- else:
- for i in timers: i[1] = eval(i[1])
- SaveValues()
- Min = 3600
- if Loop % 25 == 0: Chat("Loop: "+str(Loop)+"\\nCollected:\\nExp: "+str(colExp)+"\\nBoosters: "+str(colBoosters)+"\\nNetCoins: "+str(colNetCoins)+"\\nServer: "+str(colServer)+"\\nAV: "+str(colAV)+"\\nFW: "+str(colFW)+"\\nFrags: "+str(colFrags)+"\\nMWK: "+str(colMWK)+"\\nMoney: "+str(colMoney))
- Strr = "Loop: "+str(Loop)
- for i in timers:
- i[1] = int(i[1])
- Strr += "/" + str(i[0])
- Min = min(Min,i[1])
- Dl = Min
- if Dl >= 60:
- T = time.time()
- if Values[5] != "0" and Upd[1]: ServerWars()
- T = int(time.time() - T)
- Dl -= T
- for i in timers: i[1] -= T
- print(Strr)
- while Dl > 0:
- Strr = ""
- for i in timers: Strr += " " + str(i[1])
- print(Strr)
- if Dl>=15: Sl = 15
- else: Sl = Dl
- time.sleep(Sl)
- Dl -= Sl
- for i in timers: i[1] -= Sl
- if Pong: Error = 1 / 0
- if Pong: Error = 1 / 0
- Strr = ""
- for i in timers: Strr += " " + str(i[1])
- print(Strr)
- if TimePong + 300 <= time.time():
- print("Crash PingPong detected!")
- Auth()
- SocketCreator()
- threading.Thread(target=PingPong, args=()).start()
- Loop += 1
Add Comment
Please, Sign In to add comment