WHMCS is the most famous script used by major hosting companies. So in past there were many WHMCS security breach and exploit. The hosting company owners always want to protect their as well as clients data , so here we will teach you to hide the WHMCS license from the public. If you want to verfiy whether you hosting company is using a real WHMCS license you can check here
Solution to protect WHMCS License
Just copy and paste the below code into the configuration.php file.
if(isset($_GET['licensedebug'])) {
unset($_GET['licensedebug']);
exit(‘Contact support if you need to see this information’);
}
if(isset($_GET['forceremote'])) {
unset($_GET['forceremote']);
exit(‘Contact support if you need to see this information’);
}
if(isset($_GET['revokelocal'])) {
unset($_GET['revokelocal']);
exit(‘Contact support if you need to see this information’);
}