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

37 lines
921 B
YAML
Raw Normal View History

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