File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import sys
44import os .path
55import platform
6+ import hashlib
67from time import sleep
78from datetime import datetime
89
910# watch setup video if you need help https://www.youtube.com/watch?v=L2eAQOmuUiA
1011os .system ("cls" )
1112os .system ("title Python Example" )
1213print ("Initializing" )
14+ def getchecksum ():
15+ path = os .path .realpath (__file__ )
16+ md5_hash = hashlib .md5 ()
17+ a_file = open (path , "rb" )
18+ content = a_file .read ()
19+ md5_hash .update (content )
20+ digest = md5_hash .hexdigest ()
21+ return digest
1322keyauthapp = api (
1423 name = "" ,
1524 ownerid = "" ,
1625 secret = "" ,
1726 version = "1.0" ,
27+ hash_to_check = getchecksum ()
1828)
1929print ("""
20301.Login
3444print (f"Current Session Validation Status: { keyauthapp .check ()} " )
3545sleep (1.5 ) # rate limit
3646print (f"Blacklisted? : { keyauthapp .checkblacklist ()} " ) # check if blacklisted, you can edit this and make it exit the program if blacklisted
37-
47+ sleep ( 1.5 )
3848ans = input ("Select Option: " )
3949if ans == "1" :
4050 user = input ('Provide username: ' )
You can’t perform that action at this time.
0 commit comments