Open VendorAttestation opened 3 months ago
results = [x for x in results if x['type'] == "STRN"]
below results = r2.cmdj('axtj ' + str(offset))
inside this function find_function_arm64
in find_offset.py
- Add this line code
results = [x for x in results if x['type'] == "STRN"]
belowresults = r2.cmdj('axtj ' + str(offset))
inside this functionfind_function_arm64
infind_offset.py
- Good Luck and it worked for me
Works you should make a PR and get credit for the fix 👍
- Add this line code
results = [x for x in results if x['type'] == "STRN"]
belowresults = r2.cmdj('axtj ' + str(offset))
inside this functionfind_function_arm64
infind_offset.py
- Good Luck and it worked for me
Works you should make a PR and get credit for the fix 👍
I created a pull-request at Here
Describe the bug
35.0.2+ Can no longer find arm64-v8a offset only armeabi-v7a
Method
Patched APK
App info
Device info Not Needed
Proxy tool Not Needed
Logs Patching for armeabi-v7a Extracting: lib/armeabi-v7a/libsysoptimizer.so Downloading firda-gadget-16.3.0-armeabi-v7a.so.xz [==================================================]
Patching: /root/Tiktok-SSL-Pinning-Bypass/temp/lib/armeabi-v7a/libsysoptimizer.so Extracting: lib/armeabi-v7a/libsscronet.so Finding function offset in /tmp/lib/armeabi-v7a/libsscronet.so fun_offset: 0x1e1db0
Patching for arm64-v8a Extracting: lib/arm64-v8a/libsysoptimizer.so Downloading firda-gadget-16.3.0-arm64-v8a.so.xz [==================================================]
Patching: /root/Tiktok-SSL-Pinning-Bypass/temp/lib/arm64-v8a/libsysoptimizer.so Extracting: lib/arm64-v8a/libsscronet.so Finding function offset in /tmp/lib/arm64-v8a/libsscronet.so Traceback (most recent call last): File "/root/Tiktok-SSL-Pinning-Bypass/patch_apk.py", line 323, in
main()
File "/root/Tiktok-SSL-Pinning-Bypass/patch_apk.py", line 312, in main
fcn_offset = find_offset.find_function_from_apk(temp_apk, arch)
File "/root/Tiktok-SSL-Pinning-Bypass/find_offset.py", line 58, in find_function_from_apk
return find_function_offset(lib, arch)
File "/root/Tiktok-SSL-Pinning-Bypass/find_offset.py", line 48, in find_function_offset
return find_function_arm64(lib)
File "/root/Tiktok-SSL-Pinning-Bypass/find_offset.py", line 22, in find_function_arm64
offset = hex(results[-1]["offset"])
IndexError: list index out of range
Additional context None