blog post see http://blog.dnaroma.eu/2020/07/31/study-k8s-with-microk8s/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: |
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.