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 files46
cronus-security/xinhu-v2.3.2Revision 08599f237697
- ↑..Parent directory
- JPushChajian.php
- PHPExcelChajian.php
- PHPExcelReaderChajian.php
- PHPWordChajian.php
- alismsChajian.php
- arrayChajian.php
- cacheChajian.php
- calendarChajian.php
- checkChajian.php
- colorChajian.php
- curlChajian.php
- dateChajian.php
- downChajian.php
- editChajian.php
- fileChajian.php
- htmlChajian.php
- hwpushChajian.php
- imageChajian.php
- imapChajian.php
- imgcodeChajian.php
- inputChajian.php
- jmChajian.php
- langChajian.php
- lang_en_USChajian.php
- lang_zh_CNChajian.php
- libreofficeChajian.php
- mailerChajian.php
- mapqqChajian.php
- mysmsChajian.php
- officeChajian.php
- pingyinChajian.php
- qcloudCosChajian.php
- qrcodeChajian.php
- rockeditChajian.php
- rockfileChajian.php
- rockqueueChajian.php
- socketChajian.php
- threadChajian.php
- upfileChajian.php
- wxxcyChajian.php
- xinhuChajian.php
- xinhuapiChajian.php
- xinhudocChajian.php
- xmpushChajian.php
- yunpsmsChajian.php
- zipChajian.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
xinhu-cb732f46f8f1e4614c8cfbef47a0bcbde6ecce34/include/chajian/wxxcyChajian.php
PHP · 1,111 bytes<?php
/**
* 微信小程序接口
*/
class wxxcyChajian extends Chajian{
protected function initChajian()
{
$this->wxxcy_url = getconfig('wxxcy_url'); //微信小程序地址
if(getconfig('systype')=='dev')$this->wxxcy_url='http://localhost/app/xcy_hosh/';
}
/**
* 发送订阅消息
* $xcytype 类型入hetong
* $mobile 接收人员手机号
* $params 参数,多个|分开
* $tplid 发给哪个模版用0,1,2,3等
*/
public function subscribe($xcytype, $mobile, $params,$tplid='0',$path='')
{
if(!$this->wxxcy_url)return returnerror('wxxcy_url empty');
$onr = m('wxxcyus')->getone("`xcytype`='$xcytype' and `mobile`='$mobile'");
if(!$onr)return returnerror('no subscribe');
$url = ''.$this->wxxcy_url.'api.php?m=weixin&a=subscribe&xcytype='.$xcytype.'';
$data['mobile'] = $mobile;
$data['params'] = $params;
$data['tplid'] = $tplid;
$data['path'] = $path;
$result = c('curl')->postcurl($url, $data);
if(!$result)return returnerror('api not data');
if(substr($result,0,1)!='{')return returnerror('err:'.$result.'');
return json_decode($result, true);
}
}