From b38cec4c1b904cef2902698ff8640e4848ef4b11 Mon Sep 17 00:00:00 2001 From: Isak Van Der Walt Date: Tue, 10 Sep 2024 14:17:51 +0200 Subject: [PATCH] (fix) enumerateKeychain not returning updated value. --- agent/src/ios/keychain.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/agent/src/ios/keychain.ts b/agent/src/ios/keychain.ts index d408696..e3d797f 100644 --- a/agent/src/ios/keychain.ts +++ b/agent/src/ios/keychain.ts @@ -111,9 +111,7 @@ const enumerateKeychain = (): IKeychainData[] => { }); const keyChainData: IKeychainData[] = []; - keyChainData.concat(...itemClassResults).filter((n) => n !== undefined); - - return keyChainData; + return keyChainData.concat(...itemClassResults).filter((n) => n !== undefined); }; // print raw entries using some Frida magic