Skip to content

Commit 8559492

Browse files
committed
More realistic level of CGI::IDS prevention
1 parent 1a865fc commit 8559492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/VWF/Display.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ sub new
9292
my $ids = CGI::IDS->new();
9393
$ids->set_scan_keys(scan_keys => 1);
9494
my $impact = $ids->detect_attacks(request => $info->params());
95-
if($impact > 0) {
95+
if($impact > 30) {
9696
die $ENV{'REMOTE_ADDR'}, ": IDS impact is $impact"; # Block detected attacks
9797
}
9898

0 commit comments

Comments
 (0)