Fix Palo Alto frimeware script

This commit is contained in:
Félix Suárez 2024-04-29 16:09:49 -06:00
parent 13321fe29b
commit 79df76d612
2 changed files with 3 additions and 1 deletions

View File

@ -7771,5 +7771,7 @@ UPDATE `tdiscovery_apps` SET `version` = '1.5' WHERE `short_name` = 'pandorafms.
DELETE FROM tevent_response WHERE name = 'Create incident from event';
UPDATE tconfig_os SET `name` = 'Web Server' WHERE `id_os` = 12;
UPDATE `tncm_script` SET content='set cli pager off \n
capture:show system info | match app-version:\n
sleep:1
exit \n'
WHERE id=24;
COMMIT;

View File

@ -2568,7 +2568,7 @@ INSERT INTO `tncm_script` VALUES
(21,0,'sleep:1
exit\n'),
(22,1,'set cli pager off \n
capture:show config running\n
exit\n'),
(23,2,'set cli terminal width 500\n
set cli scripting-mode on\n
configure\n
_applyconfigbackup_\n
commit\n'),
(24,3,'set cli pager off \n
capture:show system info | match app-version:\n
sleep:1 
expect:app-version:\s*
exit \n'),
(24,3,'set cli pager off \n
capture:show system info | match app-version:\n
sleep:1
exit \n'),
(25,4,'tftp import software from _TFTP_SERVER_IP_ file _FIRMWARE_NAME_\n
request system software install version\n
reboot\n
exit\n'),
(26,5,''),
(27,7,'set cli pager off \n
capture:show system info | match app-version:\n
sleep:1 
expect:app-version:\s*
exit \n'),