Linux gir02.nhanhoa.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC 2023 x86_64
LiteSpeed
Server IP : 103.124.95.33 & Your IP : 216.73.217.104
Domains :
Cant Read [ /etc/named.conf ]
User : nhsacmvr
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
nhanhoa /
Delete
Unzip
Name
Size
Permission
Date
Action
checkdisk2
[ DIR ]
drwxr-xr-x
2026-07-26 09:09
check_all_mysql_db_sizes.sh
1.77
KB
-rwxr-xr-x
2025-07-24 18:31
check_avail_backup.sh
2.34
KB
-rwx------
2026-03-19 00:44
check_disk.sh
3.45
KB
-rwxr-xr-x
2025-10-27 01:19
check_disk.sh.1108902.2025-08-23@08:17:25~
8.85
KB
-rwxr-xr-x
2025-08-11 17:34
check_disk.sh.3561032.2025-08-12@00:34:45~
8.94
KB
-rwxr-xr-x
2025-07-25 01:10
check_disk.sh.531086.2025-10-27@08:19:41~
8.85
KB
-rwxr-xr-x
2025-08-23 01:17
check_disk_health.sh
2.87
KB
-rwx------
2026-03-13 03:59
checkbk.sh
1.84
KB
-rwx------
2025-12-29 06:46
collect_cpanel_full_info.sh
5.38
KB
-rwx------
2026-01-29 03:47
get_the_domains.sh
398
B
-rwx------
2026-06-25 10:02
hosting_full.json
179.97
KB
-rw-------
2026-09-25 18:00
report-backup.sh
1.9
KB
-rwxr-xr-x
2025-05-24 03:57
sync_backup.sh
2.18
KB
-rwxr-xr-x
2026-04-09 01:39
Save
Rename
#!/bin/bash TELEGRAM_URL="https://api.telegram.org/bot930502709:AAFGj26bn-uB9UgsehnbGfSFz-FNTYR1mRU/sendMessage" CHAT_ID="-1001165435702" URLGGCHAT="https://chat.googleapis.com/v1/spaces/AAQADU6u7VQ/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=zXeFk3BSm4cxPXvyr14RmSBIj6OrfRdWyn4KiyH-iE8" IP=`curl ifconfig.me` localSize=`du -sh /backup/cpbackup/weekly/*` nfsSize=`du -sh /backup-nfs/cpbackup/weekly/*` accountNumber=`/usr/sbin/whmapi1 --output=jsonpretty get_current_users_count | /usr/bin/python2 -c "import sys, json; print json.load(sys.stdin)['data']['users']"` localBkLatest=`find /backup/cpbackup/weekly/ -maxdepth 1 -type d | sort -g -r | head -1` nfsBkLatest=`find /backup-nfs/cpbackup/weekly/ -maxdepth 1 -type d | sort -g -r | head -1` countLocalBackupFiles=`ls $localBkLatest/accounts/*.tar.gz | wc -l` countNFSBackupFiles=`ls $nfsBkLatest/accounts/*.tar.gz | wc -l` hostname=`hostname` freenasQuota=`df -h | grep "/backup-nfs" | awk '{print $2}'` diskUsed=`df -h | grep "/backup-nfs" | awk '{print $3}'` diskAvail=`df -h | grep "/backup-nfs" | awk '{print $4}'` diskUsePercent=`df -h | grep "/backup-nfs" | awk '{print $5}'` mountedOn=`df -h | grep "/backup-nfs" | awk '{print $6}'` message=" IP address: $IP Hostname: $hostname Accounts: $accountNumber --- Local Report: Path: $localBkLatest Files: $countLocalBackupFiles $localSize --- NFS Report: Path: $nfsBkLatest Files: $countNFSBackupFiles $nfsSize --- NFS Filesystem Report: Quota: $freenasQuota Used: $diskUsed Avail: $diskAvail Use%: $diskUsePercent Mounted on: $mountedOn " curl -X POST $TELEGRAM_URL \ -H "Content-Type: application/x-www-form-urlencoded; charset=utf-8" \ --data-urlencode "text=$message" \ --data-urlencode "chat_id=$CHAT_ID" \ --data-urlencode "disable_web_page_preview=true" \ --data-urlencode "parse_mode=markdown" curl -s -X POST "$URLGGCHAT" -H 'Content-Type: application/json' -d "{\"text\": \"$message\"}" > /dev/null