SOLVED mod_security2 being intermittent

Operating System & Version
CENTOS 8.3 kvm
cPanel & WHM Version
v94.0.5

forstnd

Registered
Feb 10, 2020
3
0
1
London
cPanel Access Level
Root Administrator
Hay All

I been asked to test mod_security before putting it on an production server, i installed it through Cpanel and wanted to test, to make sure it was fine.

I found an guide on digitalocean and used the test part where you create an simple database, the example script has code that can be use to do an inject attack,
when i pass the attack "' Or True -- ", the script works and i get no block messages or reports


using the same login.php script from digitalocean i uses sqlmap on kali to test an sql inject attack (blocked it no issues)


I am not sure if i am missing somthing



link to guide
 
Last edited by a moderator: