Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different end results on different apps, by returning 0 or 1 #22

Closed
RahmatAliMalik5 opened this issue Feb 29, 2024 · 2 comments
Closed

Comments

@RahmatAliMalik5
Copy link

Hi, Hope you are good.

I have just collected the SSL calls from the application successfully after the struggle of many many hours. Your script was working fine for the test application you provided and for this application. But was not working fine for this application which was just updated on Feb 26, 2024, and this was my target application.

By updating the return type from 0 to 1, the application started to work fine and SSL calls can be accessed. Writing here so, one can be able to find the solution if needed.

function hook_ssl_verify_peer_cert(address) {
Interceptor.replace(address, new NativeCallback((pathPtr, flags) => {
return 0;
}, 'int', ['pointer', 'int']));
}

@TheDauntless
Copy link
Collaborator

I just tested the updated version of the script on the BFICGold application and it seems to be working. Changing the return value in that function to 1 is unlikely to work though. Feel free to reopen in case you still have issues.

@RahmatAliMalik5
Copy link
Author

Sure, I have to use it again in some days. Will post here if got any problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants