Skip to content

Instantly share code, notes, and snippets.

@saantiaguilera
saantiaguilera / service_call_test.py
Last active Feb 15, 2018 — forked from ktnr74/service_call_test.py
*update_transaction_codes.py* parses Android services source code to find out transaction codes and saves them in YAML format for later use. *transaction_codes.yaml* is an example of the resulting file. *service_call_test.py* shows how it can be used
View service_call_test.py
#!/usr/bin/python
import os
import sys
import time
import yaml
import subprocess
import re
import struct