Script to run on successful login Cpanel/WHM
Posted: 10 Aug 2011, 16:48
Hi. I would like ifis possible to run a script every time when a successfully login in whm/cpanel is detected. Why this?
I am running a verification between ip's (registration, ftp, cpanel to detect fraud accounts). So to take like arg $1 the ip logged into cPanel and my script is checking country code for last ftp access,ip from registration, for that account and if country is different to suspend, or to do something else with that account, automatically.
P.S Sorry for my bad English.
Regards
George B.
I am running a verification between ip's (registration, ftp, cpanel to detect fraud accounts). So to take like arg $1 the ip logged into cPanel and my script is checking country code for last ftp access,ip from registration, for that account and if country is different to suspend, or to do something else with that account, automatically.
P.S Sorry for my bad English.
Regards
George B.