404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.224.32.56: ~ $
#!/bin/bash
##CageFS proxyexec wrapper - ver 17

if [[ $EUID -eq 0 ]]; then
    echo 'Cannot be run as root'
    exit 1
fi

USR=`/usr/bin/whoami`
CWD=`pwd`
TOKEN=`/bin/cat /var/.cagefs/.cagefs.token`
# It's user's tmp directory and write to it is secure procedure
# because this script is running only under usual user
LOCKFILE=/tmp/.crontab.lock

FD=`ulimit -n`
(( FD -= 1 ))

if [[ -e /var/.cagefs/origin ]]; then
    ORIGIN=`/bin/cat /var/.cagefs/origin`
    REMOTE="/usr/bin/ssh -F /etc/ssh/cagefs-rexec_config $USR@$ORIGIN"
else
    REMOTE=""
fi

eval "(
    /usr/bin/flock -x -w 10 $FD || exit 1
    echo -n \"\" | $REMOTE CAGEFS_TOKEN="$TOKEN" /usr/sbin/proxyexec -c cagefs.sock \"$USR\" \"$CWD\" CRONTAB_CHECK $$
) $FD> $LOCKFILE"

[ $? -ne 0 ] && exit 1

eval "(
  /usr/bin/flock -x -w 10 $FD || exit 1
$REMOTE CAGEFS_TOKEN="$TOKEN" /usr/sbin/proxyexec -c cagefs.sock \"$USR\" \"$CWD\" CRONTAB_LIST $$ 2>/dev/null |cat > /var/spool/cron/$USR
) $FD> $LOCKFILE"

/usr/bin/crontab.cagefs $@

eval "(
  /usr/bin/flock -x -w 10 $FD || exit 1
if [ -e /var/spool/cron/$USR ]; then
        cat /var/spool/cron/$USR | $REMOTE CAGEFS_TOKEN="$TOKEN" /usr/sbin/proxyexec -c cagefs.sock \"$USR\" \"$CWD\" CRONTAB_SAVE $$ 2>/dev/null
else
        echo -n \"\" | $REMOTE CAGEFS_TOKEN="$TOKEN" /usr/sbin/proxyexec -c cagefs.sock \"$USR\" \"$CWD\" CRONTAB_SAVE $$ 2>/dev/null
fi
) $FD>$LOCKFILE"

Filemanager

Name Type Size Permission Actions
0b8477af6553918722070ae3ed3c6064aa9a59 File 56.88 KB 0755
File 0 B 0
1d3ae274346d8e40d5e4ab16774aeea81cbaaf File 638.05 KB 0755
2d84b279df6d2ae4173d672e749b74d7436c06 File 133.27 KB 0755
File 0 B 0
2f8563d3ec9b2c7d348e260c015eb237574379 File 1.36 KB 0755
File 0 B 0
35b3391c6826104262fa824338803292cda645 File 82.91 KB 0755
421e2f7579952493ef111ead4f8df43fad87db File 328.89 KB 0755
File 0 B 0
504b06eec7d853b54c5009870a6d3229af9c3f File 23.52 KB 0755
8abcd9b89dbf258179373bfffa24bc45186e26 File 287.58 KB 0755
93807e310e65e827f184ab52b32a236c4c9883 File 6.76 MB 0755
File 0 B 0
9643a102816c618f14ad26b70837a91a34b963 File 7.62 MB 0755
9ec9a9b47f9250794c75e06245707907fd5c82 File 41.52 KB 0755
ca3feabdde35e5dda4c636d1d96e3748d10189 File 11.99 KB 0755
f5956becdfc7d8fceee45de429dd6d2fa0bb73 File 6.81 MB 0755