Exploit databaseDownload repository ZIP
GH-06d54a23fe2b5ac9d4742aada5832ec4
2499659968/mychen
Sources for CVE-2019-6713
12 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
2499659968/mychenRevision d57c6824b00a
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
api/demo/controller/ArticlesController.php
PHP · 817 bytes<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: pl125 <[email protected]>
// +----------------------------------------------------------------------
namespace api\demo\controller;
use cmf\controller\RestBaseController;
class ArticlesController extends RestBaseController
{
public function index()
{
$articles = [
['title' => 'article title1'],
['title' => 'article title2'],
];
$this->success('请求成功!', ['articles' => $articles]);
}
}