⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
muhasebe
/
vendor
/
ua-parser
/
uap-php
/
bin
/
Edit File: uaparser
#!/usr/bin/env php <?php namespace UAParser\Command; use Symfony\Component\Console\Application; $packageAutoloader = __DIR__ . '/../vendor/autoload.php'; $standaloneAutoloader = __DIR__ . '/../../../autoload.php'; if (file_exists($packageAutoloader)) { require_once $packageAutoloader; } else { require_once $standaloneAutoloader; } // Ensure symfony packages installed if (!class_exists(Application::class)) { echo 'You must include the symfony packages, see composer.json "suggest" section' . PHP_EOL; exit(1); } $resourceDirectory = realpath(__DIR__ . '/../resources'); $defaultYamlFile = realpath(__DIR__ . '/../resources/regexes.yaml'); $application = new Application('ua-parser'); $application->add(new ConvertCommand($resourceDirectory, $defaultYamlFile)); $application->add(new UpdateCommand($resourceDirectory)); $application->add(new ParserCommand()); $application->add(new LogfileCommand()); $application->add(new FetchCommand($defaultYamlFile)); $application->run();
Simpan