Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
goto MZOpr; uXB28: goto uX3wb; goto MNQAF; tX3mx: goto ZohPL; goto S3V89; MZOpr: goto E..
Decoded Output download
<?
goto MZOpr; uXB28: goto uX3wb; goto MNQAF; tX3mx: goto ZohPL; goto S3V89; MZOpr: goto E3ukt; goto X1His; MNQAF: nv_2D: goto i13o4; jrBsV: class keyboard { public $reply = array(); public function add(options $options) { $this->reply[] = $options->get(); } public function get() { return json_encode(array("resize_keyboard" => true, "selective" => true, "one_time_keyboard" => true, "inline_keyboard" => $this->reply)); } public function clear() { $this->reply = array(); } } goto tX3mx; DTrCe: class options { public $options = array(); public function add(string $text, string $action, $data) { $this->options[] = array("text" => $text, $action => $data); } public function get() : array { return $this->options; } public function clear() { $this->options = array(); } } goto LFMEA; kXqcM: class Telegram { public $token; public $url = "https://api.telegram.org/bot"; function __construct(string $token) { $this->token = $token; } public function send(string $method, array $data) { $url = $this->url . $this->token . "/" . $method; $curl = curl_init($url); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $data); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $output = curl_exec($curl); curl_close($curl); return json_decode($output, true); } public function getMe() { return $this->send("getMe", array()); } public function AnswerCallbackQuery($callback_query_id, $text, $show_alert = false, $url = null, $cache_time = 0) { return $this->send("answerCallbackQuery", array("callback_query_id" => $callback_query_id, "text" => $text, "show_alert" => $show_alert, "url" => $url, "cache_time" => $cache_time)); } public function sendMessage(string $chat_id, string $text, keyboard $keyboard = null, string $mode = "markdown") { if ($keyboard->reply) { return $this->send("sendMessage", array("chat_id" => $chat_id, "text" => $text, "parse_mode" => $mode, "reply_markup" => $keyboard->get())); } return $this->send("sendMessage", array("chat_id" => $chat_id, "text" => $text, "parse_mode" => $mode)); } public function sendPhoto(string $chat_id, string $photo, string $caption = '', keyboard $keyboard = null, string $mode = "markdown") { if ($keyboard->reply) { return $this->send("sendPhoto", array("chat_id" => $chat_id, "photo" => $photo, "caption" => $caption, "reply_markup" => $keyboard->get(), "parse_mode" => $mode)); } return $this->send("sendPhoto", array("chat_id" => $chat_id, "photo" => $photo, "caption" => $caption, "parse_mode" => $mode)); } public function sendSticker(string $chat_id, string $sticker) { return $this->send("sendSticker", array("chat_id" => $chat_id, "sticker" => $sticker)); } public function editMessageText(string $chat_id, $message_id, string $text, keyboard $keyboard = null, string $mode = "markdown") { if ($keyboard->reply) { return $this->send("editMessageText", array("chat_id" => $chat_id, "message_id" => $message_id, "text" => $text, "reply_markup" => $keyboard->get(), "parse_mode" => $mode)); } return $this->send("editMessageText", array("chat_id" => $chat_id, "message_id" => $message_id, "text" => $text, "parse_mode" => $mode)); } public function sendLocation(string $chat_id, float $latitude, float $longitude) { return $this->send("sendLocation", array("chat_id" => $chat_id, "latitude" => $latitude, "longitude" => $longitude)); } public function sendContact(string $chat_id, string $phone_number, string $first_name, string $last_name = '') { return $this->send("sendContact", array("chat_id" => $chat_id, "phone_number" => $phone_number, "first_name" => $first_name, "last_name" => $last_name)); } public function sendVoice(string $chat_id, string $voice, string $caption = '') { return $this->send("sendVoice", array("chat_id" => $chat_id, "voice" => $voice, "caption" => $caption)); } public function getUserProfilePhotos(string $user_id) { return $this->send("getUserProfilePhotos", array("user_id" => $user_id)); } public function getChat(string $chat_id) { return $this->send("getChat", array("chat_id" => $chat_id)); } public function getChatMember(string $chat_id, string $user_id) { return $this->send("getChatMember", array("chat_id" => $chat_id, "user_id" => $user_id)); } public function isSubscribed(string $chat_id, string $user_id) { $response = $this->getChatMember($chat_id, $user_id); if (isset($response["result"]["status"])) { $status = $response["result"]["status"]; return in_array($status, array("member", "administrator", "creator")); } return false; } public function sendDocument(string $chat_id, string $document, string $caption = '') { return $this->send("sendDocument", array("chat_id" => $chat_id, "document" => $document, "caption" => $caption)); } } goto uXB28; LFMEA: goto nv_2D; goto klCrB; S3V89: E3ukt: goto kXqcM; X1His: ZohPL: goto DTrCe; klCrB: uX3wb: goto jrBsV; i13o4: ?>
Did this file decode correctly?
Original Code
goto MZOpr; uXB28: goto uX3wb; goto MNQAF; tX3mx: goto ZohPL; goto S3V89; MZOpr: goto E3ukt; goto X1His; MNQAF: nv_2D: goto i13o4; jrBsV: class keyboard { public $reply = array(); public function add(options $options) { $this->reply[] = $options->get(); } public function get() { return json_encode(array("resize_keyboard" => true, "selective" => true, "one_time_keyboard" => true, "inline_keyboard" => $this->reply)); } public function clear() { $this->reply = array(); } } goto tX3mx; DTrCe: class options { public $options = array(); public function add(string $text, string $action, $data) { $this->options[] = array("text" => $text, $action => $data); } public function get() : array { return $this->options; } public function clear() { $this->options = array(); } } goto LFMEA; kXqcM: class Telegram { public $token; public $url = "https://api.telegram.org/bot"; function __construct(string $token) { $this->token = $token; } public function send(string $method, array $data) { $url = $this->url . $this->token . "/" . $method; $curl = curl_init($url); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $data); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $output = curl_exec($curl); curl_close($curl); return json_decode($output, true); } public function getMe() { return $this->send("getMe", array()); } public function AnswerCallbackQuery($callback_query_id, $text, $show_alert = false, $url = null, $cache_time = 0) { return $this->send("answerCallbackQuery", array("callback_query_id" => $callback_query_id, "text" => $text, "show_alert" => $show_alert, "url" => $url, "cache_time" => $cache_time)); } public function sendMessage(string $chat_id, string $text, keyboard $keyboard = null, string $mode = "markdown") { if ($keyboard->reply) { return $this->send("sendMessage", array("chat_id" => $chat_id, "text" => $text, "parse_mode" => $mode, "reply_markup" => $keyboard->get())); } return $this->send("sendMessage", array("chat_id" => $chat_id, "text" => $text, "parse_mode" => $mode)); } public function sendPhoto(string $chat_id, string $photo, string $caption = '', keyboard $keyboard = null, string $mode = "markdown") { if ($keyboard->reply) { return $this->send("sendPhoto", array("chat_id" => $chat_id, "photo" => $photo, "caption" => $caption, "reply_markup" => $keyboard->get(), "parse_mode" => $mode)); } return $this->send("sendPhoto", array("chat_id" => $chat_id, "photo" => $photo, "caption" => $caption, "parse_mode" => $mode)); } public function sendSticker(string $chat_id, string $sticker) { return $this->send("sendSticker", array("chat_id" => $chat_id, "sticker" => $sticker)); } public function editMessageText(string $chat_id, $message_id, string $text, keyboard $keyboard = null, string $mode = "markdown") { if ($keyboard->reply) { return $this->send("editMessageText", array("chat_id" => $chat_id, "message_id" => $message_id, "text" => $text, "reply_markup" => $keyboard->get(), "parse_mode" => $mode)); } return $this->send("editMessageText", array("chat_id" => $chat_id, "message_id" => $message_id, "text" => $text, "parse_mode" => $mode)); } public function sendLocation(string $chat_id, float $latitude, float $longitude) { return $this->send("sendLocation", array("chat_id" => $chat_id, "latitude" => $latitude, "longitude" => $longitude)); } public function sendContact(string $chat_id, string $phone_number, string $first_name, string $last_name = '') { return $this->send("sendContact", array("chat_id" => $chat_id, "phone_number" => $phone_number, "first_name" => $first_name, "last_name" => $last_name)); } public function sendVoice(string $chat_id, string $voice, string $caption = '') { return $this->send("sendVoice", array("chat_id" => $chat_id, "voice" => $voice, "caption" => $caption)); } public function getUserProfilePhotos(string $user_id) { return $this->send("getUserProfilePhotos", array("user_id" => $user_id)); } public function getChat(string $chat_id) { return $this->send("getChat", array("chat_id" => $chat_id)); } public function getChatMember(string $chat_id, string $user_id) { return $this->send("getChatMember", array("chat_id" => $chat_id, "user_id" => $user_id)); } public function isSubscribed(string $chat_id, string $user_id) { $response = $this->getChatMember($chat_id, $user_id); if (isset($response["result"]["status"])) { $status = $response["result"]["status"]; return in_array($status, array("member", "administrator", "creator")); } return false; } public function sendDocument(string $chat_id, string $document, string $caption = '') { return $this->send("sendDocument", array("chat_id" => $chat_id, "document" => $document, "caption" => $caption)); } } goto uXB28; LFMEA: goto nv_2D; goto klCrB; S3V89: E3ukt: goto kXqcM; X1His: ZohPL: goto DTrCe; klCrB: uX3wb: goto jrBsV; i13o4:
Function Calls
None |
Stats
MD5 | d938da6d1bebcd1e60e902303f8f2aef |
Eval Count | 0 |
Decode Time | 60 ms |