友价房产系统安装教程

友价房产系统安装教程

========================================================

专用空间推荐(免备案的哦!)

https://www.ikshuju.cn/product/virtualhost/type/hkhost

========================================================

1、将主程序文件 上传到空间根目录并解压

2、上传数据库文件“sjk.sql”

3、修改数据库配置文件:

友价房产系统源码:https://www.songzifc.cn/post/7467.html

用EditPlus或者dreamweaver打开config\config.php修改数据库配置文件,里面已经有标注

4、至此,已经安装好了,,

5、进入后台,修改成你自己的设置信息

后台:访问https://您的域名/fcwmanage/

账号:admin

密码:www.songzifc.cn

========================================================

专用空间推荐(免备案的哦!)

https://www.ikshuju.cn/product/virtualhost/type/hkhost

========================================================

关于主机伪静态配置

伪静态规则是.htaccess这个文件,规则都是直接放在根目录的

建议联系自己的主机商协助或者看主机商提供的教程!

后台提示有脚本入侵的,可以参照下列的教程操作

【虚拟主机或linux/nginx主机】存在可执行脚本权限漏洞,有被注入并运行木马的风险的解决方法

本文适用于虚拟主机或LINUX主机的用户朋友,因为虚拟主机或LINUX的主机

不方便直接操作目录权限(即使操作了,也不完全能修复)


因此我们是通过设置伪静态的方法,来实现漏洞修复,具体步骤如下:

========================================================

专用空间推荐(免备案的哦!)

https://www.ikshuju.cn/product/virtualhost/type/hkhost

========================================================

一、伪静态规则是.htaccess的用户参照这里:

打开.htaccess,将以下代码复制在这个文件底部,保存即可。

RewriteRule upload/(.*).(PHP)$ – [L,NC] 

RewriteRule upload/(.*).(asp)$ – [L,NC] 

RewriteRule upload1/(.*).(php)$ – [L,NC] 

RewriteRule upload1/(.*).(asp)$ – [L,NC] 

RewriteRule upload2/(.*).(php)$ – [L,NC] 

RewriteRule upload2/(.*).(asp)$ – [L,NC] 

RewriteRule upload3/(.*).(php)$ – [L,NC] 

RewriteRule upload3/(.*).(asp)$ – [L,NC] 

RewriteRule ad/(.*).(PHP)$ – [L,NC] 

RewriteRule ad/(.*).(asp)$ – [L,NC] 

RewriteRule uploadfile/(.*).(php)$ – [L,NC] 

RewriteRule uploadfile/(.*).(asp)$ – [L,NC] 

RewriteRule userphoto/(.*).(php)$ – [L,NC] 

RewriteRule userphoto/(.*).(asp)$ – [L,NC] 

RewriteRule attached/(.*).(php)$ – [L,NC] 

RewriteRule attached/(.*).(asp)$ – [L,NC]

RewriteRule img/(.*).(php)$ – [L,NC] 

RewriteRule img/(.*).(asp)$ – [L,NC]


二、伪静态规则是httpd.ini的用户参照这里:

打开httpd.ini,将以下代码复制在这个文件底部,保存即可。

RewriteRule /config/ueditor/php/upload/(.*).PHP$ /css/ [I]

RewriteRule /config/ueditor/php/upload/(.*).asp$ /css/ [I]

RewriteRule /config/ueditor/php/upload1/(.*).php$ /css/ [I]

RewriteRule /config/ueditor/php/upload1/(.*).asp$ /css/ [I]

RewriteRule /config/ueditor/php/upload2/(.*).php$ /css/ [I]

RewriteRule /config/ueditor/php/upload2/(.*).asp$ /css/ [I]

RewriteRule /config/ueditor/php/upload3/(.*).php$ /css/ [I]

RewriteRule /config/ueditor/php/upload3/(.*).asp$ /css/ [I]

RewriteRule /config/ueditor_mini/php/upload/(.*).php$ /css/ [I]

RewriteRule /config/ueditor_mini/php/upload/(.*).asp$ /css/ [I]

RewriteRule /config/ueditor_mini/php/upload1/(.*).php$ /css/ [I]

RewriteRule /config/ueditor_mini/php/upload1/(.*).asp$ /css/ [I]

RewriteRule /config/ueditor_mini/php/upload2/(.*).php$ /css/ [I]

RewriteRule /config/ueditor_mini/php/upload2/(.*).asp$ /css/ [I]

RewriteRule /config/ueditor_mini/php/upload3/(.*).php$ /css/ [I]

RewriteRule /config/ueditor_mini/php/upload3/(.*).asp$ /css/ [I]

RewriteRule /ad/(.*).php$ /css/ [I]

RewriteRule /ad/(.*).asp$ /css/ [I]

RewriteRule /img/(.*).php$ /css/ [I]

RewriteRule /img/(.*).asp$ /css/ [I]

RewriteRule /userphoto/(.*).php$ /css/ [I]

RewriteRule /userphoto/(.*).asp$ /css/ [I]

RewriteRule /upload/(.*).php$ /css/ [I]

RewriteRule /upload/(.*).asp$ /css/ [I]

RewriteRule /ckeditor/attached/(.*).php$ /css/ [I]

RewriteRule /ckeditor/attached/(.*).asp$ /css/ [I]

RewriteRule /config/loveedit/uploadfile/(.*).PHP$ /css/ [I]

RewriteRule /config/loveedit/uploadfile/(.*).asp$ /css/ [I]

========================================================

专用空间推荐(免备案的哦!)

https://www.ikshuju.cn/product/virtualhost/type/hkhost

========================================================

三、nginx伪静态的,参考如下:

将以下规则复制进伪静态文件里即可

location ~* ^/((.*)upload|ad|img|ckeditor\/attached|(.*)upload1|(.*)upload2|(.*)upload3)/.*\.(php|php5|asp)$

{

deny all;

}


四、IIS7,建立一个UTF8格式的文件,命名为web.config,将以下代码复制到这个文件中

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

    <system.webServer>

        <handlers accessPolicy="Read" />

    </system.webServer>

</configuration>

然后将这个文件web.config传到后台提示的漏洞文件夹中

本文由站长原创或收集,不代表本站立场,如若转载,请注明出处:https://www.songzifc.cn/post/7468.html

联系我们

站长QQ:2256504476

站长邮件:2256504476@qq.com

工作时间:周一至周五,9:30-18:30,节假日休息

QR code