totally noobd out on that one, thx

git-svn-id: file:///home/svn/framework3/trunk@13035 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake 2011-06-26 18:09:21 +00:00
parent 6325515ca7
commit bf20ace73e
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ class Metasploit3 < Msf::Exploit::Remote
second_result << buf if buf
# Check output for success
if buf !~ /(MAIL|RCPT|sh: |sh-[0-9]+)/
if second_result !~ /(MAIL|RCPT|sh: |sh-[0-9]+)/
print_error("Second result: #{second_result.inspect}")
raise RuntimeError, 'Something went wrong, perhaps this host is patched?'
end