Hello, I've had success with obfuscating usernames, and then deobbing them in the control panel..It even saves as the encrypted version in the ini file.
However, how on earth do I obfuscate two things at once? The passwords AND usernames?
I've tried adding two "for" statements, these:
for key1, value1 in self.entrydict.items():
if not isinstance(value1, dict): # shouldn't happen
if key1.find('Username') == -1:
self.settings[key1] = value1.getvalue()
self.settings[key1] = myutils.username_obfuscate(value1.getvalue())
for key2, value2 in value1.items():
if not isinstance(value2, dict):
if key2.find('Username') == -1:
self.settings[key1][key2] = value2.getvalue()
self.settings[key1][key2] = myutils.username_obfuscate(value2.getvalue())
for key3, value3 in value2.items():
if not isinstance(value3, dict):
if key3.find('Username') == -1:
self.settings[key1][key2][key3] = value3.getvalue()
self.settings[key1][key2][key3] = myutils.username_obfuscate(value3.getvalue())
pass # shouldn't happen
I tried copy and pasting two of those for statements, one with 'Password' and one with 'Username'
What am I doing wrong? The keylogger does not obfuscate the passwords if I have it obfuscating usernames..and visa versa, it only obfs one.
This is the error I get when running
<class 'zlib.error'> Exception in Tk callback
Function: <controlpanel.Command instance at 0x024FA760> (type: <type 'instance'>)
Traceback (innermost last):
File "Pmw\Pmw.pyc", line 1780, in __call__
File "controlpanel.pyc", line 306, in __call__
File "controlpanel.pyc", line 186, in __init__
File "myutils.pyc", line 32, in password_recover
<class 'zlib.error'>: Error -3 while decompressing data: incorrect header check
Nevermind, I have successfully obfuscated username, server, and passwords. :) Everything working flawlessly
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.