Kayako logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
arhost Offline
New Member
 
Posts: 21
Join Date: Apr 2004
Location: UK
Question Login Share -> WHM AP v2? - 14-11-2005, 04:19 PM

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
   
Reply With Quote
  (#2) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,829
Join Date: May 2003
14-11-2005, 05:42 PM

Hi,
It still seems to be using the WHMAP functions file, It would overcomplicate things because we do not want our clients to edit any file with LoginShare.

Would it be possible for you to contact WHMAP and send us the clogin_d function?

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#3) Old
arhost Offline
New Member
 
Posts: 21
Join Date: Apr 2004
Location: UK
14-11-2005, 08:24 PM

You got PM


Thanks.
   
Reply With Quote
  (#4) Old
EpicHosting Offline
New Member
 
Posts: 1
Join Date: Apr 2006
20-04-2006, 11:16 AM

Hello I have Just Bought Kayako. And I have WHM AP would you tell me what I would need to do inorder to have login share conected to Kayako and WHM AP
   
Reply With Quote
Reply

Tags
>, share, whm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
A word of advice using login share bear SupportSuite, eSupport and LiveResponse 2 23-11-2006 07:08 PM
Login Share -> ClientExec & XMB aventure Developers & Code 7 14-11-2005 07:54 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46