Exploit database

GH-78762efc2c2c1d0d38de4362beab2332

kuttappu123/cve-2023-30212-lab

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-30212

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files109
kuttappu123/cve-2023-30212-labRevision a49d3c23d182
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

file/client/manage/ourphp_adminrefresh.php

PHP · 947 bytes
<?php 
/*******************************************************************************
* Ourphp - CMS建站系统
* Copyright (C) 2018 www.ourphp.net
* 开发者:哈尔滨伟成科技有限公司
*******************************************************************************/
include 'ourphp_admin.php';
include 'ourphp_checkadmin.php';

if(isset($_GET['look']))
{
	$o = $db -> select("id","ourphp_orderslist","where OP_Look = 0");
	if($o)
	{
		$ourphp_buylook = array("error" => 1);
	}else{
		$ourphp_buylook = array("error" => 0);
	}
	echo json_encode($ourphp_buylook);
	exit;
}

if(isset($_GET['buylookok']))
{
	$o = $db -> update("ourphp_orderslist","OP_Look = 1","where id = ".intval($_GET['id']));
	if($o)
	{
		$ourphp_buylook = array("error" => 1);
	}else{
		$ourphp_buylook = array("error" => 0);
	}
	echo json_encode($ourphp_buylook);
	exit;
}

echo '<meta http-equiv="refresh"content="50;url=ourphp_adminrefresh.php">';
echo 'ok';
?>