Exploit database

GH-593b93dbd60a5704816109414bf67dfe

aash035/cve-2023-30212

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 files52
aash035/cve-2023-30212Revision 51bf3ef4c88a
Next files →

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

file/function/ourphp/plugins/modifier.img_change.php

PHP · 465 bytes
<?php

/**
 * www.ourphp.net OURPHP傲派 smarty 图片地址转换插件
 * 原创插件 2021-12-10
**/
function smarty_modifier_img_change($string = '', $encoding='UTF-8',$break_words = false, $middle = false)
{

	global $ourphp;
	
	if(substr($string,0,4) == 'http')
	{
		$minimg = $string;
		
		}elseif($string == ''){
			
			$minimg = $ourphp['webpath'].'skin/noimage.png';
			
		}else{
			
			$minimg = $ourphp['webpath'].$string;
			
	}
	
	return $minimg;

}