Tul xxx Tul
User / IP
:
216.73.216.217
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
/
aircan.me
/
public_html
/
vendefacil
/
Viewing: update_reports.php
<?php $files = [ "c:/xampp/htdocs/vendefacilmaylor/views/creditos/reporte.php", "c:/xampp/htdocs/vendefacilmaylor/views/creditos/reportePorPagar.php", "c:/xampp/htdocs/vendefacilmaylor/views/estadoresultado/reporte.php", "c:/xampp/htdocs/vendefacilmaylor/views/inventarios/reporte.php", "c:/xampp/htdocs/vendefacilmaylor/views/puntoequilibrio/pdf.php" ]; $include_stmt = "<?php include dirname(__DIR__) . '/templates/pdf_style.php'; ?>"; foreach ($files as $filepath) { if (!file_exists($filepath)) { echo "File not found: $filepath\n"; continue; } $content = file_get_contents($filepath); if (strpos($filepath, 'creditos/reporte.php') !== false) { if (strpos($content, '<td class="info-empresa">') === false) { $content = str_replace( " <img src=\"<?php echo assetVersion('assets/images/logo.png'); ?>\" alt=\"\">\n <p>Teléfono:", " <img src=\"<?php echo assetVersion('assets/images/logo.png'); ?>\" alt=\"\">\n <?php } ?>\n </td>\n <td class=\"info-empresa\">\n <p class=\"company-name\"><?php echo \$data['empresa']['nombre']; ?></p>\n <p class=\"company-meta\">RNC: <?php echo \$data['empresa']['ruc']; ?></p>\n <p class=\"company-meta\">Teléfono:", $content ); } } // Replace the specific link tag $content = preg_replace('/<\?php\s+if\s+\(!empty\(\$data\[\'inline_css\'\]\)\)\s+\{\s+\?>\s+<style>.*?<\?php\s+\}\s+\?>/s', '', $content); $content = preg_replace('/<link\s+rel="stylesheet"\s+href="\s*<\?php\s+echo\s+BASE_URL\s*\.\s*\'assets\/css\/factura\.css\';\s*\?>\s*">/s', $include_stmt, $content); // Replace <style> block if not already replaced if (strpos($content, 'pdf_style.php') === false) { $content = preg_replace('/<style>.*?<\/style>/s', $include_stmt, $content); } // Replace <link> block if not already replaced (backup pattern) if (strpos($content, 'pdf_style.php') === false) { $content = preg_replace('/<link\s+rel="stylesheet".*?>/s', $include_stmt, $content); } $content = str_replace('id="datos-empresa"', 'class="company-table"', $content); $content = str_replace('id="container-info"', 'class="company-table" style="margin-bottom:15px;"', $content); $content = str_replace('id="container-producto"', 'class="product-table"', $content); $content = str_replace('class="logo"', 'class="company-logo"', $content); $content = str_replace('class="info-empresa"', 'class="company-info"', $content); $content = str_replace('class="info-compra"', 'class="invoice-details"', $content); $content = str_replace('class="factura"', 'class="invoice-title"', $content); file_put_contents($filepath, $content); echo "Updated $filepath\n"; } ?>
Coded With 💗 by
0x6ick