mvrozanti / RAT-via-Telegram

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

Does not run in console #65

Closed thevalo closed 5 years ago

thevalo commented 5 years ago

I right click on RATAttack.py and click 'Edit with IDLE', it opens Py editor. Then I run module by F5 and opens python shell. Script is running. However, when I try to open via console py RATAttack.py or pyw then it throws an error:

line 479 exec(command in globals()) SyntaxError: unqualified exec is not allowed in function 'handle' it contains a nested function with free variables

Why this would happen?

thevalo commented 5 years ago

Problem fixed. The problem was py v2.7, instead, I had to uninstall it, install 3.7.3 (latest to the date) and now it works.