Fix DAV header match. Applied patch by grutz
git-svn-id: file:///home/svn/framework3/trunk@6610 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
fe463072d6
commit
36a21436ff
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue