nuclei-templates/http/exposures/files/ds-store-file.yaml

37 lines
921 B
YAML

id: ds-store-file
info:
name: Exposed DS_Store File
author: 0w4ys,pwnhxl
severity: info
reference:
- https://github.com/lijiejie/ds_store_exp
metadata:
max-request: 1
tags: exposure,files,ds_store,config
http:
- method: GET
path:
- "{{BaseURL}}/.DS_Store"
matchers-condition: and
matchers:
- type: dsl
dsl:
- "contains(body, '\0@\0')"
- "contains(hex_encode(body), '0000000142756431')"
condition: or
- type: dsl
dsl:
- 'status_code == 200'
- type: dsl
dsl:
- 'contains(to_lower(header), "accept-ranges: bytes")'
- 'contains(to_lower(header), "octet-stream")'
condition: or
# digest: 4a0a0047304502203d4b3b1f9f54f914110d628f162928afde89cc5dcc0ab62ec0b0793812ff16c8022100c8f92fc83216d4a8bb4d43eeb033daa94763ac49d66d794ef1cc6414b765ef19:922c64590222798bb761d5b6d8e72950