Check against sender ID
This addresses a security vulnerability in the userbot.
This commit is contained in:
parent
1fc9329259
commit
d55af1b501
2
install
2
install
@ -5,6 +5,7 @@ mkconfig(){
|
||||
echo "Please get your credentials from https://my.telegram.org."
|
||||
read -p "App API ID (api_id): " api_id
|
||||
read -p "App API hash (api_hash): " api_hash
|
||||
read -p "Your user ID: " myid
|
||||
read -p "Do you wish to use a log chat? (y/n): " logrpl
|
||||
if [ "$logrpl" = "y" ]
|
||||
then
|
||||
@ -14,6 +15,7 @@ mkconfig(){
|
||||
fi
|
||||
echo "api_id = $api_id" >> config.py
|
||||
echo "api_hash = '$api_hash'" >> config.py
|
||||
echo "myid = $myid" >> config.py
|
||||
echo "logchat = $logchat" >> config.py
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user