Skip to content

Instantly share code, notes, and snippets.

View ultrafunkamsterdam's full-sized avatar

Leon ultrafunkamsterdam

View GitHub Profile
.text:010087A4 2D E9 F0 4F PUSH.W {R4-R11,LR}
.text:010087A8 91 B0 SUB SP, SP, #0x44
.text:010087AA 0C 46 MOV R4, R1
//.text:010087AC AF 4B LDR R3, =(sub_100D884+1 - 0x10087BC)
//.text:010087AE 48 F2 A5 71 MOVW R1, #0x87A5
.text:010087B2 05 46 MOV R5, R0
//.text:010087B4 C0 F2 00 11 MOVT.W R1, #0x100
//.text:010087B8 7B 44 ADD R3, PC ; sub_100D884
.text:010087BA 01 94 STR R4, [SP,#0x4]
.text:010087BC 08 95 STR R5, [SP,#0x20]
let Long = require('long');
class Long128 {
constructor(lo, hi) {
this.lo = lo;
this.hi = hi;
}
static mul64(left, right) {
let u1 = new Long(left.low, 0, true);
@ultrafunkamsterdam
ultrafunkamsterdam / gist:af340e44d4849f5939d7e5a3b7730c6b
Created November 6, 2017 14:47
Pokemon Go 0.79.3 Android - Frida Native Crypto + Cipher instrumentation output
This file has been truncated, but you can view the full file.
{'type': 'send', 'payload': '{"time":"2017-11-06T14:39:23.550Z","txnType":"Crypto","lib":"java.security.MessageDigest","method":"update","artifact":[{"name":"Raw Data","value":"68747470733a2f2f70676f72656c656173652e6e69616e7469636c6162732e636f6d2f706c66652f76657273696f6e","argSeq":0}]}'}
{"time":"2017-11-06T14:39:23.550Z","txnType":"Crypto","lib":"java.security.MessageDigest","method":"update","artifact":[{"name":"Raw Data","value":"68747470733a2f2f70676f72656c656173652e6e69616e7469636c6162732e636f6d2f706c66652f76657273696f6e","argSeq":0}]}
{'type': 'send', 'payload': '{"time":"2017-11-06T14:39:23.554Z","txnType":"Crypto","lib":"java.security.MessageDigest","method":"digest","artifact":[{"name":"Algorithm","value":"MD5","argSeq":0},{"name":"Digest","value":"ad4d478295db2d73f4398154d87b36e2","argSeq":0}]}'}
{"time":"2017-11-06T14:39:23.554Z","txnType":"Crypto","lib":"java.security.MessageDigest","method":"digest","artifact":[{"name":"Algorithm","value":"MD5","argSeq":0},{"name":"Digest","value":"ad4d478295db2d
syntax = "proto3";
package Holoholo.Rpc;
enum PokemonCreateContext
{
CREATE_CONTEXT_WILD = 0;
CREATE_CONTEXT_EGG = 1;
CREATE_CONTEXT_EVOLVE = 2;
}
@ultrafunkamsterdam
ultrafunkamsterdam / ipa-resign.sh
Created March 26, 2018 09:29 — forked from FrankSpierings/ipa-resign.sh
IPA Resigning (Frida Injection) Script (OSX)
#!/bin/bash
#
# Script requires `brew`
# - `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
#
# Variables
# - $IPA -> Source IPA
# - $MOBILEPROVISION -> Source embedded.mobileprovision
# find ~/Library/Developer/Xcode | grep embedded.mobileprovision
This file has been truncated, but you can view the full file.
// Image 0: mscorlib.dll - 0
// Image 1: Mono.Security.dll - 1061
// Image 2: System.dll - 1184
// Image 3: System.Core.dll - 1583
// Image 4: Google.Protobuf.dll - 1682
// Image 5: OSCsharp.dll - 1798
// Image 6: System.Xml.dll - 1811
// Image 7: UnityEngine.dll - 2088
// Image 8: Niantic.Platform.dll - 2585
// Image 9: Niantic.Platform.Ditto.dll - 2606
@ultrafunkamsterdam
ultrafunkamsterdam / gist:e296c81165d1f3263925bcd0d572baf8
Created May 1, 2018 23:17
Pokemon Go 0.99.2 LOGIN Flow + RPC Responses
This file has been truncated, but you can view the full file.
[ ULTRATRACE ] v1
Injected to com.nianticlabs.pokemongo
Press CTRL-C to cancel instrumentation
type : http
requestmethod : GET
requesturl : https://sso.pokemon.com/sso/oauth2.0/authorize?client_id=mobile-app_pokemon-go&redirect_uri=https%3A%2F%2Fwww.nianticlabs.com%2Fpokemongo%2Ferror&locale=en_US
@ultrafunkamsterdam
ultrafunkamsterdam / com.nianticlabs.nia.network.NianticTrustManager.checkServerTrusted()
Created May 4, 2018 22:12
com.nianticlabs.nia.network.NianticTrustManager.checkServerTrusted() arguments
com.nianticlabs.nia.network.NianticTrustManager.checkServerTrusted
arg[0]:
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
0a:7c:b9:e0:25:ff:3f:23:cf:38:1d:f0:b3:80:4e:37
Signature Algorithm: sha256WithRSAEncryption
@ultrafunkamsterdam
ultrafunkamsterdam / Pokemon Go 1.101.1 RPC Responses and Hash Digest calls (Android)
Created May 9, 2018 09:54
Pokemon Go 1.101.1 RPC Responses and Hash Digest calls (Android)
=========
start
=========
DIGEST_GET_INSTANCE
-------------------------
algorithm
--
MD5
@ultrafunkamsterdam
ultrafunkamsterdam / Pokemon Go 1.101.1 RPC Responses and Hash Digest calls (Android)
Last active February 5, 2019 16:03
Pokemon Go 1.101.1 RPC Responses and Hash Digest calls (Android) v2
This file has been truncated, but you can view the full file.
Events injected: 1
## Network stats: elapsed time=39ms (0ms mobile, 0ms wifi, 39ms not connected)
Script loaded successfully
DIGEST_GET_INSTANCE
-------------------------
algorithm
--
MD5