change error message
git-svn-id: file:///home/svn/framework3/trunk@9703 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
d84c519678
commit
dfce4901fe
|
@ -114,7 +114,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
def exploit
|
||||
if not auto_target
|
||||
raise RuntimeError, 'The server is not running a vulnerable version of HTTPDX'
|
||||
raise RuntimeError, "The server doesn't appear to be running a vulnerable version of HTTPDX"
|
||||
end
|
||||
|
||||
uri = payload.encoded
|
||||
|
|
|
@ -167,7 +167,7 @@ For now, that will have to be done manually.
|
|||
|
||||
version = get_version
|
||||
if not version
|
||||
raise RuntimeError, 'The remote server is not running HTTPDX'
|
||||
raise RuntimeError, "The server doesn't appear to be running a vulnerable version of HTTPDX"
|
||||
end
|
||||
|
||||
re = Regexp.new(Regexp.escape(version)+' - ', true)
|
||||
|
|
Loading…
Reference in New Issue