OXIESEC PANEL
- Current Dir:
/
/
usr
/
libexec
/
mc
/
extfs.d
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/16/2023 12:45:18 PM
rwxr-xr-x
📄
README
7.29 KB
03/04/2017 05:26:20 PM
rw-r--r--
📄
README.extfs
1.11 KB
02/24/2017 08:25:57 PM
rw-r--r--
📄
a+
3.13 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
apt+
9.5 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
audio
1.29 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
bpp
1.18 KB
02/24/2017 08:25:57 PM
rwxr-xr-x
📄
changesetfs
2.5 KB
02/24/2017 08:25:57 PM
rwxr-xr-x
📄
deb
5.34 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
deba
3 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
debd
10.26 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
dpkg+
8.79 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
gitfs+
782 bytes
02/24/2017 08:25:57 PM
rwxr-xr-x
📄
hp48+
3.58 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
iso9660
5.65 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
lslR
1.38 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
mailfs
5.59 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
patchfs
10.88 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
patchsetfs
2.26 KB
02/24/2017 08:25:57 PM
rwxr-xr-x
📄
rpm
13.25 KB
03/04/2017 05:26:20 PM
rwxr-xr-x
📄
rpms+
1.47 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
trpm
7.65 KB
02/24/2017 08:25:57 PM
rwxr-xr-x
📄
u7z
4.71 KB
03/04/2017 05:26:20 PM
rwxr-xr-x
📄
uace
1.47 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
ualz
1.25 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
uar
1.29 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
uarc
1.79 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
uarj
1.62 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
ucab
734 bytes
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
uha
969 bytes
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
ulha
3.78 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
ulib
2.76 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
urar
4.37 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
uzip
14.9 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
📄
uzoo
1.56 KB
10/18/2019 08:37:56 PM
rwxr-xr-x
Editing: deba
Close
#! /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") { ©out($name,$ARGV[2],$ARGV[3]); exit 0; } elsif($ARGV[0] eq "run") { &run($name,$ARGV[2]); exit 0; } exit 1;