Exploit databaseDownload repository ZIP
GH-78762efc2c2c1d0d38de4362beab2332
kuttappu123/cve-2023-30212-lab
Sources for CVE-2023-30212
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files8
kuttappu123/cve-2023-30212-labRevision a49d3c23d182
- ↑..Parent directory
- Author.tpl
- ico.png
- index.htm
- login.php
- login.png
- op_weixinlogin.php
- ourphp_weixinlogin.php
- weixinloginlist.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
file/client/plus/weixinlogin/op_weixinlogin.php
PHP · 969 bytes<?php
/*
* Ourphp - CMS建站系统
* Copyright (C) 2019 ourphp.net
* 开发者:哈尔滨伟成科技有限公司
*/
if(!defined('OURPHPNO')){exit('no!');}
function smarty_function_weixinlogin($params, &$smarty){
global $db,$ourphp;
extract($params);
if(isset($_GET['introducer'])){
$introducer = $_GET['introducer'];
}else{
$introducer = 0;
}
$from = '
<script>
function login() {
var msg = "微信登录获取您的头像和名称信息 \n\n确认是否登录";
if (confirm(msg)==true){
return true;
}else{
return false;
}
}
</script>
<a href="'.$ourphp['webpath'].'client/plus/weixinlogin/login.php?introducer='.$introducer.'&weburlupgo='.$_SESSION['ourphp_weburlupgo'].'" onclick="javascript:return login()"><span class="btn btn-white radius-7 pt-10 pb-10 pl-50 pr-50 f-16">微信账号登录</span></a>
';
return $from;
}
?>