remove telegram bot release spawn ability as it was abused

This commit is contained in:
PizzaG 2026-08-13 00:36:57 -05:00
commit 39c3e0cd3a
11 changed files with 1 additions and 582 deletions

View file

@ -44,7 +44,7 @@ PRODUCT_SOONG_NAMESPACES += \
[A-Team_Custom_APN] [A-Team_Custom_APN]
else else
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
[Default_APN] [ROM_Default_APN]
endif endif
# A-Team Rom Apps # A-Team Rom Apps

View file

@ -1,113 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team Moto-Common Bot Message
#
# Bot Message
bot_message() {
expect - <<_END_EXPECT
set timeout 360 ; # set timeout to 6 minutes
spawn sudo ./Telegram_Bots/Telegram_Bot-$UPLOAD_DEVICE_NAME.sh "
Hello Fellow A-Team Members,
📱 --->> New Rom Released On $SERVICE 📱
$ROM_ZIP_NAME $MAJOR_VERSION.$MINOR_VERSION | UNOFFICIAL
📱 Moto Device Codename: $UPLOAD_DEVICE_NAME
📅 Build Date: $BUILD_DATE
🔄 Android: $UPLOAD_ANDROID_VERSION
📀 Build Type: $UPLOAD_BUILD_TYPE
🔐 SeLinux: Permissive | Enforcing
📀 A-Team Version: $UPLOAD_INTERNAL_VERSION
👨‍💻 Maintainer: $MAINTAINER
• A-Team Custom Rom Installer Features
-3 Custom Recovery Options
-3 Root Options
-Enable / Disable Encryption Option
-Recovery Installer
-ADB Sideload Compatible
-Linux Installer
-Windows Installer
• Rom Installation
*WILL WIPE DATA*
-From Recovery
-Transfer Rom Zip To External SD Card
-Format Data From Recovery(yes option)
-Install Rom Zip
OR
-From ADB Sideload
-Ensure ADB Installed And Working
-Open Terminal In Rom Location
-Run Command:
adb shell twrp format data
adb sideload $UPLOAD_ROM_NAME
OR
-From Linux
-Extract Rom Zip
-Run .sh file To Flash Device From Linux
OR
-From Windows
-Extract Rom Zip
-Run .bat File To Flash Device From Windows
-After Rom Installation And Device Boots,
-Complete Initial Setup
-Magisk Will Auto Open And Direct Install
-Device Will Auto Reboot
-Once Rebooted And Unlocked, A-Team Setup Will Run
-Reboot Once A-Team Setup Is Complete
-🥸Done!!👍😁
• Rom Download Link
- $DOWNLOAD_LINK
• A-Team Changelog:
-$CHANGELOG
• Known Rom Bugs:
-$BUGS
• Developer Donate Links
$DONATE_LINKS
"
expect {
"assword" {
send "$SUDO_PASS\r"
set timeout -1 ; # remove timeout for the rest of the process
exp_continue
}
timeout {
puts "Timeout Occurred While Waiting For Password Prompt."
exit 1
}
eof {
puts "End Of File Reached."
}
}
_END_EXPECT
}
bot_message

View file

@ -1,108 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team Moto-Common Bot Message
#
# Bot Message
bot_message() {
expect - <<_END_EXPECT
set timeout 360 ; # set timeout to 6 minutes
spawn sudo ./Telegram_Bots/Telegram_Bot-$UPLOAD_DEVICE_NAME.sh "
Hello Fellow A-Team Members,
📱 --->> New Rom Released On $SERVICE 📱
$ROM_ZIP_NAME $MAJOR_VERSION.$MINOR_VERSION | UNOFFICIAL
📱 Moto Device Codename: $UPLOAD_DEVICE_NAME
📅 Build Date: $BUILD_DATE
🔄 Android: $UPLOAD_ANDROID_VERSION
📀 Build Type: $UPLOAD_BUILD_TYPE
🔐 SeLinux: Permissive | Enforcing
📀 A-Team Version: $UPLOAD_INTERNAL_VERSION
👨‍💻 Maintainer: $MAINTAINER
• A-Team Custom Rom Installer Features
-Recovery Installer
-ADB Sideload Compatible
-Linux Installer
-Windows Installer
• Rom Installation
*WILL WIPE DATA*
-From Recovery
-Transfer Rom Zip To External SD Card
-Format Data From Recovery(yes option)
-Install Rom Zip
OR
-From ADB Sideload
-Ensure ADB Installed And Working
-Open Terminal In Rom Location
-Run Command:
adb shell twrp format data
adb sideload $UPLOAD_ROM_NAME
OR
-From Linux
-Extract Rom Zip
-Run .sh file To Flash Device From Linux
OR
-From Windows
-Extract Rom Zip
-Run .bat File To Flash Device From Windows
-After Rom Installation And Device Boots,
-Open Magisk Manager
-Select Magisk Direct Install
-Reboot
-🥸Done!!👍😁
• Rom Download Link
- https://sourceforge.net/projects/a-team-rom-downloads/files/$UPLOAD_DEVICE_NAME/$UPLOAD_ROM_NAME
• A-Team Changelog:
-$CHANGELOG
• Known Rom Bugs:
-$BUGS
• Developer Donate Links
$DONATE_LINKS
"
expect {
"assword" {
send "$SUDO_PASS\r"
set timeout -1 ; # remove timeout for the rest of the process
exp_continue
}
timeout {
puts "Timeout Occurred While Waiting For Password Prompt."
exit 1
}
eof {
puts "End Of File Reached."
}
}
_END_EXPECT
}
bot_message

View file

@ -1,45 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team Moto-Common Telegram Notification Bot Addon
#
# Bot Version: 0.05"
# Bot Update Date: 12-28-2023"
# Bot Creation Date: 12-2-2025"
#
# Telegram Bot Variables - **User Adaptable**
export CHANNEL_ID='-1001881525724'
export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4'
# Device Specific Thread Topic Variables - **User Adaptable**
export FOGO_THREAD_ID='34693'
# if the first argument is "-h" for help.
# display the usage information
if [ "$1" == "-h" ]; then
echo "Usage: `basename $0` \"text message\""
exit 0
fi
# Warn if the first argument is empty.
if [ -z "$1" ]; then
echo "Add message text as the second argument"
exit 0
fi
# Warn if more than one argument is passed to the script.
if [ "$#" -ne 1 ]; then
echo "You can pass only one argument. For string with spaces, put it on quotes"
exit 0
fi
# send a POST request to Telegram's API
# The '-s' = "silent" mode
# redirect outputs to /dev/null
curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$FOGO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API.

View file

@ -1,45 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team Moto-Common Telegram Notification Bot Addon
#
# Bot Version: 0.05"
# Bot Update Date: 12-28-2023"
# Bot Creation Date: 12-2-2025"
#
# Telegram Bot Variables - **User Adaptable**
export CHANNEL_ID='-1001881525724'
export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4'
# Device Specific Thread Topic Variables - **User Adaptable**
export FOGO_THREAD_ID='34693'
# if the first argument is "-h" for help.
# display the usage information
if [ "$1" == "-h" ]; then
echo "Usage: `basename $0` \"text message\""
exit 0
fi
# Warn if the first argument is empty.
if [ -z "$1" ]; then
echo "Add message text as the second argument"
exit 0
fi
# Warn if more than one argument is passed to the script.
if [ "$#" -ne 1 ]; then
echo "You can pass only one argument. For string with spaces, put it on quotes"
exit 0
fi
# send a POST request to Telegram's API
# The '-s' = "silent" mode
# redirect outputs to /dev/null
curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$FOGO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API.

View file

@ -1,45 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team Moto-Common Telegram Notification Bot Addon
#
# Bot Version: 0.05"
# Bot Update Date: 12-28-2023"
# Bot Creation Date: 12-2-2025"
#
# Telegram Bot Variables - **User Adaptable**
export CHANNEL_ID='-1001881525724'
export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4'
# Device Specific Thread Topic Variables - **User Adaptable**
export FOGO_THREAD_ID='34693'
# if the first argument is "-h" for help.
# display the usage information
if [ "$1" == "-h" ]; then
echo "Usage: `basename $0` \"text message\""
exit 0
fi
# Warn if the first argument is empty.
if [ -z "$1" ]; then
echo "Add message text as the second argument"
exit 0
fi
# Warn if more than one argument is passed to the script.
if [ "$#" -ne 1 ]; then
echo "You can pass only one argument. For string with spaces, put it on quotes"
exit 0
fi
# send a POST request to Telegram's API
# The '-s' = "silent" mode
# redirect outputs to /dev/null
curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$FOGO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API.

View file

@ -1,45 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team GSI Telegram Notification Bot Addon
#
# Bot Version: 0.04"
# Bot Update Date: 12-28-2023"
# Bot Creation Date: 3-9-2025"
#
# Telegram Bot Variables - **User Adaptable**
export CHANNEL_ID='-1001881525724'
export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4'
# Device Specific Thread Topic Variables - **User Adaptable**
export GSI_THREAD_ID='76621'
# if the first argument is "-h" for help.
# display the usage information
if [ "$1" == "-h" ]; then
echo "Usage: `basename $0` \"text message\""
exit 0
fi
# Warn if the first argument is empty.
if [ -z "$1" ]; then
echo "Add message text as the second argument"
exit 0
fi
# Warn if more than one argument is passed to the script.
if [ "$#" -ne 1 ]; then
echo "You can pass only one argument. For string with spaces, put it on quotes"
exit 0
fi
# send a POST request to Telegram's API
# The '-s' = "silent" mode
# redirect outputs to /dev/null
curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$GSI_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API.

View file

@ -1,45 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team Moto-Common Telegram Notification Bot Addon
#
# Bot Version: 0.05"
# Bot Update Date: 12-28-2023"
# Bot Creation Date: 12-28-2023"
#
# Telegram Bot Variables - **User Adaptable**
export CHANNEL_ID=''
export BOT_TOKEN=''
# Device Specific Thread Topic Variables - **User Adaptable**
export GENEVN_THREAD_ID=''
# if the first argument is "-h" for help.
# display the usage information
if [ "$1" == "-h" ]; then
echo "Usage: `basename $0` \"text message\""
exit 0
fi
# Warn if the first argument is empty.
if [ -z "$1" ]; then
echo "Add message text as the second argument"
exit 0
fi
# Warn if more than one argument is passed to the script.
if [ "$#" -ne 1 ]; then
echo "You can pass only one argument. For string with spaces, put it on quotes"
exit 0
fi
# send a POST request to Telegram's API
# The '-s' = "silent" mode
# redirect outputs to /dev/null
curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$GENEVN_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API.

View file

@ -1,45 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team Moto-Common Telegram Notification Bot Addon
#
# Bot Version: 0.04"
# Bot Update Date: 12-28-2023"
# Bot Creation Date: 12-28-2023"
#
# Telegram Bot Variables - **User Adaptable**
export CHANNEL_ID='-1001881525724'
export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4'
# Device Specific Thread Topic Variables - **User Adaptable**
export MILANF_THREAD_ID='35'
# if the first argument is "-h" for help.
# display the usage information
if [ "$1" == "-h" ]; then
echo "Usage: `basename $0` \"text message\""
exit 0
fi
# Warn if the first argument is empty.
if [ -z "$1" ]; then
echo "Add message text as the second argument"
exit 0
fi
# Warn if more than one argument is passed to the script.
if [ "$#" -ne 1 ]; then
echo "You can pass only one argument. For string with spaces, put it on quotes"
exit 0
fi
# send a POST request to Telegram's API
# The '-s' = "silent" mode
# redirect outputs to /dev/null
curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$MILANF_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API.

View file

@ -1,45 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team Moto-Common Telegram Notification Bot Addon
#
# Bot Version: 0.04"
# Bot Update Date: 12-28-2023"
# Bot Creation Date: 11-1-2025"
#
# Telegram Bot Variables - **User Adaptable**
export CHANNEL_ID='-1001881525724'
export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4'
# Device Specific Thread Topic Variables - **User Adaptable**
export RTWO_THREAD_ID='95794'
# if the first argument is "-h" for help.
# display the usage information
if [ "$1" == "-h" ]; then
echo "Usage: `basename $0` \"text message\""
exit 0
fi
# Warn if the first argument is empty.
if [ -z "$1" ]; then
echo "Add message text as the second argument"
exit 0
fi
# Warn if more than one argument is passed to the script.
if [ "$#" -ne 1 ]; then
echo "You can pass only one argument. For string with spaces, put it on quotes"
exit 0
fi
# send a POST request to Telegram's API
# The '-s' = "silent" mode
# redirect outputs to /dev/null
curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$RTWO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API.

View file

@ -1,45 +0,0 @@
#!/bin/bash
#
# Copyright 2019-Present A-Team Digital Solutions
#
# A-Team Moto-Common Telegram Notification Bot Addon
#
# Bot Version: 0.04"
# Bot Update Date: 12-28-2023"
# Bot Creation Date: 11-1-2025"
#
# Telegram Bot Variables - **User Adaptable**
export CHANNEL_ID='-1001881525724'
export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4'
# Device Specific Thread Topic Variables - **User Adaptable**
export RTWO_THREAD_ID='95794'
# if the first argument is "-h" for help.
# display the usage information
if [ "$1" == "-h" ]; then
echo "Usage: `basename $0` \"text message\""
exit 0
fi
# Warn if the first argument is empty.
if [ -z "$1" ]; then
echo "Add message text as the second argument"
exit 0
fi
# Warn if more than one argument is passed to the script.
if [ "$#" -ne 1 ]; then
echo "You can pass only one argument. For string with spaces, put it on quotes"
exit 0
fi
# send a POST request to Telegram's API
# The '-s' = "silent" mode
# redirect outputs to /dev/null
curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$RTWO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API.