Created
June 12, 2021 13:25
-
-
Save ifau/0819ba7fa8c24b8b747f33bbed4173c2 to your computer and use it in GitHub Desktop.
Get admin rights in radio-t chat (macOS Telegram app exploit)
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" | |
keystroke "F" using {shift down, command down} | |
delay 0.8 | |
keystroke "radio_t_chat" | |
delay 0.8 | |
key down return | |
delay 0.8 | |
keystroke "wtf?" | |
key down return | |
end tell' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment