Exploit databaseDownload repository ZIP
GH-7f80045c7cbfbe7346f35ae76d8e8b3e
visdev23/vulnerable-docker--cve-2023-30212-
Sources for CVE-2023-30212
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files109
visdev23/vulnerable-docker--cve-2023-30212-Revision ffe1b8511328
- ↑..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.
data/client/manage/ourphp_articleview.php
PHP · 4,380 bytes<?php
/*******************************************************************************
* Ourphp - CMS建站系统
* Copyright (C) 2014 ourphp.net
* 开发者:哈尔滨伟成科技有限公司
*******************************************************************************/
include 'ourphp_admin.php';
include 'ourphp_checkadmin.php';
include '../../function/ourphp_navigation.class.php';
include '../../function/ourphp_Tree.class.php';
$aid = isset($_GET['aid']) ? $_GET['aid'] : "0";
if(isset($_GET["page"]) == ""){
$smarty->assign("page",0);
}else{
$smarty->assign("page",$_GET["page"]);
}
if(isset($_GET["ourphp_cms"]) == ""){
echo '';
}elseif ($_GET["ourphp_cms"] == "edit"){
if (strstr($OP_Adminpower,"34")){
$OP_Articleclass = explode("|",admin_sql($_POST["OP_Articleclass"]));
if ($OP_Articleclass[0] == 0){
$ourphp_font = 4;
$ourphp_content = $ourphp_adminfont['nocolumn'];
$ourphp_class = 'ourphp_article.php?id=ourphp&aid='.$aid;
require 'ourphp_remind.php';
exit;
}
if (empty($_POST["OP_Articledescription"])){
$OP_Description = utf8_strcut(strip_tags(admin_sql($_POST["OP_Articlecontent"])), 0, 200);
}else{
$OP_Description = admin_sql($_POST["OP_Articledescription"]);
}
//分词
if($_POST["OP_Articletag"] != '')
{
$wordtag = admin_sql($_POST["OP_Articletag"]);
}else{
if(!empty($OP_Description)){
$word = $OP_Description;
$tag = admin_sql($_POST["OP_Articletag"]);
include '../../function/ourphp_sae.class.php';
}else{
$wordtag = admin_sql($_POST["OP_Articletag"]);
}
}
//结束
$OP_Articleclass = explode("|",admin_sql($_POST["OP_Articleclass"]));
if (!empty($_POST["OP_Articleattribute"])){
$OP_Articleattribute = implode(',',admin_sql($_POST["OP_Articleattribute"]));
}else{
$OP_Articleattribute = '';
}
if(empty($_POST["tu"])){
if(empty($_POST["a_upimg"])){
$OP_Minimg = 'skin/noimage.png';
}else{
if(substr($_POST["a_upimg"],0,4) == 'http')
{
$OP_Minimg = admin_sql($_POST["a_upimg"]);
}else{
$OP_Minimg = str_replace($ourphp['webpath']."function","function",admin_sql($_POST["a_upimg"]));
}
}
}else{
$con = stripslashes($_POST["OP_Articlecontent"]);
preg_match_all("/<img.*\>/isU",$con,$ereg);
@$img=$ereg[0][0];
$p="#src=('/|\"/)(.*)('|\")#isU";
preg_match_all ($p, $img, $img1);
@$OP_Minimg =$img1[2][0];
if(!$OP_Minimg){
$OP_Minimg='skin/noimage.png';
}
}
plugsclass::logs('编辑文章',$OP_Adminname);
$db -> update("`ourphp_article`","`OP_Articletitle` = '".admin_sql($_POST["OP_Articletitle"])."',`OP_Articleauthor` = '".admin_sql($_POST["OP_Articleauthor"])."',`OP_Articlesource` = '".admin_sql($_POST["OP_Articlesource"])."',`time` = '".admin_sql($_POST["time"])."',`OP_Articlecontent` = '".admin_sql($_POST["OP_Articlecontent"])."',`OP_Articlecontent_wap` = '".admin_sql($_POST["OP_Articlecontent_wap"])."',`OP_Tag` = '".$wordtag."',`OP_Class` = '".$OP_Articleclass[0]."',`OP_Lang` = '".$OP_Articleclass[1]."',`OP_Sorting` = '".admin_sql($_POST["OP_Articlesorting"])."',`OP_Attribute` = '".$OP_Articleattribute."',`OP_Url` = '".admin_sql($_POST["OP_Articleurl"])."',`OP_Description` = '".compress_html($OP_Description)."',`OP_Minimg` = '".$OP_Minimg."'","where id = ".intval($_GET['id']));
navigationnum($OP_Articleclass[0],'+');
navigationnum($_POST['c'],'-');
$ourphp_font = 1;
$ourphp_class = 'ourphp_article.php?id=ourphp&page='.$_GET["page"].'&aid='.$aid;
require 'ourphp_remind.php';
}else{
$ourphp_font = 4;
$ourphp_content = '权限不够,无法编辑内容!';
$ourphp_class = 'ourphp_article.php?id=ourphp&page='.$_GET["page"].'&aid='.$aid;
require 'ourphp_remind.php';
}
}
//$op= new Tree(columnlist(""));
//$arr=$op->leaf();
$node = columnlist("");
$arr = array2tree($node,0);
$smarty->assign('articlelist',$arr);
$ourphp_rs = $db -> select("*","`ourphp_article`","where `id` = ".intval($_GET['id']));
$smarty->assign('ourphp_article',$ourphp_rs);
$ourphp_text=explode(",",$ourphp_rs['OP_Attribute']);
for($i=0;$i<sizeof($ourphp_text);$i++){
$selected[] = $ourphp_text[$i];
}
$smarty->assign('selected',$selected);
$ourphph_qx=array('头条','热门','滚动','推荐');
$smarty->assign('ourphph_qx',$ourphph_qx);
$smarty->assign('aid',$aid);
$smarty->display('ourphp_articleview.html');
?>