!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 

uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) 

Safe-mode: OFF (not secure)

/usr/share/doc/perl-Graph/util/   drwxr-xr-x
Free 6181.62 GB of 6262.82 GB (98.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     renum.pl (1.35 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
my $MANIFEST;
my %MANIFEST;
my @MANIFEST;
if (open(MANIFEST, "MANIFEST")) {
    while (<MANIFEST>) {
    unless (m:^t/(\d+(\.\d+)?_+.+):) {
        chomp;
        push @MANIFEST, $_;
    }
    }
    close(MANIFEST);
} else {
    die "$0: opening 'MANIFEST' failed: $!\n";
}
die "$0: chdir 't' failed: $!\n" unless chdir("t");
my @t = sort { $a <=> $b } glob("[0-9]*.t");
my @r;
for my $i (0..$#t) {
    my $u = $t[$i];
    if ($u =~ s/^\d+(\.\d+)?_+//) {
    $u = sprintf "%02g_$u", $i;
    if ($u ne $t[$i]) {
        my $r = [ $t[$i], $u ];
        if (-e $r->[1]) {
        die "$0: renaming $t[$i] - $r->[1] already exists, whole rename aborted.\n";
        } else {
        push @r, $r;
        }
    }
    $MANIFEST{"t/$t[$i]"} = "t/$u\n";
    }
}
my $n = 0;
for my $r (@r) {
    my ($old, $new) = @$r;
    if (rename($old, $new)) {
    $n++;
    } else {
    warn "$0: rename $old $new failed: $!\n";
    }
}
printf "%s t/*.t file%s renamed.\n", $n ? $n : 'No', $n == 1 ? '' : 's';
push @MANIFEST, keys %MANIFEST;
if (open(MANINEW, ">MANIFEST.new")) {
    for my $mani (sort @MANIFEST) {
    print MANINEW "$mani\n"
        or die "$0: MANIFEST.new print: $!\n";
    }
    close(MANINEW)
    or die "$0: MANIFEST.new print: $!\n";
    rename("MANIFEST.new", "../MANIFEST")
    or warn "$0: rename MANIFEST.new ../MANIFEST: $!\n";
} else {
    die "$0: MANIFEST.new create: $!\n";
}
printf "MANIFEST %supdated.\n", $n ? "" : "not ";
exit(0);

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0126 ]--