Hello, i'm trying to md5 passwords from the logs or at least omit them. I tried to alter the ssh.py auth_password function by casting the password value as an empty string but did not work. Any ideas?
Its a valid request. I think you are on the right track there though. You could even remove the getNS(packet[1:])[0] part entirely and just add some string "PASSWORD" to replace it.
Hello, i'm trying to md5 passwords from the logs or at least omit them. I tried to alter the ssh.py auth_password function by casting the password value as an empty string but did not work. Any ideas?
def auth_password(self, packet): """ Password authentication. Payload:: string password