Exploit databaseDownload repository ZIP
GH-9a0e4face203bb2d404b8aadf03b5c5e
cronus-security/xinhu-v2.3.2
Sources for CVE-2023-1773
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files50
cronus-security/xinhu-v2.3.2Revision 08599f237697
- ↑..Parent directory
- agent/
- flow/
- reimplat/
- txcloud/
- wxgzh/
- adminModel.php
- baseModel.php
- beifenModel.php
- bookModel.php
- cityModel.php
- companyModel.php
- crmModel.php
- deptModel.php
- editModel.php
- emailModel.php
- emailmModel.php
- fileModel.php
- finaModel.php
- flowModel.php
- flowbillModel.php
- flowcnameModel.php
- flowcourseModel.php
- flowtodoModel.php
- goodsModel.php
- homeitemsModel.php
- hrModel.php
- imgroupModel.php
- inputModel.php
- itemsModel.php
- kaoqinModel.php
- kqjcmdModel.php
- locationModel.php
- logModel.php
- loginModel.php
- meetModel.php
- modeModel.php
- optionModel.php
- reimModel.php
- remindModel.php
- scheduleModel.php
- sjoinModel.php
- taskModel.php
- todoModel.php
- totalsModel.php
- viewModel.php
- waichuModel.php
- whereModel.php
- worcModel.php
- wordModel.php
- workModel.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
xinhu-cb732f46f8f1e4614c8cfbef47a0bcbde6ecce34/webmain/model/worcModel.php
PHP · 1,268 bytes<?php
class worcClassModel extends Model
{
/**
* 获取我的分区
*/
public function getmywroc($uid=0)
{
if($uid==0)$uid = $this->adminid;
$db = m('admin');
$dbs = m('word');
$str = $db->getjoinstr('receid', $uid, 1);
$utype= arrvalue($db->nowurs,'type','0');
$where= $db->getcompanywhere(1);
$rows = $this->getall('1=1 and ('.$str.')'.$where.'','id,name,guanname,guanid,uptype,upuserid,uid','`sort`');
$ids = '';
foreach($rows as $k=>$rs){
$ids.=','.$rs['id'].'';
//判断是否管理权限
$ismanage = 0;
$isup = 0;
if(!isempt($rs['guanid'])){
if($db->containjoin($rs['guanid'], $uid))$ismanage=1;
}else{
if($utype=='1')$ismanage=1;
}
$rows[$k]['ismanage'] = $ismanage;
if(isempt($rs['upuserid']) && $rs['uid']==$uid)$isup = 1;
if(!isempt($rs['upuserid'])){
if($db->containjoin($rs['upuserid'], $uid))$isup=1;
}
$rows[$k]['isup'] = $isup;
$wcount = $dbs->rows('`cid`='.$rs['id'].' and `type`=0');
$rows[$k]['wcount'] = $wcount;
if(isempt($rs['uptype']))$rs['uptype'] = '';
$rows[$k]['uptype'] = $rs['uptype'];
}
if($ids!='')$ids = substr($ids, 1);
return array(
'rows' => $rows,
'ids' => $ids,
'officebj' => getconfig('officebj')
);
}
}