资源简介
2017最新淘宝客程序,内部优惠券,9块9包邮,全自动采集 手机wap版,可封包app
代码片段和文件信息
/***********************************************************************
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 < len; 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 - 7) || (m > n - 4)) return NULL;
n = m;
}
result = (unsigned char *)emalloc(n + 1);
for (i = 0; i < n; 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);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-08-29 23:03 bg\
文件 6257 2017-04-28 18:45 bg\1daohang.png
文件 1258 2017-04-27 09:07 bg\bg.png
文件 5492 2017-04-28 18:58 bg\daohang.png
目录 0 2017-08-29 23:03 data\
目录 0 2017-08-29 23:03 data\backup\
目录 0 2017-08-29 23:03 data\backup\dgwl20170502_1\
文件 5205654 2017-09-10 20:05 data\backup\dgwl20170502_1\dgwl20170502_1_1.sql
文件 5241462 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_10.sql
文件 5241699 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_11.sql
文件 5242798 2017-09-10 20:05 data\backup\dgwl20170502_1\dgwl20170502_1_12.sql
文件 2564296 2017-09-10 19:56 data\backup\dgwl20170502_1\dgwl20170502_1_13.sql
文件 5242782 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_2.sql
文件 5241883 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_3.sql
文件 5241929 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_4.sql
文件 5242236 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_5.sql
文件 5242023 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_6.sql
文件 5239462 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_7.sql
文件 5241805 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_8.sql
文件 5241131 2017-05-02 19:07 data\backup\dgwl20170502_1\dgwl20170502_1_9.sql
目录 0 2017-08-29 23:03 data\config\
目录 0 2017-08-29 23:03 data\config\admin\
文件 76 2012-12-06 13:40 data\config\admin\config.php
文件 824 2017-04-26 21:07 data\config\config - 副本.php
文件 824 2017-05-02 19:03 data\config\config.php
文件 189 2017-04-26 20:06 data\config\db.php
目录 0 2017-08-29 23:03 data\config\index\
文件 383 2017-04-26 16:17 data\config\index\config.php
目录 0 2017-08-29 23:03 data\config\m\
文件 327 2017-04-26 16:17 data\config\m\config.php
文件 499 2016-11-26 11:33 data\config\pay.php
............此处省略4939个文件信息
- 上一篇:Examples.zip
- 下一篇:光伏数据.xlsm
相关资源
- Quartus小程序实现
- 海康网络相机利用SDK 多线程读取图像
- 2015~2017软考程序员试卷及答案分析
- Cass9.1(GBT 20257.1-2017图式符号)修补程
- 《C程序设计第三版》谭浩强 编著
- STM32 控制步进电机程序
- 《微信小程序开发入门及案例详解》
- Axure元件库、微信小程序元件库、楼老
- 计算机病毒与木马程序设计剖析
- 台达 触摸屏程序
-
顶尖 标签秤 M3 系列程序 li
nk65 - Arduino编程指南-75个智能硬件程序设计
- 东芝 J60 J61 驱动程序
- SWD协议的研究及ARM程序器的设计
- CCF中学生计算机程序设计入门篇清晰
- 淘宝客微信小程序源码前端+后台
-
三菱FX-2N CC-li
nk 程序与资料 - QT编写的RFID测试程序新版
- 黑马程序员Vue深入浅出视频代码
- 黑马程序员-Linux网络编程课件
- 4路usbDVR驱动和程序
- OpenInventor程序设计从入门到精通
- STM8+BLDC程序&&原理图
- LSP分层服务提供程序
- stm32f030 051青风全套教程和程序例程
- 基于STM32L151的物联网LORA程序
- 等值线小程序
- max cpm-100hc标签机 驱动程序 for xp
- 易游支付平台定制支付程序(带注册
- 连接wifi程序
评论
共有 条评论