403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /bin/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /bin/mysql_config
#!/usr/bin/bash
#
# Wrapper script for mysql_config to support multilib
#
#

# This command respects setarch, works on OL6/RHEL6 and later
bits=$(rpm --eval %__isa_bits)

case $bits in
    32|64) ;;
        *) bits=unknown ;;
esac

# Try mapping by uname if rpm command failed
if [ "$bits" = "unknown" ] ; then
    arch=$(uname -m)
    case $arch in
	x86_64|ppc64|ppc64le|aarch64|s390x|sparc64) bits=64 ;;
	i386|i486|i586|i686|pentium3|pentium4|athlon|ppc|s390|sparc) bits=32 ;;
	*) bits=unknown ;;
    esac
fi

if [ "$bits" == "unknown" ] ; then
    echo "$0: error: failed to determine isa bits on your arch."
    exit 1
fi

if [ -x /usr/bin/mysql_config-$bits ] ; then
    /usr/bin/mysql_config-$bits "$@"
else
    echo "$0: error: needed binary: /usr/bin/mysql_config-$bits is missing. Please check your MySQL installation."
    exit 1
fi

Youez - 2016 - github.com/yon3zu
LinuXploit