shell bypass 403

GrazzMean Shell

: /proc/thread-self/root/usr/local/php7/bin/ [ drwxr-xr-x ]
Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.144.152.153
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : php-config
#! /bin/sh

SED="/usr/bin/sed"
prefix="/usr/local/php7"
datarootdir="/usr/local/php7/php"
exec_prefix="${prefix}"
version="7.0.33"
vernum="70033"
include_dir="${prefix}/include/php"
includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
ldflags=" -L/usr/local/instantclient_12_2/lib/ -L/usr//lib64 -L/usr/pgsql-11/lib"
libs="-lcrypt  -lc-client  -lz -lexslt -ltidy -lresolv -lcrypt -lpq -lrt -lpq -lmcrypt -lltdl -lclntsh -lstdc++ -lcrypt -lpam -lgmp -lX11 -lXpm -lpng -lz -ljpeg -lcurl -lbz2 -lz -lrt -lm -ldl -lnsl  -lxml2 -lz -llzma -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcurl -lxml2 -lz -llzma -lm -ldl -lssl -lcrypto -lfreetype -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -licui18n -licuuc -licudata -licuio -lodbc -lxml2 -lz -llzma -lm -ldl -lxml2 -lz -llzma -lm -ldl -lcrypt -lxml2 -lz -llzma -lm -ldl -lxml2 -lz -llzma -lm -ldl -lxml2 -lz -llzma -lm -ldl -lxml2 -lz -llzma -lm -ldl -lxslt -lxml2 -lm -lssl -lcrypto -lcrypt "
extension_dir='/usr/local/php7/lib/php/extensions/no-debug-non-zts-20151012'
man_dir=`eval echo ${datarootdir}/man`
program_prefix=""
program_suffix=""
exe_extension=""
php_cli_binary=NONE
php_cgi_binary=NONE
configure_options=" '--enable-soap' '--prefix=/usr/local/php7' '--with-libdir=lib64' '--with-gd' '--with-zlib' '--with-kerberos' '--enable-ftp' '--enable-gd-native-ttf' '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-xpm-dir=/usr' '--with-png-dir=/usr' '--enable-bcmath' '--with-gettext' '--enable-mbstring' '--with-curl' '--with-imap' '--enable-calendar' '--with-openssl' '--enable-exif' '--with-mhash=/usr' '--with-mcrypt=/usr' '--with-imap-ssl' '--with-xsl=/usr' '--with-config-file-path=/home/sys/php7' '--with-pgsql=/usr/pgsql-11' '--with-pdo-mysql' '--with-pdo-pgsql=/usr/pgsql-11' '--with-mysqli' '--with-pear' '--with-iconv' '--with-tidy' '--with-xmlrpc' '--enable-zip' '--enable-sockets' '--enable-opcache' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--enable-intl' '--with-bz2' '--with-gmp' '--with-ldap=/usr/local/instantclient_12_2/lib/' '--with-pdo-odbc=unixODBC,/usr/,shared' '--with-pdo-dblib=shared'"
php_sapis=" cli phpdbg cgi"

# Set php_cli_binary and php_cgi_binary if available
for sapi in $php_sapis; do
  case $sapi in
  cli)
    php_cli_binary="${exec_prefix}/bin/${program_prefix}php${program_suffix}${exe_extension}"
    ;;
  cgi)
    php_cgi_binary="${exec_prefix}/bin/${program_prefix}php-cgi${program_suffix}${exe_extension}"
    ;;
  esac
done

# Determine which (if any) php binary is available
if test "$php_cli_binary" != "NONE"; then
  php_binary="$php_cli_binary"
else
  php_binary="$php_cgi_binary"
fi

# Remove quotes
configure_options=`echo $configure_options | $SED -e "s#'##g"`

case "$1" in
--prefix)
  echo $prefix;;
--includes)
  echo $includes;;
--ldflags)
  echo $ldflags;;
--libs)
  echo $libs;;
--extension-dir)
  echo $extension_dir;;
--include-dir)
  echo $include_dir;;
--php-binary)
  echo $php_binary;;
--php-sapis)
  echo $php_sapis;;
--configure-options)
  echo $configure_options;;
--man-dir)
  echo $man_dir;;
--version)
  echo $version;;
--vernum)
  echo $vernum;;
*)
  cat << EOF
Usage: $0 [OPTION]
Options:
  --prefix            [$prefix]
  --includes          [$includes]
  --ldflags           [$ldflags]
  --libs              [$libs]
  --extension-dir     [$extension_dir]
  --include-dir       [$include_dir]
  --man-dir           [$man_dir]
  --php-binary        [$php_binary]
  --php-sapis         [$php_sapis]
  --configure-options [$configure_options]
  --version           [$version]
  --vernum            [$vernum]
EOF
  exit 1;;
esac

exit 0
© 2025 GrazzMean