updated regex

patch-1
Prince Chaddha 2023-10-22 16:16:22 +05:30 committed by GitHub
parent e711fbf958
commit 5d508389e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

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