This file contains 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 moment = require("moment"); | |
import config from "../../../config"; | |
import BaseService from "../BaseService"; | |
import { DeviceCheckService, DeviceCheckParams } from "./DeviceCheckService"; | |
import { buildQueryParams } from "../helper/QueryHelper"; | |
import { isSuccessStatus } from "../helper/ResponseHelper"; | |
import { isTokenReplayed } from "../helper/DatabaseHelper"; | |
This file contains 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 BaseService from "./BaseService"; | |
import BaseCoordinator from "./BaseCoordinator"; | |
import { DeviceCheckParams, DeviceCheckService } from "./DeviceCheckService"; | |
import { GoogleSafetyNetAttestationService } from "./GoogleSafetyNetAttestationService"; | |
import { AppleDeviceCheckService } from "./AppleDeviceCheckService"; | |
import * as UserAgentParser from "../helper/UserAgentParser"; | |
export default class DeviceCheckCoordinator extends BaseCoordinator { |
This file contains 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 android.content.Context | |
import android.util.Base64 | |
import com.google.android.gms.safetynet.SafetyNet | |
import inject.AppContext | |
import inject.modules.GoogleServicesModule.GoogleContext | |
import io.reactivex.Single | |
import java.io.ByteArrayOutputStream | |
import javax.inject.Inject | |
interface SecurityHelper { |
This file contains 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 jwt from "jsonwebtoken"; | |
import uuid from "uuid"; | |
import config from "../../../config"; | |
import { DeviceCheckService, DeviceCheckParams } from "./DeviceCheckService"; | |
import BaseService from "./BaseService"; | |
export class AppleDeviceCheckService extends BaseService implements DeviceCheckService { |
This file contains 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 Foundation | |
import RxSwift | |
import DeviceCheck | |
public struct Client { | |
private static func retrieveDeviceToken() -> Observable<String?> { | |
if #available(iOS 11.0, *) { | |
return Observable.create({ observer -> Disposable in | |
guard DCDevice.current.isSupported else { |
This file contains 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
static srtp_err_status_t srtp_hmac_compute(void *statev, | |
const uint8_t *message, | |
int msg_octets, | |
int tag_len, | |
uint8_t *result) |
This file contains 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
debug_print(srtp_mod_aes_icm, "key: %s", | |
srtp_octet_string_hex_string(key, base_key_len)); | |
debug_print(srtp_mod_aes_icm, "offset: %s", v128_hex_string(&c->offset)); |
This file contains 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
int sub_100bbda00(int arg0, int arg1) { | |
r31 = r31 - 0x60; | |
var_30 = r24; | |
stack[-56] = r23; | |
var_20 = r22; | |
stack[-40] = r21; | |
var_10 = r20; | |
stack[-24] = r19; | |
saved_fp = r29; | |
stack[-8] = r30; |
This file contains 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
int signal_encrypt(signal_context *context, | |
signal_buffer **output, | |
int cipher, | |
const uint8_t *key, size_t key_len, | |
const uint8_t *iv, size_t iv_len, | |
const uint8_t *plaintext, size_t plaintext_len); |
This file contains 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
{ | |
onEnter: function (log, args, state) { | |
log("+[ WAHKDF deriveSecretsFromInputKeyMaterial: " + | |
ObjC.Object( args[2] ).toString() + "\n" + | |
" salt: " + ObjC.Object( args[3] ).toString() + "\n" + | |
" info: " + ObjC.Object( args[4] ).toString() + "\n" + | |
" bytes : " + args[5].toInt32 () + "\n" + | |
" withMessageVersion : " + args[6].toInt32 () + "\n]"); | |
} | |
} |
NewerOlder