updated regex
parent
e711fbf958
commit
5d508389e8
|
@ -1,11 +1,11 @@
|
|||
id: office-documents-links
|
||||
|
||||
info:
|
||||
name: Office Documents links extractor
|
||||
name: Office Documents Links Extractor
|
||||
author: Herry
|
||||
severity: info
|
||||
description: Extract Office Documents links from web page body
|
||||
tags: docuemnts,config,exposure,files,office
|
||||
tags: documents,config,exposure,files,office
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
|
@ -16,7 +16,7 @@ requests:
|
|||
- type: regex
|
||||
part: body
|
||||
regex:
|
||||
- '(?:https?|ftp)://\S+\.(xlsx?|csv|pptx?|msg|rtf|pub|rtf|mdb|odp|ods|odt|doc|xls)'
|
||||
- '(?i)(?:https?|ftp)://[^\s?#]+\.((xlsx?|csv|pptx?|msg|rtf|pub|rtf|mdb|odp|ods|odt|doc|xls))([#?].*)?'
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
|
|
Loading…
Reference in New Issue