shell bypass 403

UnknownSec Shell

: /bin/ [ dr-xr-xr-x ]

name : gdlib-config
#!/bin/sh
#
# Return information about the local GD library installation
#
# Modeled after pdflib-config

echo "gdlib-config: warning: this script is deprecated;" \
     "please use the pkg-config file instead." >&2

# installation directories
prefix=/usr
exec_prefix=/usr
libdir=`pkg-config gdlib --variable=libdir`
includedir=/usr/include
bindir=/usr/bin
ldflags=`pkg-config gdlib --variable=ldflags`

usage()
{
	cat <<EOF
Print information on GD library's version, configuration, and use.
Usage: gdlib-config [options]
Options:
	--libdir          # directory where GD library is installed
	--includedir      # directory where GD library headers are installed
	--version         # complete GD library version string
	--majorversion    # GD library major version number
	--minorversion    # GD library minor version number
	--revision        # GD library revision version number
	--ldflags         # options required for linking against GD library
	--libs            # libs required for linking against GD library
	--cflags          # options required for compiling GD library apps
	--includes        # same as --cflags
	--features        # lists features compiled into gd, separated by spaces.
                          # Currently (as of 2.2.5) the optional features
                          # are GD_PNG, GD_JPEG, GD_XPM, GD_FREETYPE, and 
                          # GD_FONTCONFIG. When these features are reported by
                          # --features, it is safe to include calls to the
                          # related functions in your code.
	--all             # print a summary of all GD library configure options
EOF
	exit $1
}

if test $# -eq 0; then
	usage 1 1>&2
fi

while test $# -gt 0; do
    case "$1" in
    -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    *) optarg= ;;
    esac

    case $1 in
    --libdir)
	echo $libdir
	;;
    --includedir)
	echo $includedir
	;;
    --version)
	echo 2.2.5
	;;
    --majorversion)
	echo 2
	;;
    --minorversion)
	echo 2
	;;
    --revision)
	echo 5
	;;
    --ldflags)
	echo $ldflags
	;;
    --libs)
	echo -lgd -lm   -lz   -lpng16 -lz   -lfreetype   -lfontconfig -lfreetype    -ljpeg  -lXpm -lX11  -L/usr/lib -ltiff    -lwebp 
	;;
    --cflags|--includes)
	echo -I/usr/include
	;;
    --features)
	echo GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_ZLIB GD_PNG GD_FREETYPE GD_FONTCONFIG GD_JPEG GD_XPM GD_TIFF GD_WEBP
	;;
    --all)
	echo "GD library  2.2.5"
	echo "includedir: $includedir"
	echo "cflags:     -I/usr/include"
	echo "ldflags:    $ldflags"
	echo "libs:       -lm   -lz   -lpng16 -lz   -lfreetype   -lfontconfig -lfreetype    -ljpeg  -lXpm -lX11  -L/usr/lib -ltiff    -lwebp "
	echo "libdir:     $libdir"
	echo "features:   GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_ZLIB GD_PNG GD_FREETYPE GD_FONTCONFIG GD_JPEG GD_XPM GD_TIFF GD_WEBP"
	;;
    *)
	usage 1 1>&2
	;;
    esac
    shift
done

© 2025 UnknownSec
Courses | Anyleson - Learning Platform
INR (₹)
India Rupee
$
United States Dollar

Courses

17 Courses
Course
Full Stack Web Development

Full Stack Web Development

in Web Development
83:20 Hours
10 Oct 2024
₹28,318.82
Course
Installment and Secure Host

Installment and Secure Host

in Business Strategy
5.00
1:30 Hours
16 Mar 2023
₹118
Course
New Update Features

New Update Features

in Language
4.00
1:30 Hours
21 Jun 2022
Free
Not conducted
Bestseller
New In-App Live System

New In-App Live System

in Communications
5.00
2:30 Hours
1 Mar 2026
₹11.80
Featured
New Learning Page

New Learning Page

in Lifestyle
5.00
3:30 Hours
1 Mar 2022
Free
Finished
How to Travel Around the World

How to Travel Around the World

in Lifestyle
5.00
2:30 Hours
2 Mar 2022
₹29.50

Type

More options