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 files80
cronus-security/xinhu-v2.3.2Revision 08599f237697
- ↑..Parent directory
- assetmModel.php
- bianjianModel.php
- bookModel.php
- bookborrowModel.php
- caigouModel.php
- carmModel.php
- carmbyModel.php
- carmreseModel.php
- carmsModel.php
- carmwxModel.php
- companyModel.php
- custappyModel.php
- custfinaModel.php
- customerModel.php
- custplanModel.php
- custractModel.php
- custsaleModel.php
- custxiaoModel.php
- daibanModel.php
- dailyModel.php
- demoModel.php
- deptModel.php
- diaoboModel.php
- emailmModel.php
- finfybxModel.php
- finpiaoModel.php
- flow.php
- gongModel.php
- goodghModel.php
- goodlyModel.php
- goodsModel.php
- groupModel.php
- hrcheckModel.php
- hrkaohemModel.php
- hrmanshiModel.php
- hrpositiveModel.php
- hrredundModel.php
- hrsalarmModel.php
- hrsalaryModel.php
- hrshebaoModel.php
- hrtransferModel.php
- hrtrsalaryModel.php
- jiabanModel.php
- knowledgeModel.php
- knowtikuModel.php
- knowtraimModel.php
- kqdkjlModel.php
- kqdwModel.php
- kqerrModel.php
- kqjsnModel.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
xinhu-cb732f46f8f1e4614c8cfbef47a0bcbde6ecce34/webmain/model/flow/custfinaModel.php
PHP · 1,231 bytes<?php
//客户收付款单
class flow_custfinaClassModel extends flowModel
{
public function initModel(){
$this->statearrs = c('array')->strtoarray('未收款|red,已收款|green');
$this->statearrf = c('array')->strtoarray('未付款|red,已付款|green');
}
public function flowrsreplace($rs)
{
$starrr = array('收','付');
$rs['paystatus'] = $rs['ispay'];
$ispay = '<font color=red>未'.$starrr[$rs['type']].'款</font>';
if($rs['ispay']==1)$ispay = '<font color=green>已'.$starrr[$rs['type']].'款</font>';
$rs['ispay'] = $ispay;
$rs['type'] = ''.$starrr[$rs['type']].'款单';
return $rs;
}
//操作菜单操作
protected function flowoptmenu($ors, $arr)
{
//标识已付款处理
if($ors['num']=='pay'){
$ispay = 0;
$paydt = arrvalue($arr,'fields_paydt', $this->rock->now);
if(!isempt($paydt))$ispay = 1;
$this->update("`ispay`='$ispay',`paydt`='$paydt'", $this->id);
m('crm')->ractmoney($this->rs['htid']);
}
}
protected function flowbillwhere($uid, $lx)
{
$month = $this->rock->post('month');
$where = '';
if($month!=''){
$where.=" and `dt` like '$month%'";
}
return array(
'where' => $where,
'order' => '`optdt` desc'
);
}
}