You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to extract proto files from an APK, but it fails when extracting content from the jar:
In vfo:
Traceback (most recent call last):
File "./gui.py", line 462, in run
for name, contents in self.extractor['func'](input_):
File "/home/jack/Desktop/phone/pbtk/extractors/jar_extract.py", line 236, in handle_jar
extract_lite(jar, cls, enums, gen_classes_nodollar, codedinputstream, codedoutputstream, map_entry_cls, out_additional_cls,
File "/home/jack/Desktop/phone/pbtk/extractors/jar_extract.py", line 326, in extract_lite
ftype = {0: 'int32', 1: 'fixed64', 2: 'bytes', 3: 'group', 5: 'fixed32'}[lazy_tag & 7]
KeyError: 4
I checked the code and the lazy_tag I'm getting when this error occurs is 68, so it's trying to find key 4 in the ftype dict, but it doesn't exist. Is this intentional?
The text was updated successfully, but these errors were encountered:
I'm trying to extract proto files from an APK, but it fails when extracting content from the jar:
I checked the code and the
lazy_tag
I'm getting when this error occurs is 68, so it's trying to find key 4 in the ftype dict, but it doesn't exist. Is this intentional?The text was updated successfully, but these errors were encountered: