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/seaside.pacim.de/web/crons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/seaside.pacim.de/web/crons/pushqueue.php
<?php
/**
 * crons/pushqueue.php – verarbeitet die Pushover-Versand-Queue.
 * Versendet wartende Push-Nachrichten; Fehlversuche werden beim nächsten Lauf erneut probiert.
 * Per Cronjob (jede Minute) aufrufen:
 *   wget -qO- 'https://seaside.pacim.de/crons/pushqueue.php?token=eFD6dx2G4RFBkrYS7Z87'
 * (Wird zusätzlich automatisch von crons/mailqueue.php mitgelaufen, ein eigener Eintrag ist optional.)
 */
require_once( __DIR__ . '/../includes/config.inc.php' );
@ini_set( 'display_errors', '0' );
error_reporting( 0 );
header( 'Content-Type: application/json; charset=utf-8' );

if ( ! isset( $_GET['token'] ) || $_GET['token'] !== 'eFD6dx2G4RFBkrYS7Z87' ) {
    http_response_code( 403 );
    echo json_encode( array( 'ok' => false, 'error' => 'forbidden' ) );
    exit();
}

$limit = isset( $_GET['limit'] ) ? (int) $_GET['limit'] : 25;
echo json_encode( class_exists( 'pushnotify' ) ? pushnotify::processQueue( $limit ) : array( 'ok' => false, 'error' => 'pushnotify missing' ) );

Youez - 2016 - github.com/yon3zu
LinuXploit