mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 03:12:55 +09:00
Webshell defense
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11093 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
edde8702bc
commit
67c6ce16cd
1 changed files with 4 additions and 0 deletions
|
|
@ -79,6 +79,10 @@
|
|||
|
||||
$admin_ip_list = preg_replace("/[\r|\n|\r\n]+/",",",$admin_ip_list);
|
||||
$admin_ip_list = preg_replace("/\s+/","",$admin_ip_list);
|
||||
if(preg_match('/(<\?|<\?php|\?>)/xsm', $admin_ip_list))
|
||||
{
|
||||
$admin_ip_list = '';
|
||||
}
|
||||
|
||||
$db_info = Context::getDBInfo();
|
||||
$db_info->default_url = Context::get('default_url');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue