nuclei-templates/http/token-spray/api-telegram.yaml

31 lines
825 B
YAML
Raw Permalink Normal View History

2024-10-06 03:06:35 +00:00
id: api-telegram
info:
name: Telegram API Test
author: 0xpugal
severity: info
description: Telegram bot API token
reference:
- https://core.telegram.org/bots/api#making-requests
- https://github.com/streaak/keyhacks?tab=readme-ov-file#telegram-bot-api-token
metadata:
max-request: 1
tags: token-spray,telegram
self-contained: true
http:
- method: GET
path:
- "https://api.telegram.org/bot{{token}}/getMe"
matchers:
- type: word
part: body
words:
- '"id"'
- '"is_bot"'
- '"first_name:"'
- '"username"'
2024-10-07 15:02:38 +00:00
condition: and
2024-10-07 15:29:38 +00:00
# digest: 4a0a00473045022100ccf2af9d8f7e764930e94955f0b02e9fe593af015edbba6c20232370dd0594460220201c529069677f7995d757080a554368232510fa152ce21bbbd63ed5d8e9c6d5:922c64590222798bb761d5b6d8e72950