GRAYBYTE WORDPRESS FILE MANAGER5216

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/libexec/mc/extfs.d/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/libexec/mc/extfs.d//deba
#! /usr/bin/perl
#
# 1999 (c) Piotr Roszatycki <dexter@debian.org>
# This software is under GNU license
# last modification: 1999-12-08
#
# deba

sub quote {
    $_ = shift(@_);
    s/([^\w\/.+-])/\\$1/g;
    return($_);
}

sub list
{
       my($qarchive)=@_;
       $qarchive = quote($qarchive);
       chop($date=`LC_ALL=C date "+%m-%d-%Y %H:%M"`);
       chop($info_size=`apt-cache show $qarchive | wc -c`);
       $install_size=length($pressinstall);
       $upgrade_size=length($pressupgrade);

       print "-r--r--r--   1 root     root     $info_size $date INFO\n";

       chop($debd = `dpkg -s $qarchive | grep -i ^Version | sed 's/^version: //i'`);
       chop($deba = `apt-cache show $qarchive | grep -i ^Version | sed 's/^version: //i'`);
       if( ! $debd ) {
           print "-r-xr--r--   1 root     root     $install_size $date INSTALL\n";
       } elsif( $debd ne $deba ) {
           print "-r-xr--r--   1 root     root     $upgrade_size $date UPGRADE\n";
       }
}

sub copyout
{
       my($archive,$filename,$destfile)=@_;
       my $qarchive = quote($archive);
       my $qdestfile = quote($destfile);
       if($filename eq "INFO") {
           system("apt-cache show $qarchive > $qdestfile");
        } elsif($filename eq "INSTALL")        {
           if ( open(FILEOUT, "> $destfile") ) {
               print FILEOUT $pressinstall;
               close FILEOUT;
               system("chmod a+x $qdestfile");
           }
       } elsif($filename eq "UPGRADE") {
           if ( open(FILEOUT, ">, $destfile") ) {
               print FILEOUT $pressupgrade;
               close FILEOUT;
               system("chmod a+x $qdestfile");
           }
       } else {
           die "extfs: $filename: No such file or directory\n";
       }
}

sub run
{
       my($archive,$filename)=@_;
       my $qarchive = quote($archive);
       if($filename eq "INSTALL") {
           system("apt-get install $qarchive");
       } elsif($filename eq "UPGRADE") {
           system("apt-get install $qarchive");
       } else {
           die "extfs: $filename: Permission denied\n";
       }
}

$pressinstall=<<EOInstall;

                                WARNING
  Don\'t use this method if you are not willing to install this package...

This is not a real file. It is a way to install the package you are browsing.

To install this package go back to the panel and press Enter on this file.

EOInstall

$pressupgrade=<<EOInstall;

                                WARNING
  Don\'t use this method if you are not willing to upgrade this package...

This is not a real file. It is a way to upgrade the package you are browsing.

To upgrade this package go back to the panel and press Enter on this file.

EOInstall


umask 077;

chop($name = `if [ -f "$ARGV[1]" ]; then cat $ARGV[1]; else echo $ARGV[1]; fi`);
$name =~ s%.*/([0-9a-z.-]*)_.*%$1%;

exit 1 unless $name;

if($ARGV[0] eq "list") { &list($name); exit 0; }
elsif($ARGV[0] eq "copyout") { &copyout($name,$ARGV[2],$ARGV[3]); exit 0; }
elsif($ARGV[0] eq "run") { &run($name,$ARGV[2]); exit 0; }

exit 1;


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 05 2024 23:20:28
root / root
0755
README
7.287 KB
March 04 2017 17:26:20
root / root
0644
README.extfs
1.107 KB
February 24 2017 20:25:57
root / root
0644
a+
3.131 KB
October 18 2019 20:37:56
root / root
0755
apt+
9.498 KB
October 18 2019 20:37:56
root / root
0755
audio
1.289 KB
October 18 2019 20:37:56
root / root
0755
bpp
1.179 KB
February 24 2017 20:25:57
root / root
0755
changesetfs
2.502 KB
February 24 2017 20:25:57
root / root
0755
deb
5.336 KB
October 18 2019 20:37:56
root / root
0755
deba
3.002 KB
October 18 2019 20:37:56
root / root
0755
debd
10.257 KB
October 18 2019 20:37:56
root / root
0755
dpkg+
8.787 KB
October 18 2019 20:37:56
root / root
0755
gitfs+
0.764 KB
February 24 2017 20:25:57
root / root
0755
hp48+
3.575 KB
October 18 2019 20:37:56
root / root
0755
iso9660
5.646 KB
October 18 2019 20:37:56
root / root
0755
lslR
1.377 KB
October 18 2019 20:37:56
root / root
0755
mailfs
5.586 KB
October 18 2019 20:37:56
root / root
0755
patchfs
10.885 KB
October 18 2019 20:37:56
root / root
0755
patchsetfs
2.256 KB
February 24 2017 20:25:57
root / root
0755
rpm
13.251 KB
March 04 2017 17:26:20
root / root
0755
rpms+
1.474 KB
October 18 2019 20:37:56
root / root
0755
trpm
7.652 KB
February 24 2017 20:25:57
root / root
0755
u7z
4.71 KB
March 04 2017 17:26:20
root / root
0755
uace
1.473 KB
October 18 2019 20:37:56
root / root
0755
ualz
1.25 KB
October 18 2019 20:37:56
root / root
0755
uar
1.292 KB
October 18 2019 20:37:56
root / root
0755
uarc
1.785 KB
October 18 2019 20:37:56
root / root
0755
uarj
1.616 KB
October 18 2019 20:37:56
root / root
0755
ucab
0.717 KB
October 18 2019 20:37:56
root / root
0755
uha
0.946 KB
October 18 2019 20:37:56
root / root
0755
ulha
3.779 KB
October 18 2019 20:37:56
root / root
0755
ulib
2.759 KB
October 18 2019 20:37:56
root / root
0755
urar
4.369 KB
October 18 2019 20:37:56
root / root
0755
uzip
14.903 KB
October 18 2019 20:37:56
root / root
0755
uzoo
1.563 KB
October 18 2019 20:37:56
root / root
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF