資源簡介
簡介:
《域名管理系統》主要用于IDC公司內部管理所有域名,其中包括白名單、黑名單、例外等,本系統與金盾抗拒絕防火墻進行數據交互,可實現一鍵過白、刪除、拉黑等功能。
注意:其它防火墻需自動抓包并做相應接口后才能使用。
聲明:本系統為閑時之作,代碼寫的較亂,有不懂的請聯系我。
源碼情況:
框架:Thinkphp 3.2
前端:拼圖
數據庫:mysql
功能:
1、域名管理,包括白名單、黑名單、超時、異常 、例外;歷經2個月測試并隨時修正,目前可應對公司對域名管理的需求。
2、用戶管理,簡單的權限管理,可按需求為不同用戶分配適當的權限。
3、事務管理,用于登記故障、簽到、直通管理等功能,方便部門統計并及時了解員工工作狀態。
4、查詢工具,常用的查詢功能,如資源后臺,域名活動數據,備案查詢,解析和歸屬地查詢。
5、日志模塊,將所有用戶和系統操作記錄日志,方便需要時隨時查詢。
6、計劃任務,更新域名活動數據、審核備案數據、清理異常域名等后臺任務。
7、訂單管理,用于處理服務器訂單。

代碼片段和文件信息
/***********************************************************************
????Copyright?2006-2007?Ma?Bingyao
????These?sources?is?free?software.?Redistributions?of?source?code?must
????retain?the?above?copyright?notice.?Redistributions?in?binary?form
????must?reproduce?the?above?copyright?notice.?You?can?redistribute?it
????freely.?You?can?use?it?with?any?free?or?commercial?software.
????These?sources?is?distributed?in?the?hope?that?it?will?be?useful
????but?WITHOUT?ANY?WARRANTY.?Without?even?the?implied?warranty?of
????MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.
????????You?may?contact?the?author?by:
???????????e-mail:??andot@coolcode.cn
*************************************************************************/
#ifdef?HAVE_CONFIG_H
#include?“config.h“
#endif
#include?“php.h“
#if?HAVE_XXTEA
#include?“php_xxtea.h“
#include?“ext/standard/info.h“?/*?for?phpinfo()?functions?*/
#include?“xxtea.h“
/*?compiled?function?list?so?Zend?knows?what‘s?in?this?module?*/
zend_function_entry?xxtea_functions[]?=
{
????ZEND_FE(xxtea_encrypt?NULL)
????ZEND_FE(xxtea_decrypt?NULL)
????ZEND_FE(xxtea_info?NULL)
????{NULL?NULL?NULL}
};
/*?compiled?module?information?*/
zend_module_entry?xxtea_module_entry?=
{
????STANDARD_MODULE_HEADER
????XXTEA_MODULE_NAME
????xxtea_functions
????ZEND_MINIT(xxtea)
????ZEND_MSHUTDOWN(xxtea)
????NULL
????NULL
????ZEND_MINFO(xxtea)
????XXTEA_VERSION
????STANDARD_MODULE_PROPERTIES
};
/*?implement?standard?“stub“?routine?to?introduce?ourselves?to?Zend?*/
#if?defined(COMPILE_DL_XXTEA)
ZEND_GET_MODULE(xxtea)
#endif
static?xxtea_long?*xxtea_to_long_array(unsigned?char?*data?xxtea_long?len?int?include_length?xxtea_long?*ret_len)?{
????xxtea_long?i?n?*result;
n?=?len?>>?2;
????n?=?(((len?&?3)?==?0)???n?:?n?+?1);
????if?(include_length)?{
????????result?=?(xxtea_long?*)emalloc((n?+?1)?<2);
????????result[n]?=?len;
????*ret_len?=?n?+?1;
}?else?{
????????result?=?(xxtea_long?*)emalloc(n?<2);
????*ret_len?=?n;
????}
memset(result?0?n?<2);
for?(i?=?0;?i?????????result[i?>>?2]?|=?(xxtea_long)data[i]?<((i?&?3)?<3);
????}
????return?result;
}
static?unsigned?char?*xxtea_to_byte_array(xxtea_long?*data?xxtea_long?len?int?include_length?xxtea_long?*ret_len)?{
????xxtea_long?i?n?m;
????unsigned?char?*result;
????n?=?len?<2;
????if?(include_length)?{
????????m?=?data[len?-?1];
????????if?((m??n?-?4))?return?NULL;
????????n?=?m;
????}
????result?=?(unsigned?char?*)emalloc(n?+?1);
for?(i?=?0;?i?????????result[i]?=?(unsigned?char)((data[i?>>?2]?>>?((i?&?3)?<3))?&?0xff);
????}
result[n]?=?‘\0‘;
*ret_len?=?n;
return?result;
}
static?unsigned?char?*php_xxtea_encrypt(unsigned?char?*data?xxtea_long?len?unsigned?char?*key?xxtea_long?*ret_len)?{
????unsigned?char?*result;
????xxtea_long?*v?*k?v_len?k_len;
????v?=?xxtea_to_long_array(data?len?1?&v_len);
????k?=?xxtea_to_long_array(key?16?0?&k_len);
????xxtea_long_encrypt(v?v_len?k);
????result?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????33561??2015-02-12?23:24??Home\Common\Common\function.php
?????文件?????????50??2015-02-12?23:24??Home\Common\Conf\config.php
?????文件???????1111??2015-03-10?20:31??Home\Home\Conf\config.php
?????文件??????10233??2015-02-12?23:24??Home\Home\Controller\AdminController.class.php
?????文件???????1082??2015-02-12?23:24??Home\Home\Controller\BaobiaoController.class.php
?????文件???????8476??2015-02-12?23:24??Home\Home\Controller\BlackController.class.php
?????文件???????4189??2015-02-12?23:24??Home\Home\Controller\BookController.class.php
?????文件????????432??2015-02-12?23:24??Home\Home\Controller\CodeController.class.php
?????文件???????4036??2015-02-12?23:24??Home\Home\Controller\DelController.class.php
?????文件???????6431??2015-02-12?23:24??Home\Home\Controller\DingdanController.class.php
?????文件???????4582??2015-02-12?23:24??Home\Home\Controller\ErrorController.class.php
?????文件???????2983??2015-02-12?23:24??Home\Home\Controller\FinanceController.class.php
?????文件????????163??2015-02-12?23:24??Home\Home\Controller\IndexController.class.php
?????文件???????5437??2015-02-12?23:24??Home\Home\Controller\IpController.class.php
?????文件???????5354??2015-02-12?23:24??Home\Home\Controller\JyController.class.php
?????文件???????1920??2015-02-12?23:24??Home\Home\Controller\KoukuanController.class.php
?????文件???????3434??2015-02-12?23:24??Home\Home\Controller\LiwaiController.class.php
?????文件???????4558??2015-02-12?23:24??Home\Home\Controller\LogController.class.php
?????文件???????3132??2015-03-10?17:22??Home\Home\Controller\LoginController.class.php
?????文件???????1139??2015-02-12?23:24??Home\Home\Controller\PasswdController.class.php
?????文件???????4252??2015-02-12?23:24??Home\Home\Controller\QiandaoController.class.php
?????文件???????3798??2015-02-12?23:24??Home\Home\Controller\SearchController.class.php
?????文件???????2420??2015-02-12?23:24??Home\Home\Controller\SetController.class.php
?????文件???????1602??2015-02-12?23:24??Home\Home\Controller\StartController.class.php
?????文件???????7748??2015-02-12?23:24??Home\Home\Controller\SystemController.class.php
?????文件???????7712??2015-02-12?23:24??Home\Home\Controller\TaskController.class.php
?????文件???????7442??2015-02-12?23:24??Home\Home\Controller\ThingController.class.php
?????文件???????2246??2015-02-12?23:24??Home\Home\Controller\TimeoutController.class.php
?????文件???????8896??2015-02-12?23:24??Home\Home\Controller\WapController.class.php
?????文件??????17275??2015-02-12?23:24??Home\Home\Controller\WhideController.class.php
............此處省略588個文件信息
評論
共有 條評論