mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
Changing logic for the VRFY test.
git-svn-id: file:///home/svn/framework3/trunk@9940 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
02167b8d16
commit
8daeccafa6
@ -86,7 +86,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||
begin
|
||||
cmd = 'VRFY' + " " + "root" + "\r\n"
|
||||
smtp_send(cmd,!@connected)
|
||||
if (@result.match(%r{Cannot}).nil?) or (@result.match(%r{recognized}).nil?)
|
||||
unless (@result.match(%r{Cannot}).nil?) or (@result.match(%r{recognized}).nil?)
|
||||
print_status("VRFY command disabled") if datastore['VERBOSE']
|
||||
else
|
||||
print_status("VRFY command enabled") if datastore['VERBOSE']
|
||||
|
Loading…
Reference in New Issue
Block a user