Login Share with WHM.AutoPilot v2 would be really useful.
I have found WHM.AutoPilot v2 password decryption method code at the C*rber*s forum.
PHP Code:
Interface with WHMAutoPilot v2 for the login details
function getRemoteUserId() {
if(empty($this->remote_db))
return false;
include_once("../WHMAP/inc/client_functions.php");
$username = $this->getParam("username");
$password = $this->getParam("password");
$sql = sprintf("SELECT u.uid, u.password ".
"FROM user AS u WHERE u.username = %s",
$this->remote_db->escape($username));
$res = $this->remote_db->query($sql);
if ($this->remote_db->num_rows($res) && ($row = $this->remote_db->grab_first_row($res)))
{
$decodepass = clogin_d(base64_decode($row['password']));
if ($password == $decodepass)
{
return $row['uid'];
exit;
} else {
return false;