change error message

git-svn-id: file:///home/svn/framework3/trunk@9703 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-07-07 01:34:11 +00:00
parent d84c519678
commit dfce4901fe
2 changed files with 2 additions and 2 deletions

View File

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

View File

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