mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Fixed recon task snmp v3 credentials update
This commit is contained in:
parent
d382ca4066
commit
4b4a94e7fb
@ -84,6 +84,6 @@ INSERT IGNORE INTO `tcredential_store` (`identifier`, `id_group`, `product`, `ex
|
|||||||
) AS `extra1`
|
) AS `extra1`
|
||||||
FROM `trecon_task` WHERE `snmp_version` = 3 AND `snmp_enabled` = 1
|
FROM `trecon_task` WHERE `snmp_version` = 3 AND `snmp_enabled` = 1
|
||||||
;
|
;
|
||||||
UPDATE `trecon_task` SET `auth_strings` = IF(`auth_strings` = '',`auth_strings`,CONCAT(@creds_name,`id_rt`,',',`auth_strings`)) 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;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
Loading…
x
Reference in New Issue
Block a user