| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,7 +31,7 @@ | |||
| 31 | 31 | s.get('https://google.com') | |
| 32 | 32 | except requests.exceptions.RequestException as e: | |
| 33 | 33 | print(e) | |
| 34 | - time.sleep(3) | ||
| 34 | + time.sleep(5) | ||
| 35 | 35 | os._exit(1) | |
| 36 | 36 | ||
| 37 | 37 | ||
@@ -87,13 +87,15 @@ def init(self): | |||
| 87 | 87 | print("New Version Available") | |
| 88 | 88 | download_link = json["download"] | |
| 89 | 89 | os.system(f"start {download_link}") | |
| 90 | + time.sleep(3) | ||
| 90 | 91 | os._exit(1) | |
| 91 | 92 | else: | |
| 92 | 93 | print("Invalid Version, Contact owner to add download link to latest app version") | |
| 93 | 94 | os._exit(1) | |
| 94 | 95 | ||
| 95 | 96 | if not json["success"]: | |
| 96 | 97 | print(json["message"]) | |
| 98 | + time.sleep(3) | ||
| 97 | 99 | os._exit(1) | |
| 98 | 100 | ||
| 99 | 101 | self.sessionid = json["sessionid"] | |
@@ -128,6 +130,7 @@ def register(self, user, password, license, hwid=None): | |||
| 128 | 130 | self.__load_user_data(json["info"]) | |
| 129 | 131 | else: | |
| 130 | 132 | print(json["message"]) | |
| 133 | + time.sleep(5) | ||
| 131 | 134 | os._exit(1) | |
| 132 | 135 | ||
| 133 | 136 | def upgrade(self, user, license): | |
@@ -157,6 +160,7 @@ def upgrade(self, user, license): | |||
| 157 | 160 | os._exit(1) | |
| 158 | 161 | else: | |
| 159 | 162 | print(json["message"]) | |
| 163 | + time.sleep(5) | ||
| 160 | 164 | os._exit(1) | |
| 161 | 165 | ||
| 162 | 166 | def login(self, user, password, hwid=None): | |
@@ -188,6 +192,7 @@ def login(self, user, password, hwid=None): | |||
| 188 | 192 | print("successfully logged in") | |
| 189 | 193 | else: | |
| 190 | 194 | print(json["message"]) | |
| 195 | + time.sleep(5) | ||
| 191 | 196 | os._exit(1) | |
| 192 | 197 | ||
| 193 | 198 | def license(self, key, hwid=None): | |
@@ -217,6 +222,7 @@ def license(self, key, hwid=None): | |||
| 217 | 222 | print("successfully logged into license") | |
| 218 | 223 | else: | |
| 219 | 224 | print(json["message"]) | |
| 225 | + time.sleep(5) | ||
| 220 | 226 | os._exit(1) | |
| 221 | 227 | ||
| 222 | 228 | def var(self, name): | |
@@ -610,6 +616,7 @@ def encrypt(message, enc_key, iv): | |||
| 610 | 616 | return encryption.encrypt_string(message.encode(), _key.encode(), _iv.encode()).decode() | |
| 611 | 617 | except: | |
| 612 | 618 | print("Invalid Application Information. Long text is secret short text is ownerid. Name is supposed to be app name not username") | |
| 619 | + time.sleep(5) | ||
| 613 | 620 | os._exit(1) | |
| 614 | 621 | ||
| 615 | 622 | @staticmethod | |
@@ -622,4 +629,5 @@ def decrypt(message, enc_key, iv): | |||
| 622 | 629 | return encryption.decrypt_string(message.encode(), _key.encode(), _iv.encode()).decode() | |
| 623 | 630 | except: | |
| 624 | 631 | print("Invalid Application Information. Long text is secret short text is ownerid. Name is supposed to be app name not username") | |
| 632 | + time.sleep(5) | ||
| 625 | 633 | os._exit(1) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments