Exploit databaseDownload repository ZIP
GH-066dffbe2334b8891942069745b5a44c
365807072/gdr
Sources for CVE-2019-6713
12 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files3
365807072/gdrRevision 45d5bdb279df
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
simplewind/thinkphp/library/think/config/driver/Json.php
PHP · 851 bytes<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <[email protected]>
// +----------------------------------------------------------------------
namespace think\config\driver;
class Json
{
public function parse($config)
{
if (is_file($config)) {
$config = file_get_contents($config);
}
$result = json_decode($config, true);
return $result;
}
}