NameError undefined local variable or method output - fixed
parent
36bcc1f7f5
commit
37f7122006
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue