Google

Cyb3r Drag0nz Team Shell

Server : Apache
System : Linux server1.cbinetwhm.bi 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64
User : fenacobu (1017)
PHP Version : 8.1.34
Disable Functions : NONE
Current Directory : /opt/
Directory Status: Not Writeable | Document Root: Writeable

Upload File







Viewing: //opt/disk9.sh

#!/bin/bash
host=`hostname`
DIRLIST=(/home /root / )
for dir in "${DIRLIST[@]}"
do
  tst=`df $dir | tail --lines=+2 | sed s/%//g | awk '{ if($5 > 10) print $5;}'`
  if [ "$tst" != "" ] ; then
     msg=`df -h $dir | head --lines=+2 | sed s/%//g| awk '{ if($5 > 10) print $6,"     ",$5;}'`
    (echo "Below Directory on $host has crossed the threshold limit of 90%. Please Take necessary action."; echo ; echo "$msg"; )| mail -s "Disk Space Alert on : $host" -r "root@server1.cbinetwhm.bi" "anthony@cbinet.net"
#    (echo "Below Directory on $host has crossed the threshold limit of 90%. Please Take necessary action."; echo ; echo "$msg"; )| mail -s "Disk Space Alert on : $host anthony@cbinet.net
fi

done

Cyb3r Drag0nz Team • Google Edition