Add missing return, thanks bperry!
parent
9392e48b72
commit
f7ff840ef0
|
@ -70,6 +70,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
|
|
||||||
unless res && res.body.to_s.index("Computer model")
|
unless res && res.body.to_s.index("Computer model")
|
||||||
vprint_error("#{ip}:#{rport} - AMT service does not appear to be vulnerable")
|
vprint_error("#{ip}:#{rport} - AMT service does not appear to be vulnerable")
|
||||||
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
proof = res.body.to_s
|
proof = res.body.to_s
|
||||||
|
|
Loading…
Reference in New Issue