Exploit databaseDownload repository ZIP
GH-593b93dbd60a5704816109414bf67dfe
aash035/cve-2023-30212
Sources for CVE-2023-30212
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files109
aash035/cve-2023-30212Revision 51bf3ef4c88a
- ↑..Parent directory
- plugs/
- templates/
- Attribute.php
- Coupon.php
- Specifications.php
- index.htm
- ourphp_ad.php
- ourphp_admin.php
- ourphp_adminrefresh.php
- ourphp_adminsearch.php
- ourphp_adview.php
- ourphp_alipay.php
- ourphp_api.php
- ourphp_apiedit.php
- ourphp_app.php
- ourphp_article.php
- ourphp_articleview.php
- ourphp_assist.php
- ourphp_backmoney.php
- ourphp_bak.php
- ourphp_bakgo.php
- ourphp_banner.php
- ourphp_bannerview.php
- ourphp_book.php
- ourphp_buyprint.php
- ourphp_callback.php
- ourphp_checkadmin.php
- ourphp_cmd.php
- ourphp_column.php
- ourphp_column_batch.php
- ourphp_columnadd.php
- ourphp_columnback.php
- ourphp_comment.php
- ourphp_copy.php
- ourphp_coupon.php
- ourphp_couponlist.php
- ourphp_del.php
- ourphp_developer.php
- ourphp_down.php
- ourphp_downview.php
- ourphp_filebox.php
- ourphp_finance.php
- ourphp_freight.php
- ourphp_freightview.php
- ourphp_grouplist.php
- ourphp_groupview.php
- ourphp_imgdel.php
- ourphp_integral.php
- ourphp_job.php
- ourphp_jobview.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
file/client/manage/ourphp_linkview.php
PHP · 1,668 bytes<?php
/*******************************************************************************
* Ourphp - CMS建站系统
* Copyright (C) 2014 ourphp.net
* 开发者:哈尔滨伟成科技有限公司
*******************************************************************************/
include 'ourphp_admin.php';
include 'ourphp_checkadmin.php';
include '../../function/ourphp_navigation.class.php';
if(isset($_GET["ourphp_cms"]) == ""){
echo '';
}elseif ($_GET["ourphp_cms"] == "edit"){
if (strstr($OP_Adminpower,"34")){
if(substr($_POST["OP_Linkimg"],0,4) == 'http')
{
$ourphp_xiegang = $_POST["OP_Linkimg"];
}else{
$ourphp_xiegang = str_replace($ourphp['webpath']."function","function",admin_sql($_POST["OP_Linkimg"]));
}
plugsclass::logs('编辑友情链接',$OP_Adminname);
$db -> update("`ourphp_link`","`OP_Linkname` = '".admin_sql($_POST["OP_Linkname"])."',`OP_Linkurl` = '".admin_sql($_POST["OP_Linkurl"])."',`OP_Linkclass` = '".admin_sql($_POST["OP_Linkclass"])."',`OP_Linkimg` = '".$ourphp_xiegang."',`OP_Linksorting` = '".intval($_POST["OP_Linksorting"])."',`OP_Linkstate` = '".intval($_POST["OP_Linkstate"])."',`time` = '".date("Y-m-d H:i:s")."'","where id = ".intval($_GET['id']));
$ourphp_font = 1;
$ourphp_class = 'ourphp_link.php?id=ourphp';
require 'ourphp_remind.php';
}else{
$ourphp_font = 4;
$ourphp_content = '权限不够,无法编辑内容!';
$ourphp_class = 'ourphp_link.php?id=ourphp';
require 'ourphp_remind.php';
}
}
$ourphp_rs = $db -> select("*","`ourphp_link`","where `id` = ".intval($_GET['id']));
$smarty->assign('ourphp_link',$ourphp_rs);
$smarty->display('ourphp_linkview.html');
?>