Exploit databaseDownload repository ZIP
GH-f3e9aa5ff14901b11dd5d48ffe7c37ab
zapstiko/cve-2026-116214
Sources for CVE-2026-116214
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files39
zapstiko/cve-2026-116214Revision 1353951f02be
- ↑..Parent directory
- Actor.php
- Addon.php
- Admin.php
- Annex.php
- Art.php
- Banner.php
- Base.php
- Card.php
- Cash.php
- Cj.php
- Collect.php
- Comment.php
- Database.php
- Domain.php
- Gbook.php
- Group.php
- Images.php
- Index.php
- Link.php
- Make.php
- Order.php
- Plog.php
- Role.php
- System.php
- Template.php
- Timming.php
- Topic.php
- Type.php
- Ulog.php
- Update.php
- Upload.php
- Urlsend.php
- User.php
- Visit.php
- Vod.php
- Voddowner.php
- Vodplayer.php
- Vodserver.php
- Website.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/maccms/application/admin/controller/Gbook.php
PHP · 3,438 bytes<?php
namespace app\admin\controller;
use think\Db;
class Gbook extends Base
{
public function __construct()
{
parent::__construct();
}
public function data()
{
$param = input();
$param['page'] = intval($param['page']) <1 ? 1 : $param['page'];
$param['limit'] = intval($param['limit']) <1 ? $this->_pagesize : $param['limit'];
$where=[];
if(in_array($param['status'],['0','1'],true)){
$where['gbook_status'] = ['eq',$param['status']];
}
if(in_array($param['type'],['1','2'])){
if($param['type'] == 1){
$where['gbook_rid'] = 0;
}
elseif($param['type'] ==2){
$where['gbook_rid'] = ['gt',0];
}
}
if(!empty($param['reply'])){
$where['gbook_reply_time'] = ['gt', 0];
}
if(!empty($param['uid'])){
$where['user_id'] = ['eq',$param['uid'] ];
}
if(!empty($param['wd'])){
$param['wd'] = htmlspecialchars(urldecode($param['wd']));
$where['gbook_name|gbook_content'] = ['like','%'.$param['wd'].'%'];
}
$order='gbook_id desc';
$res = model('Gbook')->listData($where,$order,$param['page'],$param['limit']);
$this->assign('list',$res['list']);
$this->assign('total',$res['total']);
$this->assign('page',$res['page']);
$this->assign('limit',$res['limit']);
$param['page'] = '{page}';
$param['limit'] = '{limit}';
$this->assign('param',$param);
$this->assign('title',lang('admin/gbook/title'));
return $this->fetch('admin@gbook/index');
}
public function info()
{
if (Request()->isPost()) {
$param = input();
$res = model('Gbook')->saveData($param);
if($res['code']>1){
return $this->error($res['msg']);
}
return $this->success($res['msg']);
}
$id = input('id');
$where=[];
$where['gbook_id'] = ['eq',$id];
$res = model('Gbook')->infoData($where);
$this->assign('info',$res['info']);
$this->assign('title',lang('admin/gbook/title'));
return $this->fetch('admin@gbook/info');
}
public function del()
{
$param = input();
$ids = $param['ids'];
$all = $param['all'];
if(!empty($ids) || !empty($all)){
$where=[];
$where['gbook_id'] = ['in',$ids];
if($all==1){
$where['gbook_id'] = ['gt',0];
}
$res = model('Gbook')->delData($where);
if($res['code']>1){
return $this->error($res['msg']);
}
return $this->success($res['msg']);
}
return $this->error(lang('param_err'));
}
public function field()
{
$param = input();
$ids = $param['ids'];
$col = $param['col'];
$val = $param['val'];
if(!empty($ids) && in_array($col,['gbook_status']) ){
$where=[];
$where['gbook_id'] = ['in',$ids];
$res = model('Gbook')->fieldData($where,$col,$val);
if($res['code']>1){
return $this->error($res['msg']);
}
return $this->success($res['msg']);
}
return $this->error(lang('param_err'));
}
}