Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.16.81.75
Web Server : Apache
System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : btiyawmy ( 1003)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /bin/plesk_configure
#!/bin/bash

CONVERT="$1"

if [ ! -e "/usr/local/psa/version" ]; then
    exit 0
fi

PATH_TO_FIX="/var/www/vhosts/.skel/0"
PLESK_VER=$(cat /usr/local/psa/version | awk '{print $1}' | awk -F '.' '{print $1}')

if [ ! -e "/proc/sys/fs/protected_symlinks_allow_gid" -a -z "$CONVERT" ]; then
    exit 0
fi

if [ -e "$PATH_TO_FIX" ]; then
    chgrp linksafe "$PATH_TO_FIX"
fi

if [ ${PLESK_VER} -ge 17 ]; then
    usermod -a -G linksafe psaadm
fi

exit 0

Anon7 - 2022
AnonSec Team