This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from hashlib import md5 | |
from urllib.parse import urlsplit, urlencode, unquote_plus | |
headers = {"User-Agent": "Wolfram Android App"} | |
APPID = "3H4296-5YPAGQUJK7" # Mobile app AppId | |
SERVER = "api.wolframalpha.com" | |
SIG_SALT = "vFdeaRwBTVqdc5CL" # Mobile app salt | |
s = requests.Session() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var SecTrustEvaluate_handle = | |
Module.findExportByName('Security', 'SecTrustEvaluate'); | |
var SecTrustEvaluateWithError_handle = | |
Module.findExportByName('Security', 'SecTrustEvaluateWithError'); | |
var SSL_CTX_set_custom_verify_handle = | |
Module.findExportByName('libboringssl.dylib', 'SSL_CTX_set_custom_verify'); | |
var SSL_get_psk_identity_handle = | |
Module.findExportByName('libboringssl.dylib', 'SSL_get_psk_identity'); | |
var boringssl_context_set_verify_mode_handle = Module.findExportByName( | |
'libboringssl.dylib', 'boringssl_context_set_verify_mode'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
class TIprng(object): | |
def __init__(self): | |
self.mod1 = 2147483563 | |
self.mod2 = 2147483399 | |
self.mult1 = 40014 | |
self.mult2 = 40692 | |
self.seed1 = 12345 |