HEX
Server: Apache
System: Linux 13-202-242-94.cprapid.com 5.14.0-611.16.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Dec 22 03:40:39 EST 2025 x86_64
User: azamsportsacadem (1064)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/set_metadata.sh
#!/bin/bash

echo $0

echo 'Setting build metadata'
CPANEL_VERSION=$(cat /usr/local/cpanel/version)
echo "cpanel_version:$CPANEL_VERSION" > metadata
echo os_version:$(egrep PRETTY_NAME /etc/os-release | cut -d\= -f 2 | xargs) >> metadata