mysql> use cphulkd; mysql> select IP, BRUTETIME from brutes order by BRUTETIME; mysql> select IP, LOGINTIME FROM logins order by LOGINTIME; mysql> delete from brutes; mysql> delete from logins;
ERROR! daq_static library not found, go get it from http://www.snort.org/
1) check the following command which daq-modules-congif Output should be like this. /usr/bin/which: no daq-modules-congif in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) Then access the daq directory in our case. cd /usr/local/src/daq-2.0.6/ 2) use the following command export PATH=$PATH:/usr/local/bin 3) run the below command which…
VIRTFS consuming a lot of space ( cPanel )
cPanel & WHM uses VirtFS to provide a jailed shell environment for users who connect to a server via SSH. The jailed shell acts as a container for the user and does not allow the user to access other users’…
Ansible on Windows
We can now manage windows machine using Ansible. For that, we need to install the following setup in our windows machine. ===========1. Install Python-winrm to allow Ansible to connect to the Windows machines2. Upgrade to PowerShell 3.0+ to support Windows…
Maldet Installation
Run the following command in the Linux terminal. It will install the latest version of maldet in the server. ==================== root@testserver [~]# cd /usr/local/src/ && wget http://www.rfxn.com/downloads/maldetect-current.tar.gz && tar -xzvf maldetect-current.tar.gz && cd maldetect-* && sh install.sh ====================
Imunify poor protection status Error in cPanel
While getting the poor protection status error followed by the following warning “No events from ModSecurity for X days“ Please check the Apache error log for Mod Security error. ——– grep ModSec /usr/local/apache/logs/error_log ——– If the output of the Error…