Current time: 11-28-2024, 03:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Shell] Decrypt Mailpasswords
Author Message
FraggDieb Offline
Member
***

Posts: 252
Joined: Feb 2008
Reputation: 0
Post: #11
RE: [Shell] Decrypt Mailpasswords
Hi Knut,

i know your post is far away but i hope u see my one Smile

I have to migrate my server very quickly and i wanted to use your script but it didnt work with every mailadress. Its a ispCP installation from RC3 upgraded till RC7. Your script shows me many PWs like this:
Domain MailAdr: [ XXXXXX@XXXXXX ] Passwort: [ G=???Y>4?!~??? ]
But some can decrypt very well. Can someone help me? Its very important!
04-08-2012 12:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #12
RE: [Shell] Decrypt Mailpasswords
(04-08-2012 12:20 PM)FraggDieb Wrote:  But some can decrypt very well. Can someone help me? Its very important!

if you regenerate all stuff you dont need any passwords:
http://isp-control.net/forum/thread-5610...ight=howto
04-08-2012 07:14 PM
Find all posts by this user Quote this message in a reply
FraggDieb Offline
Member
***

Posts: 252
Joined: Feb 2008
Reputation: 0
Post: #13
RE: [Shell] Decrypt Mailpasswords
The Problem is, that i have to migrate to an another webinterface Wink
04-08-2012 08:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #14
RE: [Shell] Decrypt Mailpasswords
(04-08-2012 08:53 PM)FraggDieb Wrote:  The Problem is, that i have to migrate to an another webinterface Wink

i am still also looking for a solution for this purpose ...
but it should work if you export all tables which are connected with this reseller ...
after that open each sql file and replace status ok w/ status toadd
also make sure that the reseller id is different as in the target system
import the sql files into ispcp database and run
/var/www/ispcp/engine/ispcp-rqst-mngr

now copy web and mailfolder (overwrite)

but I dont know how to migrate webmail settings and maybe webmail logins not working after that ... because of the dbKeys
(copy ispcp/gui/tools/webmail/data)
you have to change user and group permissions after that:
http://isp-control.net/forum/thread-5610...ight=howto
try w/ a virtual system like Vbox ... before migrating to real server
##edit##
but the best way is to migrate everything to a new server ...
(This post was last modified: 04-08-2012 09:36 PM by fulltilt.)
04-08-2012 09:09 PM
Find all posts by this user Quote this message in a reply
FraggDieb Offline
Member
***

Posts: 252
Joined: Feb 2008
Reputation: 0
Post: #15
RE: [Shell] Decrypt Mailpasswords
I think i didn't told you exactly what i mean Wink

I have to migrate ispCP Users to an non-ispCP-server. So i have to decrypt all the PWs.
I dont have another idea how i can migrate everything without resetting the passwords :X
04-08-2012 10:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #16
RE: [Shell] Decrypt Mailpasswords
Hi

the passwords were not encrypted before RC6 - so maybe your passwords are still unencrypted in the db table.
You can slightly change the script to see the stored password (as stored in the db). Then you will see if they are encrypted or not.

/J
04-09-2012 07:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)