From 67e67441c171b8c0053fe08c745e5eb605283caf Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Mon, 18 Jul 2022 12:10:19 +0200 Subject: [PATCH] UI: Remove unused getCredenatislSecrets function --- .../components/report-components/credentialParsing.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/credentialParsing.js b/monkey/monkey_island/cc/ui/src/components/report-components/credentialParsing.js index 73ece9502..9a6eee59f 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/credentialParsing.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/credentialParsing.js @@ -5,15 +5,6 @@ export function getAllUsernames(stolen, configured){ return usernames; } -export function getCredentialsSecrets(credentials, credential_type) { - let secrets = []; - - for(let i = 0; i < credentials.length; i++){ - secrets.push(credentials[i]['secrets'][0][credential_type]); - } - return secrets; -} - export function getCredentialsUsernames(credentials) { let usernames = []; for(let i = 0; i < credentials.length; i++){