Vladson
Ты о чем?



##############################################################
## MOD Title: Sploit in Avatar fix
## MOD Author: Vladson < dkflbk@nm.ru > (n/a) http://dkflbk.nm.ru/
## MOD Description: Security fix in avatar upload
## MOD Version: 1.1.0
##
## Installation Level: Easy
## Installation Time: 1 Minutes
## Files To Edit (n/a): includes/usercp_avatar.php
## Included Files: (n/a):
##############################################################
## For Security Purposes, Please Check: http://www.phpbbguru.net/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbbguru.net/mods/
##############################################################
## Author Notes:
##
##############################################################
## MOD History:
##
## 2005-06-19 - 1.1.0
## - Other One
##
## 2005-06-18 - 1.0.0
## - First One
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_avatar.php
#
#-----[ FIND ]------------------------------------------
#
if ( $width <= $board_config['avatar_max_width'] && $height <= $board_config['avatar_max_height'] )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $width > 0 && $height > 0 && $width <= $board_config['avatar_max_width'] && $height <= $board_config['avatar_max_height'] )
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM



Вернуться в phpBB-пространство
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0