Patching apk & libsscronet.so was working fine till tiktok version 36.5.4. Now it gives this error when we patch:
Patching: /Users/user/Documents/Tiktok-SSL-Pinning/temp/lib/arm64-v8a/libsysoptimizer.so
Extracting: lib/arm64-v8a/libsscronet.so
Finding function offset in /var/folders/sp/7hypjl2x14b8ps__m0pk28qw0000gn/T/lib/arm64-v8a/libsscronet.so
Traceback (most recent call last):
File "/Users/user/Documents/Tiktok-SSL-Pinning/patch_apk.py", line 323, in <module>
main()
File "/Users/user/Documents/Tiktok-SSL-Pinning/patch_apk.py", line 312, in main
fcn_offset = find_offset.find_function_from_apk(temp_apk, arch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/user/Documents/Tiktok-SSL-Pinning/find_offset.py", line 58, in find_function_from_apk
return find_function_offset(lib, arch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/user/Documents/Tiktok-SSL-Pinning/find_offset.py", line 48, in find_function_offset
return find_function_arm64(lib)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/user/Documents/Tiktok-SSL-Pinning/find_offset.py", line 12, in find_function_arm64
offset = results[0]['offset']
~~~~~~~^^^
IndexError: list index out of range
Patching apk & libsscronet.so was working fine till tiktok version 36.5.4. Now it gives this error when we patch:
Please fix it, thank you.