bless({
_log => bless({ abort => 1, autoflush => 0, watch_delay => 300 }, "Log::Log4perl::Catalyst"),
_path => "authenticate",
_read_length => 71,
_read_position => 71,
action => "authenticate",
address => "192.168.2.11",
arguments => [],
base => bless(do{\(my $o = "http://nac-server.lab.com/")}, "URI::http"),
body_parameters => {
aup_signed => "on",
destination_url => "",
password => 123,
submit => "Login",
username => "admin",
},
captures => [],
cookies => {},
env => {
"CONTENT_LENGTH" => 71,
"CONTENT_TYPE" => "application/x-www-form-urlencoded",
"DOCUMENT_ROOT" => "/usr/local/pf/html/captive-portal/lib",
"GATEWAY_INTERFACE" => "CGI/1.1",
"HTTP_ACCEPT" => "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"HTTP_ACCEPT_ENCODING" => "gzip,deflate,sdch",
"HTTP_ACCEPT_LANGUAGE" => "ru,en;q=0.8,ja;q=0.6,en-US;q=0.4",
"HTTP_CACHE_CONTROL" => "max-age=0",
"HTTP_CONNECTION" => "keep-alive",
"HTTP_HOST" => "nac-server.lab.com",
"HTTP_ORIGIN" => "http://nac-server.lab.com",
"HTTP_REFERER" => "http://nac-server.lab.com/captive-portal?destination_url=http://www.gstatic.com/generate_204",
"HTTP_USER_AGENT" => "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.132 Safari/537.36",
"HTTP_X_LIVEINTERNETAPPLICATIONS" => "Blogs.Offline",
"MOD_PERL" => "mod_perl/2.0.7",
"MOD_PERL_API_VERSION" => 2,
"PATH" => "/sbin:/bin:/usr/bin:/usr/sbin",
"PATH_INFO" => "/authenticate",
"psgi.errors" => *main::STDERR,
"psgi.input" => bless(do{\(my $o = 3044192344)}, "Apache2::RequestRec"),
"psgi.multiprocess" => 1,
"psgi.multithread" => "",
"psgi.nonblocking" => "",
"psgi.run_once" => "",
"psgi.streaming" => 1,
"psgi.url_scheme" => "http",
"psgi.version" => [1, 1],
"psgix.harakiri" => 1,
"QS_ConnectionId" => "13995605968477490006581",
"QUERY_STRING" => "",
"REMOTE_ADDR" => "192.168.2.11",
"REMOTE_PORT" => 59277,
"REQUEST_METHOD" => "POST",
"REQUEST_URI" => "/authenticate",
"SCRIPT_FILENAME" => "/usr/local/pf/html/captive-portal/register.cgi",
"SCRIPT_NAME" => "/",
"SCRIPT_URI" => "http://nac-server.lab.com/authenticate",
"SCRIPT_URL" => "/authenticate",
"SERVER_ADDR" => "192.168.2.200",
"SERVER_ADMIN" => "root\@nac-server.lab.com",
"SERVER_NAME" => "nac-server.lab.com",
"SERVER_PORT" => 80,
"SERVER_PROTOCOL" => "HTTP/1.1",
"SERVER_SIGNATURE" => "",
"SERVER_SOFTWARE" => "Apache",
},
headers => bless({
"accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"accept-encoding" => "gzip,deflate,sdch",
"accept-language" => "ru,en;q=0.8,ja;q=0.6,en-US;q=0.4",
"cache-control" => "max-age=0",
"connection" => "keep-alive",
"content-length" => 71,
"content-type" => "application/x-www-form-urlencoded",
"host" => "nac-server.lab.com",
"origin" => "http://nac-server.lab.com",
"referer" => "http://nac-server.lab.com/captive-portal?destination_url=http://www.gstatic.com/generate_204",
"user-agent" => "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.132 Safari/537.36",
"x-liveinternetapplications" => "Blogs.Offline",
}, "HTTP::Headers"),
match => "authenticate",
method => "POST",
parameters => {
aup_signed => "on",
destination_url => "",
password => 123,
submit => "Login",
username => "admin",
},
protocol => "HTTP/1.1",
query_keywords => "",
query_parameters => {},
remote_user => undef,
secure => 0,
uploads => {},
uri => bless(do{\(my $o = "http://nac-server.lab.com/authenticate")}, "URI::http"),
}, "Catalyst::Request")
do {
my $a = {
"Action::RenderView" => {
ignore_classes => [
"DBIx::Class::ResultSource::Table",
"DBIx::Class::ResultSourceHandle",
"DateTime",
],
scrubber_func => sub { ... },
},
"default_view" => "HTML",
"disable_component_resolution_regex_fallback" => 1,
"home" => "/usr/local/pf/html/captive-portal",
"name" => "captiveportal",
"Plugin::ConfigLoader" => {},
"Plugin::I18N" => { installed_languages => {} },
"Plugin::Session" => {
chi_args => { namespace => "httpd.portal" },
chi_class => "pf::CHI",
cookie_name => "CGISESSION",
expires => 600,
verify_address => 0,
verify_user_agent => 0,
},
"Plugin::Static::Simple" => {
debug => 1,
dirs => [],
ignore_dirs => [
"pfappserver",
"templates",
"t",
"profile-templates",
"lib",
"script",
],
ignore_extensions => ["cgi", "php", "inc", "tt", "html", "xml", "pl", "pm"],
include_path => [
sub { ... },
"/usr/local/pf/html/captive-portal",
"/usr/local/pf/html/common",
"/usr/local/pf/html",
],
mime_types => { woff => "font/woff" },
mime_types_obj => bless({}, "MIME::Types"),
no_logs => 1,
},
"root" => bless({
dirs => ["", "usr", "local", "pf", "html", "captive-portal", "root"],
file_spec_class => undef,
volume => "",
}, "Path::Class::Dir"),
"stacktrace" => { context => 3, verbose => 0 },
"static" => 'fix',
};
$a->{"static"} = $a->{"Plugin::Static::Simple"};
$a;
}