Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


	${
	"GLOBALS"
}
["povigcnix"]="hshkey";
	${
	"GLOBALS"
}
["mthvsdp"]="url";
	${
	"GLOBALS"
}
["jfgnbzcpg"]="product";
	${
	"GLOBALS"
}
["kymmjenpm"]="url";
	${
	"GLOBALS"
}
["uurdku"]="hshkey";
	${
		${
		"GLOBALS"
	}
	["kymmjenpm"]
}
=get_site_url();
	${
		${
		"GLOBALS"
	}
	["jfgnbzcpg"]
}
="telegramposter";
	${
		${
		"GLOBALS"
	}
	["uurdku"]
}
	=md5(${
		${
		"GLOBALS"
	}
	["mthvsdp"]
}
	."_".${
		${
		"GLOBALS"
	}
	["jfgnbzcpg"]
}
);
	if(isset($_POST["submitkey"])){
		if(${
			${
			"GLOBALS"
		}
		["povigcnix"]
	}
		==$_POST["licencekey"]){
			update_option("lckey",${
				${
				"GLOBALS"
			}
			["povigcnix"]
		}
		);
	}
		else{
		echo"\n        <div class="cdtelegram_pannel"><div class="head err">\n        کد لایسنس وارد شده معتبر نیست\n       </div></div>";
	}
}
	if(get_option("lckey")&&get_option("lckey")==${
		${
		"GLOBALS"
	}
	["povigcnix"]
}
	){
	echo "<div class="cdtelegram_pannel">\n    <div class="line_panel\">\n        <form method="post\" action=\"\">\n            <div class=\"table">\n                <div class=\"title\">\n                    ارسال پیام به کانال تلگرام\n                </div>\n                ";
		if(get_option("apitoken")&&get_option("botid")&&get_option("channelid")){
			if(isset($_POST["save"])){
				if($_POST["image"]){
				send_message(get_option("apitoken"),"sendPhoto","chat_id=".get_option("channelid")."&photo=".$_POST["image"]."&caption=".$_POST["message"]);
			}
				else{
				send_message(get_option("apitoken"),"sendMessage","chat_id=".get_option("channelid")."&text=".$_POST["message"]."&disable_web_page_preview=true");
			}
				if($_POST["voice"]){
				send_message(get_option("apitoken"),"sendVoice","chat_id=".get_option("channelid")."&voice=".$_POST["voice"]);
			}
				if($_POST["audio"]){
				send_message(get_option("apitoken"),"sendAudio","chat_id=".get_option("channelid")."&audio=".$_POST["audio"]);
			}
				if($_POST["video"]){
				send_message(get_option("apitoken"),"sendVideo","chat_id=".get_option("channelid")."&video=".$_POST["video"]);
			}
				if($_POST["doc"]){
				send_message(get_option("apitoken"),"sendDocument","chat_id=".get_option("channelid")."&document=".$_POST["doc"]);
			}
			echo"<div class="head ok\">پیام شما با موفقیت ارسال شد</div>";
		}
	}
		else{
		echo"<div class=\"head err">برای ارسال پیام به کانال تلگرامی ، باید تنظیمات افزونه را تکمیل کنید</div>";
	}
	echo "                <div class="cont">\n                    <div class="line_panel\">\n                        <label for=\"image">لینک تصویر</label>\n                        <input type="text\" name=\"image" id=\"image">\n                    </div>\n\t\t\t\t\t<div class=\"line_panel">\n                        <label for="voice">لینک فایل Voice</label>\n                        <input type=\"text\" name="voice" id="voice\">\n                    </div>\n\t\t\t\t\t<div class=\"line_panel">\n                        <label for=\"audio\">لینک فایل MP3</label>\n                        <input type=\"text" name=\"audio" id=\"audio\">\n                    </div>\n\t\t\t\t\t<div class="line_panel">\n                        <label for=\"video\">لینک فایل MP4</label>\n                        <input type=\"text\" name="video\" id=\"video\">\n                    </div>\n\t\t\t\t\t<div class=\"line_panel\">\n                        <label for=\"doc">لینک فایل GIF , PDF , ZIP</label>\n                        <input type=\"text\" name=\"doc\" id="doc">\n                    </div>\n                    <div class="line_panel">\n                        <label for="sendmessage">متن پیام</label>\n                        <textarea type="text\" name=\"message\" id="message\" style=\"direction: rtl"></textarea>\n                    </div>\n                    <input type=\"submit\" name=\"save" value="ارسال پیام">\n                    <div class=\"cl\"></div>\n                </div>\n            </div>\n        </form>\n    </div>\n</div>\n";
}
	else{
	echo "    <div class=\"cdtelegram_pannel\">\n        <form method=\"post" action="" class="cd_licenceform">\n            <div class="head\">\n\t\t\t\tبابت خرید این محصول از شما سپاسگذاریم\n\t\t\t\t<br>\n                جهت فعال سازی افزونه کد لایسنس را در فیلد زیر وارد نمایید\n            </div>\n            <input type="text" name=\"licencekey" required>\n            <input type=\"submit" name="submitkey\" value="ثبت کد فعال سازی افزونه\">\n            <a href=\"http://codein.ir" target="_blank\" class="nokey\">کد فعال سازی ندارم !</a>\n        </form>\n    </div>\n";
}



© 2023 Quttera Ltd. All rights reserved.