OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/24/2023 11:16:37 AM
rwxr-xr-x
📄
cpp
1.2 MB
10/03/2023 01:36:20 PM
rwxr-xr-x
📁
environment.d
-
11/14/2024 08:34:59 PM
rwxr-xr-x
📁
fontconfig
-
10/24/2023 11:16:03 AM
rwxr-xr-x
📁
locale
-
02/26/2024 03:16:05 AM
rwxr-xr-x
📁
motd.d
-
10/14/2023 01:54:19 PM
rwxr-xr-x
📁
oracle
-
10/24/2023 02:23:34 PM
rwxr-xr-x
📁
rpm
-
02/26/2024 03:08:54 AM
rwxr-xr-x
📄
sendmail
1.02 KB
01/03/2024 06:57:10 PM
rwxr-xr-x
📄
sendmail.exim
1.02 KB
01/03/2024 06:57:10 PM
rwxr-xr-x
📁
systemd
-
04/23/2025 10:46:22 PM
rwxr-xr-x
📁
tmpfiles.d
-
04/15/2025 01:47:25 PM
rwxr-xr-x
Editing: sendmail
Close
#!/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" EXIM $$ "$@" RETVAL=$? else trap 'ctrl_c_handler' 2 CAGEFS_TOKEN="$TOKEN" /usr/sbin/proxyexec -c cagefs.sock "$USR" "$CWD" EXIM $$ "$@" RETVAL=$? /bin/rm -f $PIDFILE > /dev/null 2>&1 fi exit $RETVAL