HEX
Server: Apache
System: Linux 65-254-81-60.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64
User: roshanchandy (1003)
PHP: 8.4.12
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/bin/scl_enabled
#!/bin/sh
eval "SCLS=(${X_SCLS[*]})"
[ -z "$SCLS" ] && exit 1
[ -z "$*" ] && exit 0
for scl in $*; do
	FOUND=0
	for i in `seq 0 ${#SCLS[@]}`; do
		if [ "${SCLS[$i]}" == "$scl" ]; then
			FOUND=1;
			break;
		fi;
	done
	[ $FOUND == 0 ] && exit 1;
done
exit 0