shell bypass 403

GrazzMean-Shell Shell

: /lib64/nagios/plugins/nccustom/ [ drwxr-xr-x ]
Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.149.235.138
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : check_mysqld_msize.sh
#!/bin/bash
#####################################
# 2014/10/17, Eduard N.             #
#####################################

debug=0
max_size=16 #in GB

result=$(/bin/ps -C mysqld -o rss --no-header)
if [ -z "$result" ]
    then
        result=$(/bin/ps -C mariadbd -o rss --no-header)
        if [ -z "$result" ]
            then
            echo "Warning! Zero result"
            exit 3;
        fi
fi
if [ $debug = 1 ]
    then
        echo $result, $(($result/1048576)), $max_size
fi
if [ $(($result/1048576)) -lt $max_size ]
    then
        echo "Ok. $result KB";
        exit 0;
    else echo "Critical. RSS memory size: $result KB"
        exit 2;
    fi
© 2025 GrazzMean-Shell