Potential leak of data: Apache Configuration Directive
Detected 1 occurrence(s) of ‘allow\s*from\s*[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+’:
{
($rs, $$cfg) = get_file("$bkpDir/proxy.conf.system");
return $rs if($rs != 0);
# Replacing the allowed hosts in mod_proxy if needed
# @todo Squeeze - All is commented / Check if it work like this
$$cfg =~ s/#Allow from .example.com/Allow from 127.0.0.1/gi;
# Storing the new file in the working directory
$rs = store_file(
"$wrkDir/proxy.conf", $$cfg, $main::cfg{'ROOT_USER'},
$main::cfg{'ROOT_GROUP'}, 0644
);
return $rs if ($rs != 0);
# Installing the new file in the prod
Source: http://pastebin.com/raw.php?i=SJiAaNFa
Tags: Apache Configuration Directive, pastebin.com
This entry was posted on Thursday, June 21st, 2012 at 01:39 and is filed under PasteMon. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Comments are closed.

