!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/proyectos/tdfonline/www/docs/openssl/util/   drwxr-xr-x
Free 14.72 GB of 61.93 GB (23.77%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     copy.pl (1.58 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#! /usr/bin/env perl
# Copyright 2005-2018 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (the "License").  You may not use
# this file except in compliance with the License.  You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html


use Fcntl;


# copy.pl

# Perl script 'copy' comment. On Windows the built in "copy" command also
# copies timestamps: this messes up Makefile dependencies.

my $stripcr = 0;

my $arg;
my @excludes = ();

foreach $arg (@ARGV) {
    if ($arg eq "-stripcr")
        {
        $stripcr = 1;
        next;
        }
    if ($arg =~ /^-exclude_re=(.*)$/)
        {
        push @excludes, $1;
        next;
        }
    $arg =~ s|\\|/|g;    # compensate for bug/feature in cygwin glob...
    $arg = qq("$arg") if ($arg =~ /\s/);    # compensate for bug in 5.10...
    foreach my $f (glob $arg)
        {
        push @filelist, $f unless grep { $f =~ /$_/ } @excludes;
        }
}

$fnum = @filelist;

if ($fnum <= 1)
    {
    die "Need at least two filenames";
    }

$dest = pop @filelist;

if ($fnum > 2 && ! -d $dest)
    {
    die "Destination must be a directory";
    }

foreach (@filelist)
    {
    if (-d $dest)
        {
        $dfile = $_;
        $dfile =~ s|^.*[/\\]([^/\\]*)$|$1|;
        $dfile = "$dest/$dfile";
        }
    else
        {
        $dfile = $dest;
        }
    sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_";
    sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
                    || die "Can't Open $dfile";
    while (sysread IN, $buf, 10240)
        {
        if ($stripcr)
            {
            $buf =~ tr/\015//d;
            }
        syswrite(OUT, $buf, length($buf));
        }
    close(IN);
    close(OUT);
    print "Copying: $_ to $dfile\n";
    }



:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.624 ]--