From 5d174013e580040e99d7d0e35c5b1b1deabfe706 Mon Sep 17 00:00:00 2001 From: Enrique Martin Date: Tue, 13 Feb 2024 15:44:09 +0100 Subject: [PATCH] Fixed recon task snmp v3 credentials update --- pandora_console/extras/mr/68.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/extras/mr/68.sql b/pandora_console/extras/mr/68.sql index d8aed00080..80038a0e0d 100644 --- a/pandora_console/extras/mr/68.sql +++ b/pandora_console/extras/mr/68.sql @@ -84,6 +84,6 @@ INSERT IGNORE INTO `tcredential_store` (`identifier`, `id_group`, `product`, `ex ) AS `extra1` FROM `trecon_task` WHERE `snmp_version` = 3 AND `snmp_enabled` = 1 ; -UPDATE `trecon_task` SET `auth_strings` = IF(`auth_strings` = '',@creds_name,CONCAT(@creds_name,`id_rt`,',',`auth_strings`)) WHERE `snmp_version` = 3 AND `snmp_enabled` = 1; +UPDATE `trecon_task` SET `auth_strings` = IF(`auth_strings` = '',CONCAT(@creds_name,`id_rt`),CONCAT(@creds_name,`id_rt`,',',`auth_strings`)) WHERE `snmp_version` = 3 AND `snmp_enabled` = 1; COMMIT; \ No newline at end of file