Use the right failure reason
parent
64e8956319
commit
c532d4307a
|
@ -97,7 +97,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
version = tns_version
|
||||
if (not version)
|
||||
fail_with(Exploit::Failure::Unknown, "Unable to detect the Oracle version!")
|
||||
fail_with(Exploit::Failure::NoTarget, "Unable to detect the Oracle version!")
|
||||
end
|
||||
|
||||
if (version =~ /32-bit Windows: Version 10\.2\.0\.1\.0/)
|
||||
|
|
Loading…
Reference in New Issue