!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/share/doc/libxml-grove-perl/examples/   drwxr-xr-x
Free 711.4 GB of 879.6 GB (80.88%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     grove.pl (1.43 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#
# Copyright (C) 1998 Ken MacLeod
# See the file COPYING for distribution terms.
#
# $Id: grove.pl,v 1.4 1999/05/06 23:13:02 kmacleod Exp $
#

use XML::Parser::PerlSAX;
use XML::Grove;
use XML::Grove::Builder;

my $builder = XML::Grove::Builder->new;
my $parser = XML::Parser::PerlSAX->new(Handler => $builder);

my $doc;
foreach $doc (@ARGV) {
    my $grove = $parser->parse (Source => { SystemId => $doc });

    dump_grove ($grove);
}


sub dump_grove {
    my $grove = shift;
    my @context = ();

    _dump_contents ($grove->{Contents}, \@context);
}

sub _dump_contents {
    my $contents = shift;
    my $context = shift;

    foreach $item (@$contents) {
    if (ref ($item) =~ /::Element/) {
        push @$context, $item->{Name};
        my @attributes = %{$item->{Attributes}};
        print STDERR "@$context \\\\ (@attributes)\n";
        _dump_contents ($item->{Contents}, $context);
        print STDERR "@$context //\n";
        pop @$context;
    } elsif (ref ($item) =~ /::PI/) {
        my $target = $item->{Target};
        my $data = $item->{Data};
        print STDERR "@$context ?? $target($data)\n";
    } elsif (ref ($item) =~ /::Characters/) {
        my $data = $item->{Data};
        $data =~ s/([\x80-\xff])/sprintf "#x%X;", ord $1/eg;
        $data =~ s/([\t\n])/sprintf "#%d;", ord $1/eg;
        print STDERR "@$context || $data\n";
    } elsif (!ref ($item)) {
        print STDERR "@$context !! SCALAR: $item\n";
    } else {
        print STDERR "@$context !! OTHER: $item\n";
    }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0758 ]--