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()
else:
self.settings[key1] = myutils.username_obfuscate(value1.getvalue())
else:
for key2, value2 in value1.items():
if not isinstance(value2, dict):
if key2.find('Username') == -1:
self.settings[key1][key2] = value2.getvalue()
else:
self.settings[key1][key2] = myutils.username_obfuscate(value2.getvalue())
else:
for key3, value3 in value2.items():
if not isinstance(value3, dict):
if key3.find('Username') == -1:
self.settings[key1][key2][key3] = value3.getvalue()
else:
self.settings[key1][key2][key3] = myutils.username_obfuscate(value3.getvalue())
else:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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
Nevermind, I have successfully obfuscated username, server, and passwords. :) Everything working flawlessly