mindnetcombr
10-26-2004, 11:45 PM
Hello,
I have one reseller account with WHM/cPanel. In my website, I offer to all my customers a control panel to view bills, access especial files, get support etc.
This work fine, but all customers need to use two passwords: one in cPanel and another to website control panel (in my site, writed in php).
I know how-to integrate this, just need the hash password stored in cPanel, when a user try to login in website, my script transform the password in hash and compare with hash in cPanel.
Im write my own application to create, delete, suspend and unsuspend accounts in WHM, I don't use modernbill or others softwares.
Anyone kwow how (in PHP, Perl etc) get the password in cPanel/WHM ? I know this password is encrypted, but I think all passwords are stored in MD5 HASH, or another format.
It's possible ? Or someone have a tip to integrate the login of cPanel with one external script ?
thank, my english is poor.
Alvaro - Rio de Janeiro - BRASIL
I have one reseller account with WHM/cPanel. In my website, I offer to all my customers a control panel to view bills, access especial files, get support etc.
This work fine, but all customers need to use two passwords: one in cPanel and another to website control panel (in my site, writed in php).
I know how-to integrate this, just need the hash password stored in cPanel, when a user try to login in website, my script transform the password in hash and compare with hash in cPanel.
Im write my own application to create, delete, suspend and unsuspend accounts in WHM, I don't use modernbill or others softwares.
Anyone kwow how (in PHP, Perl etc) get the password in cPanel/WHM ? I know this password is encrypted, but I think all passwords are stored in MD5 HASH, or another format.
It's possible ? Or someone have a tip to integrate the login of cPanel with one external script ?
thank, my english is poor.
Alvaro - Rio de Janeiro - BRASIL
