Skip to content

Instantly share code, notes, and snippets.

__author__ = 'Administrator'
# -*- coding: utf8 -*-
# import requests
# payload = {'key1': 'value1', 'key2': 'value2'}
#
# # r = requests.get("http://httpbin.org/get", params=payload)
# import time
#
# print time.time()
// start with:
// frida -U -l pinning.js -f [APP_ID] --no-pause
Java.perform(function () {
console.log('')
console.log('===')
console.log('* Injecting hooks into common certificate pinning methods *')
console.log('===')
var X509TrustManager = Java.use('javax.net.ssl.X509TrustManager');
// start with:
// frida -U -l pinning.js -f [APP_ID] --no-pause
Java.perform(function () {
console.log('')
console.log('===')
console.log('* Injecting hooks into common certificate pinning methods *')
console.log('===')
var X509TrustManager = Java.use('javax.net.ssl.X509TrustManager');