KDE Pasword Obfuscation
Friday, February 1, 2008 8:55:28 PM
Password=[some unreadable non-letter ASCII]
How can I decrypt this? Obviously there must be some simple obfuscation at work. Googling around a bit and looking through Kopete's source I found the function that did this obfuscation: KStringHandler::obscure.
Looking at it's source it's quite obvious how to un-obfuscate the password:
- Open kopeterc in a hex editor
- Look for the "Password=" string. The following bytes are your password.
- Realize that these are three-byte chunks: [EF][BE][XX]. The first two bytes stay always the same.
- Subtract each third byte from 0x1001F. This will give you a two byte value (0xFFXX)
- strip off the leading 0xFF
- Look up the remaining byte in an ASCII chart
- repeat steps 4-6
Obviously this algorithm won't work for Unicode strings. If you should find time to write a program to do this, just write a wrapper for the obscure() function. However, if you don't have time or skills to do this, do it by hand as laid out above.
[I document this here because I already forgot how to do this once]







Unregistered user # Wednesday, April 30, 2008 10:14:56 PM
Unregistered user # Friday, April 17, 2009 8:03:06 PM
Unregistered user # Sunday, May 24, 2009 4:54:29 PM
Unregistered user # Tuesday, October 13, 2009 10:47:22 PM
Unregistered user # Saturday, July 31, 2010 10:27:15 AM