Use the right failure reason

unstable
HD Moore 2012-07-10 00:26:14 -05:00
parent 64e8956319
commit c532d4307a
1 changed files with 1 additions and 1 deletions

View File

@ -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/)