Python script to recover a XOR encrypted password from Psi.
You can use the bookmarklet, just copy and type in browser address bar:
javascript:(function()%7Blet%20j%3Dprompt('JID')%0Alet%20ep%3Dprompt('Password')%0Alet%20p%3D''%0Afor(let%20n1%3D0%2Cn2%3D0%3B%20n1%3Cep.length%3B%20n1%2B%3D4)%20%7B%0A%20if(n1%2B4%20%3E%20ep.length)%20break%0A%20p%20%2B%3D%20String.fromCharCode(Number('0x'%2Bep.substr(n1%2C4))%20%5E%20j.charCodeAt(n2%2B%2B))%0A%20if(n2%3E%3Dj.length)%20n2%20%3D%200%0A%7D%0Aalert(p)%7D)()%3B
You can also use the following HTML page to restore a password: https://github.com/psi-plus/maintenance/blob/master/scripts/passwordrecovery.html