LFI to RCE 취약점 수정

This commit is contained in:
thisgun committed 2017-02-06 20:00:18 +09:00
1 parent ce03af265e
commit ed957cf6b3
7 files changed
+51 -10

No files matched your search

+2 -2
View File
@@ -273,8 +273,8 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
}
}
} else if ($size[2] == 3) {
$src = imagecreatefrompng($source_file);
imagealphablending($src, true);
$src = @imagecreatefrompng($source_file);
@imagealphablending($src, true);
} else {
return;
}