mvrozanti / RAT-via-Telegram

Windows Remote Administration Tool via Telegram
MIT License
646 stars 347 forks source link

After setting chat_id the bot stops to response #48

Closed Dagdelo closed 5 years ago

Dagdelo commented 5 years ago

I get my chat_id, put in knows_ids list and after that the bots says: "DESKTOP-01: I'm up." DESKTOP-01 is my pc that are running the server, but i can't send nothing for him... What I'm doing wrong?

mvrozanti commented 5 years ago

i can't send nothing for him

How so? I'm gonna need more than that

Are you running with or without an interface on target computer?

Can you actually send messages and are they are received?

Dagdelo commented 5 years ago

image See: The bot says: I'm up! But when I send a message from the same computer as the server, or from the phone him don't respond.

mvrozanti commented 5 years ago

That is fairly strange. It outputs <Divide>PC.

Dagdelo commented 5 years ago

That is fairly strange. It outputs <Divide>PC.

It's because I typed the '/pc' on Telegram window. É porque eu escrevi '/pc' na janela do Telegram.

mvrozanti commented 5 years ago

I must ask, have you double-checked that chat_id is really your chat_id? It should respond if and only if the chat_id that talked to the bot is contained in the known_ids variable. If there are no known_ids then it should respond to anyone.

Dagdelo commented 5 years ago

Yeah. I double checked with @my_id_bot he answered the same id.

mvrozanti commented 5 years ago

I rarely work on this project anymore but I'd try and fiddle with the known_ids list if I were you

Dagdelo commented 5 years ago

The problem was that I had put the id as int not as string. After put as string worked as expected.

mvrozanti commented 5 years ago

Good idea, happy you solved it.