mirror of https://github.com/opa334/TrollStore.git
Compare commits
2 Commits
2e646919f6
...
f7f69684ae
Author | SHA1 | Date |
---|---|---|
Lars Fröder | f7f69684ae | |
Luke Noble | 815145f922 |
|
@ -584,26 +584,35 @@ void determinePlatformVulnerableExploitTypes(void *context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(strncmp(os_build, "19F5070b", 8) <= 0)
|
if(strncmp(os_build, "18A5319i", 8) < 0) {
|
||||||
{
|
// Below iOS 14.0 beta 2
|
||||||
// iOS 14.0 - 15.5 beta 4
|
gPlatformVulnerabilities = 0;
|
||||||
gPlatformVulnerabilities = (EXPLOIT_TYPE_CUSTOM_ROOT_CERTIFICATE_V1 | EXPLOIT_TYPE_CMS_SIGNERINFO_V1);
|
}
|
||||||
}
|
else if(strncmp(os_build, "21A326", 6) >= 0 && strncmp(os_build, "21A331", 6) <= 0)
|
||||||
else if(strncmp(os_build, "19G5027e", 8) >= 0 && strncmp(os_build, "19G5063a", 8) <= 0)
|
{
|
||||||
{
|
// iOS 17.0 final
|
||||||
// iOS 15.6 beta 1 - 5
|
gPlatformVulnerabilities = EXPLOIT_TYPE_CMS_SIGNERINFO_V1;
|
||||||
gPlatformVulnerabilities = (EXPLOIT_TYPE_CUSTOM_ROOT_CERTIFICATE_V1 | EXPLOIT_TYPE_CMS_SIGNERINFO_V1);
|
}
|
||||||
}
|
else if(strncmp(os_build, "21A5248v", 8) >= 0 && strncmp(os_build, "21A5326a", 8) <= 0)
|
||||||
else if(strncmp(os_build, "20H18", 5) <= 0)
|
{
|
||||||
{
|
// iOS 17.0 beta 1 - 8
|
||||||
// iOS 14.0 - 16.6.1, 16.7 RC
|
gPlatformVulnerabilities = EXPLOIT_TYPE_CMS_SIGNERINFO_V1;
|
||||||
gPlatformVulnerabilities = EXPLOIT_TYPE_CMS_SIGNERINFO_V1;
|
}
|
||||||
}
|
else if(strncmp(os_build, "19G5027e", 8) >= 0 && strncmp(os_build, "19G5063a", 8) <= 0)
|
||||||
else if(strncmp(os_build, "21A5248v", 8) >= 0 && strncmp(os_build, "21A331", 6) <= 0)
|
{
|
||||||
{
|
// iOS 15.6 beta 1 - 5
|
||||||
// iOS 17.0
|
gPlatformVulnerabilities = (EXPLOIT_TYPE_CUSTOM_ROOT_CERTIFICATE_V1 | EXPLOIT_TYPE_CMS_SIGNERINFO_V1);
|
||||||
gPlatformVulnerabilities = EXPLOIT_TYPE_CMS_SIGNERINFO_V1;
|
}
|
||||||
}
|
else if(strncmp(os_build, "19F5070b", 8) <= 0)
|
||||||
|
{
|
||||||
|
// iOS 14.0 beta 2 - 15.5 beta 4
|
||||||
|
gPlatformVulnerabilities = (EXPLOIT_TYPE_CUSTOM_ROOT_CERTIFICATE_V1 | EXPLOIT_TYPE_CMS_SIGNERINFO_V1);
|
||||||
|
}
|
||||||
|
else if(strncmp(os_build, "20H18", 5) <= 0)
|
||||||
|
{
|
||||||
|
// iOS 14.0 - 16.6.1, 16.7 RC (if CUSTOM_ROOT_CERTIFICATE_V1 not supported)
|
||||||
|
gPlatformVulnerabilities = EXPLOIT_TYPE_CMS_SIGNERINFO_V1;
|
||||||
|
}
|
||||||
|
|
||||||
free(os_build);
|
free(os_build);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue