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
Deprecated DexFile APIs #5
Comments
this is happening to me too, did you find a solution? |
Not yet, @realTristan . |
Thanks for your submission. We are inspecting this issue internally. We will get back to you with a resolution. |
This issue was caused by a deprecated API in one of hook detection checks. It shouldn't impact your app run whatsoever. But it is a bug, and we will provide a patch in the upcoming release. |
Thanks for paying attention, @talsec-app. My main concern is that the callbacks is not being invoked, so I guessed that these warnings had something to do with that. |
This seems to be a separate issue. How do you test your callbacks? You can find tips in this issue: #3 |
Hi @ShadyZekry
Just would like to check if issue: #3 suggestions helped you to verify the problem. Please let me know if you can proceed with freeRASP or any other issue is blocking you. Regards, |
Sorry I was busy in the last 3 days, @yakim333 @talsec-app So, I was not following this issue to test the package to be honest. What I have tried to do is trying different changes to the app to test these lines of code which i found on the README: // Talsec config
TalsecConfig config = TalsecConfig(
androidConfig: AndroidConfig(
expectedPackageName: dotenv.env["EXPECTED_PACKAGE_NAME"]!,
expectedSigningCertificateHash: dotenv.env["EXPECTED_SIGNING_HASH"]!,
),
watcherMail: 'my.email@gmail.com',
);
// Callback setup
TalsecCallback callback = TalsecCallback(
onDebuggerDetected: () => print("Debugger detected"),
// For Android
androidCallback: AndroidCallback(
onRootDetected: () => print('Root detected'),
onEmulatorDetected: () => print('Emulator detected'),
onHookDetected: () => print('Hook detected'),
onTamperDetected: () => print('Tamper detected'),
onDeviceBindingDetected: () => print('Device binding detected'),
onUntrustedInstallationDetected: () => print('Untrusted installation detected'),
),
} These lines were added to I did try these to test the app over multiple devices:
And sadly not a single callback is called, and I keep getting these lines in the logs as I mentioned before.
|
Hi @ShadyZekry , the issue will be solved in the upcoming freeRASP release. Thanks for giving your time to help our cause. |
Hello. |
I have walked through the guide for adding the package to my project, and I doesn't seem to be working in my project.
I've been missing with the expected values to test if any callback would be invoked, but nothing gets invoked. Instead, I am getting these warnings over and over every 10 seconds
I hope it would help.
The text was updated successfully, but these errors were encountered: