CPANEL VERSİYON SORGULAMA
cat /usr/local/cpanel/version
CPANEL SON GÜNCELLEME İLE İLGİLİ LOG
grep “11.64.0.24” /var/cpanel/updatelogs/*
CPANEL GÜNCELLEME LOGLARI
ls -l /var/cpanel/updatelogs/
cat /var/cpanel/updatelogs/update.1495678321.log
CPANEL LOG
ls -lah /var/log/
ls -lah /usr/local/cpanel/logs
ls -lah /usr/local/apache/logs
CPANEL KULLANICILARIN SIRALI LİSTESİ
ls -l /home | awk ‘{print $3}’ | sort | uniq
ya da
ls -l /home | awk ‘{print $3}’ | sort -u
ya da
find /home -printf “%u\n” | sort -u
CPANEL TÜM KULLANICILARIN İŞLEM LİSTESİ
top -c d2
CPANEL BELİRLİ BİR KULLANICININ İŞLEM LİSTESİ
top -c d2 -u root
CPANEL ERROR LOG
tail -500 /usr/local/cpanel/logs/error_log
grep “cpsrvd.pl” /usr/local/cpanel/logs/error_log | tail -500
grep ‘2015-10-31’ /usr/local/cpanel/logs/error_log
tail -500 /usr/local/apache/logs/error_log
CPANEL DEAMON BAŞARISIZ GİRİŞ DENEMELERİ -(LFD)
tail -500 /var/log/lfd.log
grep “IPADDRESS” /var/log/lfd.log
grep “^JUN 01” /var/log/lfd.log
zgrep “IPADDRESS” /var/log/lfd.log-20170611.gz
zgrep “^JUN 01” /var/log/lfd.log-20170611.gz
CPANEL LFD SERVİS STATUS LOG
grep “^\[2017-06-11” /var/log/chkservd.log
grep “Restarting lfd” /var/log/chkservd.log
CPANEL SSH GİRİŞ LOG
cat /var/log/secure
cat /var/log/secure | grep ‘refused connect’
cat /var/log/secure | grep ‘IPADDRESS’
CPANEL/WHM GİRİŞ DENEMELERİ LOG
tail -500 /usr/local/cpanel/logs/login_log
CPANEL ACCOUNT ACCESS LOG
tail -500 /usr/local/cpanel/logs/login_log
CPANEL ACCOUNT ACCESS LOG
ls -lah /home/zafer/access-logs/
tail -500 /home/zafer/access-logs/zafer.win
CPANEL GİRİŞ LOGLARI VE KULLANICI İŞLEMLERİ
tail -500 /usr/local/cpanel/logs/access_log
grep “zafer” /usr/local/cpanel/logs/access_log
CPANEL SUPHP APACHE MODULÜ DENETİM LOG
tail -50 /usr/local/apache/logs/suphp_log
CPANEL CPSRVD DEAMON GİRİŞ DENEMELERİ LOG
tail -50 /usr/local/cpanel/logs/login_log
CPANEL WORDPRESS HOSTİNG WP-LOGİN GİRİŞ SAYISI HIT
cat /usr/local/apache/domlogs/zafer/zafer.win | grep “wp-login.php” | wc -l
CPANEL WORDPRESS HOSTİNG WP-LOGİN GİRİŞ DENEMELERİ
cat /usr/local/apache/domlogs/zafer/zafer.win | grep “POST .*wp-login.php” | wc -l
CPANEL WORDPRESS HOSTİNG WP-LOGİN GİRİŞ DENEMELERİNİ MAİL OLARAK ATABİLMEK İÇİN
egrep “POST .*wp-login.php” /usr/local/apache/domlogs/zafer/zafer.win | awk ‘{print $1,$4,$5,$6,$7,substr($0, index($0,$12))}’ | awk ‘{print $1}’ | sort -n | uniq -c | sort -n | sed ‘s/[ ]*//’ | mail -s “Report” zafer@zafer.win
CPANEL MYSQL LOG
ls -lah /var/lib/mysql
İlk Yorumu Siz Yapın