Fix DAV header match. Applied patch by grutz

git-svn-id: file:///home/svn/framework3/trunk@6610 4d416f70-5f16-0410-b530-b9f4589650da
unstable
et 2009-06-02 04:43:57 +00:00
parent fe463072d6
commit 36a21436ff
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Metasploit3 < Msf::Auxiliary
tserver = res.headers['Server']
if (res.headers['DAV'] == '1, 2') and (res.headers['MS-Author-Via'] == 'DAV')
if (res.headers['DAV'] == '1, 2') and (res.headers['MS-Author-Via'].match('DAV'))
wdtype = 'WEBDAV'
if res.headers['X-MSDAVEXT']
wdtype = 'SHAREPOINT DAV'