mvrozanti / RAT-via-Telegram

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

KeyError: 'RAT_TOKEN' #41

Closed Ubop0202 closed 5 years ago

Ubop0202 commented 6 years ago

Hi guys, need a help! When i run python RATAttack.py, i have this errors:

python RATAttack.py Traceback (most recent call last): File "RATAttack.py", line 35, in token = os.environ['RAT_TOKEN'] #you can set your environment variable as well File "C:\Python27\lib\os.py", line 425, in getitem return self.data[key.upper()] KeyError: 'RAT_TOKEN'

so my telegram bot does not respond :( sos, pls help

X3eRo0 commented 6 years ago

This issue is already solved

Ubop0202 commented 6 years ago

token = os.environ['RAT_TOKEN']

Comment # helped me

Ubop0202 commented 6 years ago

and another question sir, for the chat id, is it possible to use my own id, not group id?

mvrozanti commented 6 years ago

@Ubop0202 I don't understand the question. You can't choose an ID, it's assigned to you from Telegram.