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
|