漏洞
漏洞
StrandHogg
1
2
3
4
5
6
7
8
@Override
public void onBackPressed() {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) {
if (isTaskRoot()) super.onBackPressed();
} else {
super.onBackPressed();
}
}
Ref
- The Risk of Android StrandHogg Security Issue and How it can be Mitigated https://medium.com/mobile-app-development-publication/the-risk-of-android-strandhogg-security-issue-and-how-it-can-be-mitigated-80d2ddb4af06
本文由作者按照 CC BY 4.0 进行授权