CKEditor & CKFinder cracked Baidu Network Disk address: Password: yydcdut
Config. js
CKEDITOR.editorConfig = config.language = 'zh-cn' config.uiColor = '#FFA' config.skin = 'v2' config.width = 850 config.height = 400 config.toolbar = 'Full' };
yyd
- Create in the same directory as CKEditor and CKFinderFolder
- Repair changeFile
Function of the row
}
The row is changed to the created uploads path.
= '/CK/plugins/uploads/';
Implementation
CreateFile to print the passed POST
<? ("Content-Type:text/html; charset=utf-8" = ['editor1' = (htmlspecialchars_decode( ?>
After I complete the configuration, the image cannot be displayed after the submit is submitted. When I checked the source code, I found that double quotation marks were escaped and it hurts. I don't know whether the CKEditor is escaped by the browser, because a few days ago, when I tested SQL injection, I found that it was clearly possible to inject, but the results could not be returned, then, the password is printed on the local machine, and it is escaped, which means it hurts. So here I use $ data = stripslashes (htmlspecialchars_decode ($ str); after escaping, I will escape the lake area and the result will be OK.
The CKEditor & CKFinder combination can not only upload images, but also files.
Reprinted please indicate the source: http://www.cnblogs.com/yydcdut/p/3518102.html