Here is an EXAMPLE of the file..
/* IP or FQDN Of server, its best to use the IP */ $_config['ip'] = "XXX.XXX.XXX.XXX"; /* Root or the username of the reseller here, if * you use a reseller username, you will be * restricted to the rights that the reseller * has been granted within cPanel/WHM */ $_config['user'] = "root"; /* Password for user specified above. */ $_config['pass'] = 'XXXXXX'; //root pass /* Access Hash here, for remote control. If you * dont know how to get this. Just login to your * WHM backend > "Cluster/Remote Access" > "Remote * Access Key", and generate a new key if you dont * already have one */ $_config['hash'] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; /* This is needed for the remote information, such * as the server status, connections, configs, etc. * It is in the root directory of the downloaded ZIP * File. */ $_config['client'] = "http://XXX.XXX.XXX.XXX/~status/client.php"; /* This is where you specify the ports to check. To add * more ports, just add array values, to remove some, * remove the line that specifies the port/service. * Also modify the ports, if they are not defaulted to the * below values. */ $_config['checkPorts'] = array( "HTTPD" => 80, "SSH" => 22, "MySQL" => 3306, "POP3" => 110, "SMTP" => 25, "FTP" => 21 ); ?>
What im looking for here, is a safe way to encrypt these passwords and/or WHM hash... So that if someone hacks into the server that the site is on, they wont be able to see the WHM username/password/key.
Any ideas?


Sign In
Create Account


Back to top









