I hereby claim:
- I am eybisi on github.
- I am eybisi (https://keybase.io/eybisi) on keybase.
- I have a public key ASCVtsAoUfJg_C8in2K1e50m9-PaweJ8wxkPmxzxcpNXiQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| setImmediate(function() { //prevent timeout | |
| console.log("[*] Starting script"); | |
| Java.performNow(function() { | |
| Java.choose("Draziw.Button.Mines.MainActivity", { | |
| onMatch: function (instance) { |
| import itertools | |
| f = open("broken") | |
| brokendata = f.read() | |
| f.close() | |
| head = 0x5ad | |
| tail = 0x8d4 | |
| brokenhead = brokendata[0:head] |
| def socksl(strinput): | |
| length = len(strinput) | |
| arr = [0 for i in range(length)] | |
| i = length - 1 | |
| while i >= 0: | |
| char1 = strinput[i] | |
| n = i - 1 | |
| arr[i] = chr(ord(char1) ^ 0x5c) | |
| if n < 0: | |
| break |
| from idautils import * | |
| from idaapi import * | |
| from idc import * | |
| from idautils import * | |
| from types import * | |
| def socksl(strinput,first_key,second_key): | |
| length = len(strinput) | |
| arr = [0 for i in range(length)] | |
| i = length - 1 |
| from idautils import * | |
| from idaapi import * | |
| from idc import * | |
| from idautils import * | |
| from types import * | |
| def socksl(strinput,first_key,second_key): | |
| length = len(strinput) | |
| arr = [0 for i in range(length)] | |
| i = length - 1 |
| import base64 | |
| import sys | |
| t = [] | |
| for i in range(256): | |
| t.append(i) | |
| bArr = bytearray(sys.argv[1].encode("utf-8")) | |
| i2 = 0 | |
| def swap(i,i2,arr): |
| import base64 | |
| from Crypto.Cipher import AES | |
| def stringdecrypt(a): | |
| string = base64.b64decode(a) | |
| iv = "@1B2c3D4e5F6g7H8" | |
| key = "\x34\x88\x6D\x5B\x09\x7A\x94\x19\x78\xD0\xE3\x8b\x1b\x5c\xa3\x29\x60\x74\x6a\x5e\x5d\x64\x87\x11\xb1\x2c\x67\xaa\x5b\x3a\x8e\xbf" #to 6a/5e for first iteration | |
| cleartext = AES.new(key[0:32], AES.MODE_CBC, iv).decrypt(string) | |
| return cleartext | |
| import lxml.etree as etree | |
| from androguard.core.bytecodes import apk | |
| import sys | |
| def main(): | |
| # python x.py name.apk | |
| a = apk.APK(sys.argv[1]) | |
| a2 = a.get_android_resources() | |
| b = etree.fromstring(a2.get_string_resources(a.get_package())) | |
| try: |
| import lxml.etree as etree | |
| from androguard.core.bytecodes import apk | |
| import sys | |
| def main(): | |
| # python x.py name.apk | |
| a = apk.APK(sys.argv[1]) | |
| a2 = a.get_android_resources() | |
| b = etree.fromstring(a2.get_string_resources(a.get_package())) | |
| try: |