!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-oracle-5.13-headers-5.13.0-1018/tools/testing/selftests/cgroup/   drwxr-xr-x
Free 83.25 GB of 96.73 GB (86.07%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     with_stress.sh (1.68 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0

# Kselftest framework requirement - SKIP code is 4.
ksft_skip=4

stress_fork()
{
	while true ; do
		/usr/bin/true
		sleep 0.01
	done
}

stress_subsys()
{
	local verb=+
	while true ; do
		echo $verb$subsys_ctrl >$sysfs/cgroup.subtree_control
		[ $verb = "+" ] && verb=- || verb=+
		# incommensurable period with other stresses
		sleep 0.011
	done
}

init_and_check()
{
	sysfs=`mount -t cgroup2 | head -1 | awk '{ print $3 }'`
	if [ ! -d "$sysfs" ]; then
		echo "Skipping: cgroup2 is not mounted" >&2
		exit $ksft_skip
	fi

	if ! echo +$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
		echo "Skipping: cannot enable $subsys_ctrl in $sysfs" >&2
		exit $ksft_skip
	fi

	if ! echo -$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
		echo "Skipping: cannot disable $subsys_ctrl in $sysfs" >&2
		exit $ksft_skip
	fi
}

declare -a stresses
declare -a stress_pids
duration=5
rc=0
subsys_ctrl=cpuset
sysfs=

while getopts c:d:hs: opt; do
	case $opt in
	c)
		subsys_ctrl=$OPTARG
		;;
	d)
		duration=$OPTARG
		;;
	h)
		echo "Usage $0 [ -s stress ] ... [ -d duration ] [-c controller] cmd args .."
		echo -e "\t default duration $duration seconds"
		echo -e "\t default controller $subsys_ctrl"
		exit
		;;
	s)
		func=stress_$OPTARG
		if [ "x$(type -t $func)" != "xfunction" ] ; then
			echo "Unknown stress $OPTARG"
			exit 1
		fi
		stresses+=($func)
		;;
	esac
done
shift $((OPTIND - 1))

init_and_check

for s in ${stresses[*]} ; do
	$s &
	stress_pids+=($!)
done


time=0
start=$(date +%s)

while [ $time -lt $duration ] ; do
	$*
	rc=$?
	[ $rc -eq 0 ] || break
	time=$(($(date +%s) - $start))
done

for pid in ${stress_pids[*]} ; do
	kill -SIGTERM $pid
	wait $pid
done

exit $rc

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0044 ]--