Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 3.129.209.49
Web Server : Apache/2.4.18 (Ubuntu)
System :
User : www-data ( )
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/mc/extfs.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/lib/mc/extfs.d/bpp
#! /bin/sh
#
# Written by Marco Ciampa 2000
# (a simple cut & paste from rpm vfs)
# (C) 1996 The Free Software Foundation.
#
# Package of a new italian distribution: Bad Penguin
# http://www.badpenguin.org/

# override any locale for dates
unset LC_ALL
LC_TIME=C
export LC_TIME

mcbppfs_list ()
{
    FILEPREF="-r--r--r--   1 root     root    "
    FIEXPREF="-r-xr-xr-x   1 root     root    "
    DATE=`date +"%b %d %H:%M"`
    set x `ls -l "$1"`
    size=$6
    echo "$FILEPREF $size $DATE CONTENTS.tar.gz"
    echo "$FIEXPREF 35 $DATE INSTALL"
    echo "$FIEXPREF 35 $DATE UPGRADE"
}

mcbppfs_copyout ()
{
    case "$2" in
	CONTENTS.tar.gz)		cat "$1" > "$3"; exit 0;;
	INSTALL) echo "# Run this to install this package" > "$3"; exit 0;;
	UPGRADE) echo "# Run this to upgrade this package" > "$3"; exit 0;;
    esac
}

mcbppfs_run ()
{
    case "$2" in
	INSTALL) echo "Installing \"$1\""; package-setup --install "$1"; exit 0;;
	UPGRADE) echo "Upgrading \"$1\"";  package-setup --update  "$1"; exit 0;;
    esac
}

umask 077
case "$1" in
  list)    mcbppfs_list    "$2";           exit 0;;
  copyout) mcbppfs_copyout "$2" "$3" "$4"; exit 0;;
  run)     mcbppfs_run     "$2" "$3";      exit 1;;
esac
exit 1

Anon7 - 2022
AnonSec Team