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 files10
2499659968/mychenRevision d57c6824b00a
- ↑..Parent directory
- controller/
- lang/
- model/
- validate/
- vendor/
- view/
- DemoPlugin.php
- README.md
- composer.json
- config.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
public/plugins/demo/DemoPlugin.php
PHP · 1,577 bytes<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: Dean <[email protected]>
// +----------------------------------------------------------------------
namespace plugins\demo;
//Demo插件英文名,改成你的插件英文就行了
use cmf\lib\Plugin;
//Demo插件英文名,改成你的插件英文就行了
class DemoPlugin extends Plugin
{
public $info = [
'name' => 'Demo', //Demo插件英文名,改成你的插件英文就行了
'title' => '插件演示',
'description' => '插件演示',
'status' => 1,
'author' => 'ThinkCMF',
'version' => '1.0',
'demo_url' => 'http://demo.thinkcmf.com',
'author_url' => 'http://www.thinkcmf.com',
];
public $hasAdmin = 1; //插件是否有后台管理界面
// 插件安装
public function install()
{
return true; //安装成功返回true,失败false
}
// 插件卸载
public function uninstall()
{
return true; //卸载成功返回true,失败false
}
//实现的footer_start钩子方法
public function footerStart($param)
{
$config = $this->getConfig();
$this->assign($config);
echo $this->fetch('widget');
}
}