NameError undefined local variable or method output - fixed

unstable
nmonkee 2012-12-17 19:34:36 +00:00
parent 36bcc1f7f5
commit 37f7122006
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class Metasploit4 < Msf::Auxiliary
return return
elsif res.body =~ /faultstring/ elsif res.body =~ /faultstring/
error = res.body.scan(%r{<faultstring>(.*?)</faultstring>}).flatten error = res.body.scan(%r{<faultstring>(.*?)</faultstring>}).flatten
0.upto(output.length-1) do |i| 0.upto(error.length-1) do |i|
print_error("[SAP] #{ip}:#{rport} - error #{error[i]}") print_error("[SAP] #{ip}:#{rport} - error #{error[i]}")
end end
return return