This is the code rewritten in Python 3 from the original code of esterTion's PHP version. Only works with blobs from Android apk!!!
genProto.py for old versions, genProto.py for new versions with arm64 blobs.
This is the code rewritten in Python 3 from the original code of esterTion's PHP version. Only works with blobs from Android apk!!!
genProto.py for old versions, genProto.py for new versions with arm64 blobs.
| from io import RawIOBase | |
| from struct import * | |
| from typing import Callable | |
| def offset_decorate(func: Callable) -> Callable: | |
| def func_wrapper(*args, **kwargs) -> Callable: | |
| offset = kwargs.get('offset') | |
| if offset is not None: |
| #!/usr/bin/env python3 | |
| # acb.py: For all your ACB extracting needs | |
| # Copyright (c) 2016, The Holy Constituency of the Summer Triangle. | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |