Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Find telegram IDs in rendered page #933

Open
Rafiot opened this issue Sep 2, 2024 · 0 comments
Open

[Feature] Find telegram IDs in rendered page #933

Rafiot opened this issue Sep 2, 2024 · 0 comments
Assignees

Comments

@Rafiot
Copy link
Member

Rafiot commented Sep 2, 2024

Is your feature request related to a problem? Please describe.

Capture example: https://lookyloo.circl.lu/tree/3cd25890-62a4-4f88-b431-822c7aed7b39

Content

            // Telegram bot config
            const chatId = '7437481970';
            const botId = 'bot7235710937:AAHv_r7LE4wnbu8VrTtsQ4CISJrgRhKCoVA';
            const telegramUrl = `https://api.telegram.org/${botId}/sendMessage`;

TODO: add identifier in har2tree parser (https://github.com/Lookyloo/har2tree/blob/cc6dfbf0aecb36f24d1f5955b7a43df45aded74b/har2tree/helper.py#L259) - regex: bot<digits>:<alphanum> (+ a few other characters to alphanum)

Probably same as there: https://core.telegram.org/bots/api#setwebhook

Only characters A-Z, a-z, 0-9, _ and - are allowed.

Describe the solution you'd like

Index that.

@Rafiot Rafiot self-assigned this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant