mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-09 22:06:47 +00:00
Merge branch 'master' of github.com:mbirth/tcl_ota_check
This commit is contained in:
commit
9fd609dff0
5
prds.txt
5
prds.txt
@ -1,7 +1,7 @@
|
|||||||
PRD-63116-001 AAO472 Unlocked BBB100-1 (USA)
|
PRD-63116-001 AAO472 Unlocked BBB100-1 (USA)
|
||||||
PRD-63116-003 AAO472 Bell BBB100-1
|
PRD-63116-003 AAO472 Bell BBB100-1
|
||||||
PRD-63116-005 AAO472 Rogers BBB100-1
|
PRD-63116-005 AAO472 Rogers BBB100-1
|
||||||
PRD-63116-007 AAO472 BBB100-1
|
PRD-63116-007 AAO472 Telus BBB100-1
|
||||||
PRD-63116-009 AAO472 BBB100-1
|
PRD-63116-009 AAO472 BBB100-1
|
||||||
PRD-63116-010 AAN358 BBB100-1
|
PRD-63116-010 AAN358 BBB100-1
|
||||||
PRD-63116-013 AAO472 BBB100-1
|
PRD-63116-013 AAO472 BBB100-1
|
||||||
@ -18,10 +18,11 @@ PRD-63116-042 AAO472 Black KEYone
|
|||||||
PRD-63117-003 AAO472 BBB100-2 (UK)
|
PRD-63117-003 AAO472 BBB100-2 (UK)
|
||||||
PRD-63117-011 AAO472 QWERTZ BBB100-2 (Germany)
|
PRD-63117-011 AAO472 QWERTZ BBB100-2 (Germany)
|
||||||
PRD-63117-015 AAO472 BBB100-2 (NL, Belgium)
|
PRD-63117-015 AAO472 BBB100-2 (NL, Belgium)
|
||||||
|
PRD-63117-017 AAO472 BBB100-2
|
||||||
PRD-63117-019 AAO472 BBB100-2
|
PRD-63117-019 AAO472 BBB100-2
|
||||||
PRD-63117-023 AAN358 AZERTY BBB100-2 (Belgium)
|
PRD-63117-023 AAN358 AZERTY BBB100-2 (Belgium)
|
||||||
PRD-63117-025 AAN358 BBB100-2
|
PRD-63117-025 AAN358 BBB100-2
|
||||||
PRD-63117-027 AAN358 QWERTY BBB100-2 (UAE) https://forums.crackberry.com/showthread.php?t=1112475&p=12973537&viewfull=1#post12973537
|
PRD-63117-027 AAN358 QWERTY BBB100-2 (UAE)
|
||||||
PRD-63117-028 AAN358 BBB100-2
|
PRD-63117-028 AAN358 BBB100-2
|
||||||
PRD-63117-029 AAO472 BBB100-2
|
PRD-63117-029 AAO472 BBB100-2
|
||||||
PRD-63117-034 AAO472 BBB100-2
|
PRD-63117-034 AAO472 BBB100-2
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
import tcllib
|
import tcllib
|
||||||
from requests.exceptions import RequestException, Timeout
|
from requests.exceptions import RequestException, Timeout
|
||||||
|
|
||||||
|
tcllib.make_escapes_work()
|
||||||
ANSI_UP_DEL = u"\u001b[F\u001b[K"
|
ANSI_UP_DEL = u"\u001b[F\u001b[K"
|
||||||
|
|
||||||
fc = tcllib.FotaCheck()
|
fc = tcllib.FotaCheck()
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
import tcllib
|
import tcllib
|
||||||
from requests.exceptions import RequestException, Timeout
|
from requests.exceptions import RequestException, Timeout
|
||||||
|
|
||||||
|
tcllib.make_escapes_work()
|
||||||
ANSI_UP_DEL = u"\u001b[F\u001b[K"
|
ANSI_UP_DEL = u"\u001b[F\u001b[K"
|
||||||
|
|
||||||
fc = tcllib.FotaCheck()
|
fc = tcllib.FotaCheck()
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
import tcllib
|
import tcllib
|
||||||
from requests.exceptions import RequestException, Timeout
|
from requests.exceptions import RequestException, Timeout
|
||||||
|
|
||||||
|
tcllib.make_escapes_work()
|
||||||
ANSI_UP_DEL = u"\u001b[F\u001b[K"
|
ANSI_UP_DEL = u"\u001b[F\u001b[K"
|
||||||
|
|
||||||
fc = tcllib.FotaCheck()
|
fc = tcllib.FotaCheck()
|
||||||
|
13
tcllib.py
13
tcllib.py
@ -5,6 +5,7 @@
|
|||||||
import base64
|
import base64
|
||||||
import binascii
|
import binascii
|
||||||
import hashlib
|
import hashlib
|
||||||
|
import platform
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
import xml.dom.minidom
|
import xml.dom.minidom
|
||||||
@ -17,6 +18,18 @@ except (ImportError, AttributeError):
|
|||||||
from xml.etree import ElementTree
|
from xml.etree import ElementTree
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
|
||||||
|
def make_escapes_work():
|
||||||
|
system = platform.system()
|
||||||
|
if system == "Windows":
|
||||||
|
try:
|
||||||
|
import colorama
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
colorama.init()
|
||||||
|
|
||||||
|
|
||||||
class FotaCheck:
|
class FotaCheck:
|
||||||
VDKEY = b"eJwdjwEOwDAIAr8kKFr//7HhmqXp8AIIDrYAgg8byiUXrwRJRXja+d6iNxu0AhUooDCN9rd6rDLxmGIakUVWo3IGCTRWqCAt6X4jGEIUAxgN0eYWnp+LkpHQAg/PsO90ELsy0Npm/n2HbtPndFgGEV31R9OmT4O4nrddjc3Qt6nWscx7e+WRHq5UnOudtjw5skuV09pFhvmqnOEIs4ljPeel1wfLYUF4\n"
|
VDKEY = b"eJwdjwEOwDAIAr8kKFr//7HhmqXp8AIIDrYAgg8byiUXrwRJRXja+d6iNxu0AhUooDCN9rd6rDLxmGIakUVWo3IGCTRWqCAt6X4jGEIUAxgN0eYWnp+LkpHQAg/PsO90ELsy0Npm/n2HbtPndFgGEV31R9OmT4O4nrddjc3Qt6nWscx7e+WRHq5UnOudtjw5skuV09pFhvmqnOEIs4ljPeel1wfLYUF4\n"
|
||||||
CKTP_CHECKAUTO = 1
|
CKTP_CHECKAUTO = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user