1
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:
Tod Beardsley 2010-07-27 22:12:18 +00:00
parent 02167b8d16
commit 8daeccafa6

View File

@ -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']