diff --git a/CVE-2015-1770.lua b/CVE-2015-1770.lua index 414dd41..e0c2495 100644 --- a/CVE-2015-1770.lua +++ b/CVE-2015-1770.lua @@ -47,7 +47,7 @@ function doc_handler(t,verbose) local buffers = {} if z then for w in z:files() do - if string.find(w.filename,"/activeX/activeX%d+\.xml") then + if string.find(w.filename,"/activeX/activeX%d+%.xml") then f = z:open(w.filename); u = f:read("*all") --convert to lowercase @@ -89,4 +89,4 @@ function run() local t = f:read("*all") f:close() common(t,4,1) -end \ No newline at end of file +end diff --git a/CVE-2015-2375.lua b/CVE-2015-2375.lua index c57a6b6..51302f7 100644 --- a/CVE-2015-2375.lua +++ b/CVE-2015-2375.lua @@ -46,7 +46,7 @@ function doc_handler(t,verbose) local buffers = {} if z then for w in z:files() do - if string.find(w.filename,"xl/tables/table%d+\.xml") then + if string.find(w.filename,"xl/tables/table%d+%.xml") then f = z:open(w.filename); u = f:read("*all") --convert to lowercase @@ -92,4 +92,4 @@ function run() local t = f:read("*all") f:close() common(t,4,1) -end \ No newline at end of file +end