nuclei-templates/http/exposures/tokens/facebook/facebook-token.yaml

27 lines
878 B
YAML
Raw Normal View History

2023-07-14 11:42:53 +00:00
id: facebook-token
2023-07-04 09:09:14 +00:00
info:
2023-07-14 11:42:53 +00:00
name: Facebook API Token
2023-07-04 09:09:14 +00:00
author: DhiyaneshDK
severity: info
reference:
2023-07-14 11:42:53 +00:00
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/facebook.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/facebook.go
2023-07-04 09:09:14 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2023-07-14 11:42:53 +00:00
tags: facebook,exposure,tokens
2023-07-04 09:09:14 +00:00
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
2023-10-14 11:27:55 +00:00
- (?i)(?:facebook)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 490a0046304402204e3bfd126732b58218029a246773aafd30867498b81d88d94835e406c88c01df02200ab092c8a47993769495f6507312a5baebd9024dde9f1c26ba838f8aeb737897:922c64590222798bb761d5b6d8e72950