Skip to content

Instantly share code, notes, and snippets.

@ifau
ifau / run.sh
Created June 12, 2021 13:25
Get admin rights in radio-t chat (macOS Telegram app exploit)
# 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"