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:
parent
6325515ca7
commit
bf20ace73e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue