tripwireweb.pl

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

PL
60
字号
#! /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/TripwireWeb.xml";$template_init = "xml/sensorConfigs/TripwireWeb30min.xml";#$template_init = "";############################################################################### Array of resource costs for new configurations##############################################################################@rcosts = ( 45, 40, 35, 30, 25, 20, 15, 10, 8 );############################################################################### Array of time values for each new configuration (assumes base unit of # template )##############################################################################@times =  ( 10, 15, 20, 30, 45, 60, 120, 240, 720 );############################################################################### 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 = ( "10min",	     "15min",	     "20min",	     "30min",	     "45min",	     "60min",	     "2hr",	     "4hr",	     "12hr" );	     ############################################################################### FPPs and FNPs for each new configuration ##############################################################################@fpps = ( 0, 0, 0, 0, 0, 0, 0, 0, 0 );@fnps = ( 0, 0, 0, 0, 0, 0, 0, 0, 0 );

⌨️ 快捷键说明

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