thewhiteh4t / seeker

Accurately Locate Smartphones using Social Engineering
MIT License
6.71k stars 1.62k forks source link

Telegram Bot issue (Problem solved) #464

Closed juniardoss closed 10 months ago

juniardoss commented 10 months ago

Screenshots Screenshot 2023-08-26 080725

"Unable send to Telegram bot" I already input "token:chatID"

Resousse commented 10 months ago

@juniardoss , Could you test this URL in your browser : https://api.telegram.org/bot{token}/getMe {token} should be replaced by the same token:chatId Example : https://api.telegram.org/bot12312312:xabcdbsfdlj/getMe

Do you retrieve your informations or is it an "unauthorized error"?

There was a bug in the way the error was displayed, I proposed a fix.

juniardoss commented 10 months ago

@juniardoss , Could you test this URL in your browser : https://api.telegram.org/bot{token}/getMe {token} should be replaced by the same token:chatId Example : https://api.telegram.org/bot12312312:xabcdbsfdlj/getMe

Do you retrieve your informations or is it an "unauthorized error"?

There was a bug in the way the error was displayed, I proposed a fix.

i retrieved my information and not showing "unauthorized error"

Resousse commented 10 months ago

ok, the token should be ok. The seeker parameters or envvariable is supposed to have 3 : column sign Have you appended the chatId ?

My last message was a bit wrong, the token is already something like 12312312:xabcdbsfdlj but the chatId (see detail here : https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659) must be appended to the token. So the token:chatId should be something like : 12312312:xabcdbsfdlj:088998888

juniardoss commented 10 months ago

ok, the token should be ok. The seeker parameters or envvariable is supposed to have 3 : column sign Have you appended the chatId ?

My last message was a bit wrong, the token is already something like 12312312:xabcdbsfdlj but the chatId (see detail here : https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659) must be appended to the token. So the token:chatId should be something like : 12312312:xabcdbsfdlj:088998888

Ok, thanks it worked

Screenshot 2023-08-26 202614