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:12:12 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502200f195854d15bbde9bb66d5916c643f396366fe96af222c4228623da041fc69e6022100898f0c22aca41c5f2a8935c9f7d01b890f8f24347ac70261c091de682424237a:922c64590222798bb761d5b6d8e72950
|