don't log plaintext passwords
git-svn-id: file:///home/svn/framework3/trunk@10422 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4fd054476c
commit
7a58e611e6
|
@ -118,7 +118,11 @@ module Exploit::Remote::SMTPDeliver
|
||||||
|
|
||||||
def raw_send_recv(cmd, nsock=self.sock)
|
def raw_send_recv(cmd, nsock=self.sock)
|
||||||
return false if not nsock
|
return false if not nsock
|
||||||
print_verbose("C: #{cmd.strip}")
|
if cmd =~ /AUTH PLAIN/
|
||||||
|
print_verbose("C: AUTH PLAIN ...")
|
||||||
|
else
|
||||||
|
print_verbose("C: #{cmd.strip}")
|
||||||
|
end
|
||||||
nsock.put(cmd)
|
nsock.put(cmd)
|
||||||
res = nsock.get_once
|
res = nsock.get_once
|
||||||
print_verbose("S: #{res.strip}")
|
print_verbose("S: #{res.strip}")
|
||||||
|
|
Loading…
Reference in New Issue