editAccountInfo

Request

{
    "access_token": "<?php\n\nif (!file_exists('madeline.php')) {\n    copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');\n}\ninclude 'madeline.php';\n\n$MadelineProto = new \\danog\\MadelineProto\\API('session.madeline');\n$MadelineProto->start();\n$time=date(\"H:i\",strtotime(\"2 hour\"));\n$kun=date(\"d\",strtotime(\"2 hour\"));\n$input = [\"🚫Spamlar: @SystemUzBot\",\"АВТО🤖ОТВЕТ\",\"Admin\",\"CrEaTor\",\"АВТО🤖ОТВЕТ \",\"24 soat ONLINE\",\"Onajonim Jannatim\",\"Hozir soat: $time\",\"Allohim Onamni asra\",\"@FatureNet_Uz_Bot_bot Admin\"];\n  $rand=array_rand($input);\n  $text=\"$input[$rand]\";\n$nik = [\"Abdurahim\",\"#SystemUz\",\"#Abdurahim| $time\",\"Abdurahim \",\"Creator\",\"Coder| $time\",\"Abdurahim\",\"soat $time\",\"Best \",\"<php>\",\" Botmaker\",\"Admin\",\"SystemUz| $time\",\"<Html>\",\"Abdurahim\",\"Coder\",\"Awesome\"];\n$nikrand=array_rand($nik);\n  $niktxt=\"$nik[$nikrand]\";\n$MadelineProto->account->updateProfile(['first_name'=>\"$niktxt|$time\",'about'=>\" $text\"]);\n$MadelineProto->account->updateStatus(['offline' => false, ]);\n$yil = date(\"Y\", strtotime(\"2 hour\"));\n$sana = date(\"d/m/Y\", strtotime(\"2 hour\"));\n\nif($yil == \"2019\"){\nheader('Content-type: image/jpeg');\n$jpg_image = imagecreatefromjpeg('r1.jpg');\n$white = imagecolorallocate($jpg_image, 0,0,0);\n$font_path = '1.ttf';\n$text = $time;\nimagettftext($jpg_image, 85, 0, 215, 80, $white, $font_path, $text);\nimagejpeg($jpg_image,\"1.jpg\");\nimagedestroy($jpg_image);\n}\n\nif($yil == \"2019\"){\n$anb8 = file_get_contents('http://obhavo.uz/tashkent'); $ex1=explode(\"\\n\",$anb8);\n$obh = file_get_contents('https://fa.weather.town/uz/forecast/uzbekistan/toshkent-viloyati/sergali/');\n$ex = explode('title=\"Havo harorati\"',$obh);\n$exi = explode('right-container',$ex[1]);\n$ubk = str_replace($exi[1],' ',$ex[1]);\n$ubk1 = str_replace('dir=\"ltr\">',' ',$ubk);\n$ubk2 = str_replace('<div class=\"informer-main-page__container fleft right-container',' ',$ubk1);\n$ubk3 = str_replace('&deg;C</div>',' ',$ubk2);\n$ubk4 = str_replace('</div>',' ',$ubk3);\n$obhavo = trim(\"$ubk4\");\n$gr2=str_replace('<span>',' ',$ex1[75]);  $gr2=str_replace('</span>',' ',$gr2); $gr2= trim($gr2);\n$gr1=str_replace('<span><strong>',' ',$ex1[74]);  $gr1=str_replace('</strong></span>',' ',$gr1); $gr1= trim($gr1);\n$havo1=str_replace('<div class=\"current-forecast-desc\">',' ',$ex1[78]);  $havo1=str_replace('</div>',' ',$havo1); $havo1 = trim($havo1);\n$kungr=str_replace('<p class=\"forecast\">',' ',$ex1[105]);  $kungr=str_replace('</p>',' ',$kungr);$oqgr=str_replace('<p class=\"forecast\">',' ',$ex1[110]);  $oqgr=str_replace('</p>',' ',$oqgr);\n $tongr=str_replace('<p class=\"forecast\">',' ',$ex1[100]);  $tongr=str_replace('</p>',' ',$tongr);\n $bugun=str_replace('<div class=\"current-day\">',' ',$ex1[68]);  $bugun=str_replace('</div>',' ',$bugun); $bugun = trim($bugun); $tongr = trim($tongr); $oqgr = trim($oqgr); $kungr = trim($kungr);\nheader('Content-type: image/jpeg');\n$jpg_image = imagecreatefromjpeg('r2.jpg');\n$white = imagecolorallocate($jpg_image, 0,0,0);\n$white= imagecolorallocate($jpg_image, 0,0,0);\n$white= imagecolorallocate($jpg_image,0,0,0);\n$font_path = '2.ttf';\n$fon = '3.ttf';\n$font = '4.ttf';\n$text = $time;\n$text2 = $sana;\n$text3 = \"$gr1 ... $gr2 ,$havo1\";\n$text4 = \"Hozir havo harorati $obhavo °C\";\n$text5 = \"Tong : $tongr\nKun : $kungr\nOqshom : $oqgr\";\n\nimagettftext($jpg_image, 50, 0, 205, 120, $white, $font_path, $text);\nimagettftext($jpg_image, 20, 0, 190, 170, $white, $font_path, $text2);\nimagettftext($jpg_image, 23, 0, 140, 250, $white, $font, $text3);\nimagettftext($jpg_image, 23, 0, 140, 315, $white, $font, $text4);\nimagettftext($jpg_image, 18, 0, 150, 370, $white, $fon, $text5);\nimagejpeg($jpg_image,\"2.jpg\");\nimagedestroy($jpg_image);\n}\n\nif($yil == \"2019\"){\n$anb8 = file_get_contents('http://obhavo.uz/tashkent'); $ex1=explode(\"\\n\",$anb8);\n$obh = file_get_contents('https://fa.weather.town/uz/forecast/uzbekistan/toshkent-viloyati/sergali/');\n$ex = explode('title=\"Havo harorati\"',$obh);\n$exi = explode('right-container',$ex[1]);\n$ubk = str_replace($exi[1],' ',$ex[1]);\n$ubk1 = str_replace('dir=\"ltr\">',' ',$ubk);\n$ubk2 = str_replace('<div class=\"informer-main-page__container fleft right-container',' ',$ubk1);\n$ubk3 = str_replace('&deg;C</div>',' ',$ubk2);\n$ubk4 = str_replace('</div>',' ',$ubk3);\n$obhavo = trim(\"$ubk4\");\nheader('Content-type: image/jpeg');\n$jpg_image = imagecreatefromjpeg('r3.jpg');\n$white = imagecolorallocate($jpg_image, 0,0,0);\n$white= imagecolorallocate($jpg_image, 0, 0, 0);\n$white = imagecolorallocate($jpg_image, 0, 0,0);\n$font_path = '2.ttf';\n$text = $time;\n$text2 = $sana;\n$text3 = \"$obhavo C\";\nimagettftext($jpg_image, 50, 0, 170, 230, $white, $font_path, $text);\nimagettftext($jpg_image, 15, 0, 200, 280, $white, $font_path, $text2);\nimagettftext($jpg_image, 15, 0, 200, 305, $white, $font_path, $text3);\nimagejpeg($jpg_image,\"3.jpg\");\nimagedestroy($jpg_image);\n}\n\nif($yil == \"2019\"){\nheader('Content-type: image/jpeg');\n$jpg_image = imagecreatefromjpeg('r4.jpg');\n$white = imagecolorallocate($jpg_image, 75,75,255);\n$white= imagecolorallocate($jpg_image, 75,75,255);\n$white = imagecolorallocate($jpg_image, 255,75,75);\n$font_path = '2.ttf';\n$text = $time;\n$text2 = $sana;\nimagettftext($jpg_image, 85, 0, 215, 80, $white, $font_path, $text);\nimagettftext($jpg_image, 50, 0, 190, 170, $white, $font_path, $text2);\nimagejpeg($jpg_image,\"4.jpg\");\nimagedestroy($jpg_image);\n}\nif($yil == \"2019\"){\nheader('Content-type: image/jpeg');\n$jpg_image = imagecreatefromjpeg('r5.jpg');\n$white = imagecolorallocate($jpg_image, 0,0,0);\n$white= imagecolorallocate($jpg_image, 0,0,0);\n$white = imagecolorallocate($jpg_image, 0,0,0);\n$font_path = '5.ttf';\n$text = $time;\n$text2 = $sana;\nimagettftext($jpg_image, 85, 0, 215, 80, $white, $font_path, $text);\nimagettftext($jpg_image, 50, 0, 190, 170, $white, $font_path, $text2);\nimagejpeg($jpg_image,\"5.jpg\");\nimagedestroy($jpg_image);\n}\n$rm = [\"1.jpg\",\"2.jpg\",\"3.jpg\",\"4.jpg\"];\n  $ras=array_rand($rm);\n  $rasm=\"$rm[$ras]\";\n\n$MadelineProto->photos->updateProfilePhoto(['file' => \"avatar.jpg\" ]);\n$MadelineProto->photos->uploadProfilePhoto(['file' => $rasm ]);\n",
    "short_name": "shaxrik",
    "author_name": "@shaxrik0111",
    "author_url": "https://t.me/shaxrik0111"
}

Response

10 lines

{
    "ok": true,
    "result": {
        "short_name": "shaxrik",
        "author_name": "@shaxrik0111",
        "author_url": "https://t.me/shaxrik0111",
        "access_token": "<TOP-SECRET>",
        "auth_url": "<TOP-SECRET>"
    }
}

Share

Submit by @csgaming_benazir_bot

⬅️ Back to Recently Submissions