anomalyweb.pl

来自「The Network Security Response Framework 」· PL 代码 · 共 57 行

PL
57
字号
#! /usr/bin/perl############################################################################### Name of template file to remove associated configs.  If the template# filename is of the form <path/><Class><.xml>, associated configs are# presumed to be of the form <path/><Class>.+<.xml>.  (i.e., something# between <Class> and <.xml> of the template.# Finally, the mode for the initial configuration.  Can be NULL for no# initial configuration.##############################################################################$template_name = "xml/sensorConfigs/AnomalyWeb.xml";$template_init = "xml/sensorConfigs/AnomalyWebWindow10.xml";#$template_init = "";############################################################################### Array of resource costs for new configurations##############################################################################@rcosts = ( 0, 7, 9, 11, 12, 13 );############################################################################### Array of time values for each new configuration (assumes base unit of # template ) (base is seconds)##############################################################################@times =  ( 0, 5, 10, 30, 60, 90 ); ############################################################################### Array of config titles for each new configuration# We assume at the very least, this array must be set and have a unique# element per new file.##############################################################################@configs = ( "Null",	     "Window5",	     "Window10",	     "Window30",	     "Window60",	     "Window90" );	     ############################################################################### FPPs and FNPs for each new configuration ##############################################################################@fpps = ( 100, 12, 9, 5, 4, 3 );@fnps = ( 100, 12, 9, 5, 4, 3 );

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?