小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

ecshop 完整去版權(quán)和去后門(mén)

 昵稱69478410 2020-04-11

完整去掉版權(quán)和后門(mén)的方法:

去ECSHOP版權(quán),去官方后門(mén),完整版

作者:阿牛

ECShop是一款B2C獨(dú)立網(wǎng)店系統(tǒng),適合企業(yè)及個(gè)人快速構(gòu)建個(gè)性化網(wǎng)上商店。系統(tǒng)開(kāi)源但不免費(fèi),是基于PHP語(yǔ)言及MYSQL數(shù)據(jù)庫(kù)構(gòu)架開(kāi)發(fā)的跨平臺(tái)開(kāi)源程序。目前最新版本為2.7.3 0708版。

1、首先,去掉TITLE中的“Powered by ECShop”

(請(qǐng)注意,請(qǐng)勿用記事本編輯程序,可推薦使用EDITPLUS,小巧好用?。?/p>

打開(kāi)文件:includes/lib_main.php

查找:$page_title = $GLOBALS[’_CFG’][’shop_title’] . ‘ - ‘ . ‘Powered by ECShop’;

將其改為

$page_title = $GLOBALS[’_CFG’][’shop_title’];

2、去掉頁(yè)腳的版權(quán)信息,防止版權(quán)信息亂飛。

在ecshop根目錄/themes/當(dāng)前模板名/library/page_footer.lbi中, 找到如下代碼并刪除:

<a href="http://www." target="_blank" style="font-size:10px">Powered by <strong><span style="color: #3366FF">ECShop</span> <span style="color: #FF9966">{$ecs_version}</span></strong></a><br />

刪掉底部ecshop的logo,可選操作

默認(rèn)模板:在ecshop根目錄/themes/default/library/page_footer.lbi, 找到如下代碼:

<img src="../images/footer-logo.gif" alt="" id="footer-logo" />

將其刪掉即可.

3、修改文件代碼頭部的Generator標(biāo)記,可防止其他程序識(shí)別為ECSHOP

修改文件:includes/cls_ecshop.php

查找:

define('APPNAME', 'ECSHOP');

修改為:

define('APPNAME', '自定義的網(wǎng)站代號(hào)');

4、修改文件:js/common.js

查找:onload = function() 代碼段,全部刪除

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

(2)去掉ECSHOP官方的后門(mén)檢測(cè)程序。代碼

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

1、修改文件:admin/shop_config.php

查找:$spt .= '"></script>';

在之后添加一行:

$spt = '';或者直接注釋掉;

2、修改文件:admin/templates/index.htm

查找:

  <frameset rows="0, 0" framespacing="0" border="0">

  <frame src="http://api./record.php?mod=login&url={$shop_url}" id="hidd-frame" name="hidd-frame" frameborder="no" scrolling="no">

  </frameset>

刪除或注釋

3、在MYSQL數(shù)據(jù)庫(kù)的數(shù)據(jù)表:shop_config中查找字段code值為 certi 的記錄,其值為:http://service./openapi/api.php ,修改為一個(gè)錯(cuò)誤的網(wǎng)址!

如:http://xxxxxxxxxx/openapi/api.php

4、修改文件:admin/templates/top.htm

查找:

Ajax.call('index.php?is_ajax=1&act=license','', start_sendmail_Response, 'GET', 'JSON');

注釋或刪除掉

5、修改文件:admin/templates/menu.htm

查找:

<script language="JavaScript" src="http://api./menu_ext.php?charset={$charset}&lang={$help_lang}"></script>

注釋或刪除掉

6、修改文件:admin/templates/start.htm

查找:

<ul style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">

 <!-- <script type="text/javascript" src="http://bbs./notice.php?v=1&n=8&f=ul"></script>-->

</ul>

注釋或刪除掉

7、修改文件:admin/index.php

查找:

$t = new transport;

        $api_comment = $t->request('http://api./checkver.php', $apiget);

        $api_str = $api_comment["body"];

        echo $api_str;

注釋或刪除掉

8、刪除后臺(tái)所有默認(rèn)的友情鏈接以及默認(rèn)LOGO

9、修改后臺(tái)管理中相關(guān)文字

打開(kāi)language/zh_cn/admin/common.php

$_LANG['cp_home'] = 'ECSHOP 管理中心';

$_LANG['copyright'] = '版權(quán)所有 ? 2005-2009 上海商派網(wǎng)絡(luò)科技有限公司,并保留所有權(quán)利。';

其他后門(mén)修改,如下所示:

1、刪除【云服務(wù)中心】

刪除/admin/cloud.php

刪除/admin/templates/menu.htm中以下代碼

Ajax.call('cloud.php?is_ajax=1>act=menu_api','', start_menu_api, 'GET', 'JSON');

刪除/admin/templates/start.htm中以下代碼

Ajax.call('cloud.php?is_ajax=1>act=cloud_remind','', cloud_api, 'GET', 'JSON');

function cloud_close(id)

{

Ajax.call('cloud.php?is_ajax=1>act=close_remind>remind_id='+id,'', cloud_api, 'GET', 'JSON');

}

刪除/languages/zh_cn/admin/cloud.php

2、刪除【數(shù)據(jù)庫(kù)管理】-【轉(zhuǎn)換數(shù)據(jù)】

刪除/admin/convert.php

刪除/admin/templates/convert_main.htm

刪除/languages/zh_cn/convert目錄及目錄下的所有文件

刪除/languages/zh_cn/admin/convert.php

/admin/includes/inc_menu.php中刪除以下代碼

$modules['13_backup']['convert'] = 'convert.php?act=main';

/admin/includes/inc_priv.php中刪除以下代碼

$purview['convert'] = 'convert';

/languages/zh_cn/admin/priv_action.php中刪除以下代碼

$_LANG['convert'] = '轉(zhuǎn)換數(shù)據(jù)';

3、刪除【系統(tǒng)設(shè)置】-【授權(quán)證書(shū)】

刪除/admin/license.php

刪除admin/templates/license.htm

刪除/admin/includes/inc_menu.php中以下代碼

$modules['11_system']['shop_authorized'] = 'license.php?act=list_edit';

刪除/languages/zh_cn/admin/priv_action.php中以下代碼

$_LANG['shop_authorized'] = '授權(quán)證書(shū)';

4、刪除后臺(tái)右上角【幫助】和【關(guān)于ECSHOP】

刪除/admin/templates/top.htm中以下代碼

<li><a href="/knowledge/used.html?act=about_us" target="main-frame">{$lang.about}</a></li>

<li><a href="javascript:web_address();">{$lang.help}</a></li>

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買(mǎi)等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章