Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* <===> All rights reserved by @itsNull <===> */ error_reporting(0); define('API..

Decoded Output download

<?php 
/* <===> All rights reserved by @itsNull <===> */ 
error_reporting(0); 
define('API_KEY', '7433842140:AAFDXsrbu5O4MaIwQmCQxWYUVmKBwiT6jds'); # [!] EDIT [!] 
date_default_timezone_set('Asia/Tehran'); 
 
$chat = '-1002215768625'; # [!] EDIT [!] 
$channel_name = ' '; # [!] EDIT [!] 
$res = sendMessage($chat, "."); 
setChatTitle($chat, "$channel_name | ".date('H:i')); 
deleteMessage($chat, $res->result->message_id); 
deleteMessage($chat, $res->result->message_id + 1); 
 
function bot($method, $datas = []) { 
    $url = "https://api.telegram.org/bot".API_KEY."/".$method; 
    $ch = curl_init(); 
    curl_setopt($ch,CURLOPT_URL,$url); 
    curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); 
    curl_setopt($ch,CURLOPT_POSTFIELDS,$datas); 
    $res = curl_exec($ch); 
    if(curl_error($ch)) { 
        var_dump(curl_error($ch)); 
    } 
    return json_decode($res, true); 
} 
function sendMessage($user, $msg, $reply = -1, $key = null, $preview = false) { 
	return bot('sendMessage', [ 
        'chat_id' => $user, 
        'text' => $msg, 
        'parse_mode' => "HTML", 
        'reply_to_message_id' => $reply, 
        'reply_markup' => $key, 
		'disable_web_page_preview' => $preview 
    ]); 
} 
function deleteMessage($chat_id, $message_id) { 
	return bot('deleteMessage', [ 
        'chat_id' => $chat_id, 
        'message_id' => $message_id 
    ]); 
} 
function setChatTitle($chat_id, $title) { 
	return bot('setChatTitle', [ 
        'chat_id' => $chat_id, 
        'title' => $title 
    ]); 
} ?>

Did this file decode correctly?

Original Code

<?php
/* <===> All rights reserved by @itsNull <===> */
error_reporting(0);
define('API_KEY', '7433842140:AAFDXsrbu5O4MaIwQmCQxWYUVmKBwiT6jds'); # [!] EDIT [!]
date_default_timezone_set('Asia/Tehran');

$chat = '-1002215768625'; # [!] EDIT [!]
$channel_name = ' '; # [!] EDIT [!]
$res = sendMessage($chat, ".");
setChatTitle($chat, "$channel_name | ".date('H:i'));
deleteMessage($chat, $res->result->message_id);
deleteMessage($chat, $res->result->message_id + 1);

function bot($method, $datas = []) {
    $url = "https://api.telegram.org/bot".API_KEY."/".$method;
    $ch = curl_init();
    curl_setopt($ch,CURLOPT_URL,$url);
    curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
    curl_setopt($ch,CURLOPT_POSTFIELDS,$datas);
    $res = curl_exec($ch);
    if(curl_error($ch)) {
        var_dump(curl_error($ch));
    }
    return json_decode($res, true);
}
function sendMessage($user, $msg, $reply = -1, $key = null, $preview = false) {
	return bot('sendMessage', [
        'chat_id' => $user,
        'text' => $msg,
        'parse_mode' => "HTML",
        'reply_to_message_id' => $reply,
        'reply_markup' => $key,
		'disable_web_page_preview' => $preview
    ]);
}
function deleteMessage($chat_id, $message_id) {
	return bot('deleteMessage', [
        'chat_id' => $chat_id,
        'message_id' => $message_id
    ]);
}
function setChatTitle($chat_id, $title) {
	return bot('setChatTitle', [
        'chat_id' => $chat_id,
        'title' => $title
    ]);
}

Function Calls

None

Variables

None

Stats

MD5 d041e989cfdb8b84abcd57ea765b1e01
Eval Count 0
Decode Time 54 ms