MyQQ(DosQQ) 超小的精简QQ DEV-C++ 源码

上传者: hyc320 | 上传时间: 2022-09-21 09:08:02 | 文件大小: 179KB | 文件类型: ZIP
MyQQ is a cross-platform library for communication which uses a TencentQQ-like protocol to communicate with friends on the Internet. It can work well now and maintained by Xiaoxia (gdxxhg@gmail.com). If you are interested in MyQQ and have improved it, I suggest you that you send your source code to me then everyone will know your work and thank you! You can get the latest version of this software (including its source code) at http://home.xxsyzx.com 注意:本软件以及源代码仅供学习研究使用。所用协议皆属个人业余的黑匣分析结果。 Developer List: 小虾 (gdxxhg@gmail.com) 千月(改进myqq.c界面) ccpaging Windows编译: 需要Mingw32(Devcpp的bin也可以)。 打开控制台,在当前目录下执行 make -C src clean all Linux编译: 在终端里执行 make -C src -flinux.mak clean all MacOSX编译: 在终端里执行 make -C src -fmac.mak clean all 由于最初没有周全考虑,目前版本暂时不兼容64位的机器,望见谅! Update History: Version 3.17 (2009-6-30) 1. 修正发送消息后头像的变化。 2. 修正09SP1接收信息的bug。 3. 修正0x18包中获取好友失败时的内存访问错误。 4. 修正09SP1系统消息协议。 5. 盲目修正09接收消息的bug。 6. 增加qqconn.c,支持代理登录。 Version 3.16 (2009-6-27) 1. 增加NoColor配置项关闭色彩文字。 2. 增加cls/clear/clrscr命令来清屏。 3. 提示消息发送失败,但不具体。 Version 3.15 (2009-6-24) 1. 增加qqclient_detach()。 2. 编写成libqq,供外部程序调用。 Version 3.14 (2009-6-21) 1. 命令行参数方式登录失败后的死循环。 2. 内核使用QQ2009SP1协议。 3. 修正08之前接收消息的bug。 4. 兼容Mac32。 5. utf8.c里添加qqdef.h头文件。 Version 3.13 (2009-3-29) 1. Linux(Ubuntu) version compiled! Version 3.12 (2009-3-22) 1. 用Windows的Sleep代替不推荐的_sleep。 2. 在Mingw32-gcc4.3.3上编译成功。 Version 3.11 (2009-2-8) 1. 输入验证码提示。 2. 修正myqq.c删除好友的bug。 3. 修正添加附言的bug。 Version 3.10 (2009-2-7) 1. 修正09接收消息协议。 2. 全部源代码文件更改为UNIX-UTF8格式。 3. 增加Preference来自定义屏蔽部分协议。 4. 增加添加、删除好友基本协议,支持验证码。 5. 登录后更改状态。 6. 登录机器数据随机填充。 7. 修正myqq.c里无法打印某些消息的bug。 Version 3.08 (2009-1-27) 1. 修正myqq.c里显示好友状态。 2. 修正因缺少pthread_mutex_destroy引起的资源泄漏(可以检测到)。 3. 修正好友数目多时导致分组信息与群信息未能获取的问题。 4. 10分钟刷新群在线成员。 5. 自动建立qqconfig.txt配置文件。 Version 3.03 (2009-1-26) 1. 修正prot_im.c中buf->pos += get_word( buf );在Linux上运行时发生的错误。 2. 编译Linux版本。 3. qqconfig.txt缺失提示。 Version 3.00 (2009-1-25) 1. 更换QQ2008贺岁版协议为QQ2009Preview4协议。 2. 全面使用utf8,myqq.c为Windows用户转换为gb。 3. 移除所有多余,功能不确切的协议处理函数。 4. 能够接收08,09协议的好友消息与群消息。 5. 处理消息中的表情字符,转换成[face:*]以及[image]来表示。 Version 2.95 (2008-10-26) 1. 处理返回NULL的可能。 2. 服务器列表由配置文件导入。 Version 2.9 (2008-10-1) 1. 支持字符颜色显示。 2. 中文字符界面。 3. 补充了几个新的服务器IP。 4. 输入密码时去掉回显或打*。 5. 修正prot_login_verify_password_reply处理返回包的误解,感谢CC-Akita(CCPaging)。 6. 增加Dev-cpp工程文件,增加程序图标。 7. Makefile里定向pthread库,便于不同环境的编译。 Version 2.8 (2008-8-3) 1. Linux Build Support. Version 2.7 (2008-8-2) 1. 使用上次登录IP,加快多Q登录速度。 2. 修正list.c里添加项在满时没有返回<0的漏洞。 3. 在登录未完成时,不接收消息。 Version 2.6 (2008-7-27) 1. 登录中的未知字节用0填充,原来是用随机数。 2. 根据文档,进一步完善登录协议,但还是没有解决验证码的出现问题。 Version 2.5 (2008-7-26) 1. 修正一个发包的bug,包被送进已发送队列之后time_alive应该为当前时间。之前因为 这个问题,导致一个包超时其他包也要重发? 2. 恢复注销命令(没有这个,怎么下线呢)。 3. 登录首先获取所有钥匙,避免出现登录后被Kick out。 4. 感谢网友008的提醒,号码格式化字符%d已被替换为%u。 Version 2.4 (2008-7-24) 1. 好友添加。 2. Packed with pthread library. 3. 删除注销命令(可能引发异常) 4. 重发时长为6秒 Version 2.3 (2008-7-22) New features: 1. 支持UDP协议登录。 2. 调整了登录后的发包次序。 3. 好友使用qsort快排。 4. 完善了event的缓冲区,和以前的webqq结合使用。 5. 使用assert函数,便于精简发布版本的代码。 Version 2.0 (2008-7-17) New featrues: 1. 包管理器的链表改用loop数据结构,精简代码,减少错误。 2. (--a)%b可能为负数,原来没注意到,引发了改写mcb的内存错误。 3. 发包序号策略改善,不再每次发包都递增。 Version 1.9 (2008-7-15) New features: 1. 重新策划程序,采用QQ2008贺岁版协议。 2. 原来的group改名为qun,原group被用作管理好友分租。 3. 增加memory.c内存管理和debug.c调试信息及日志记录。 4. ccpaging建议改掉qqqun这个结构名,我打算下个版本把它改为qun_t,其它类似如 member_t, group_t, buddy_t。 5. 具备登录输入验证码功能,验证码图片保存在web/verify目录下。 6. 修正qqsocket里接收数据溢出。 Version 0.9 (2008-2-12) New features: 1. MyQQ库可以登录多个ID,API全部更新。 2. 修正好友名称里混有QQ号码和特殊字符。 3. 完善了好友状态回调。 4. 延长了重发包的时间,避免发送两次。 5. 修正在自动回复时控制台提示的问题。 6. 回调函数全部使用stdcall模式。 Version 0.6 (2008-2-5) New features: 1. Wait for message to send. 2. Improve input. 3. Check for repeated messages. 4. Add refresh command. Version 0.5 (2008-2-4) New features: 1. Send message to group. 2. Get group list. 3. List groups, online users and online group members. 4. Get group member information. 5. Get buddy information. 6. The original interface works. Version 0.1 (2008-2-1) Use QQ2006 Protocol to login. Support Receiving messages from buddies and groups, sending messages to buddies. Compiled and linked on Linux(GCC 4.1, Debian etch). Compiled and linked on Windows(MingwGCC 3.4.2).

文件下载

资源详情

[{"title":"( 76 个子文件 179KB ) MyQQ(DosQQ) 超小的精简QQ DEV-C++ 源码","children":[{"title":"myqq3.17","children":[{"title":"bin","children":[{"title":"i386-windows","children":[{"title":"myqq.exe <span style='color:#111;'> 144.06KB </span>","children":null,"spread":false},{"title":"pthreadGC2.dll <span style='color:#111;'> 58.86KB </span>","children":null,"spread":false},{"title":"qqconfig.txt <span style='color:#111;'> 770B </span>","children":null,"spread":false}],"spread":true},{"title":"i386-linux","children":null,"spread":false}],"spread":true},{"title":"Console.lnk <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"util.c <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"linux.webqq.mak <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"libqq.c <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":"utf8.h <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"protocol.h <span style='color:#111;'> 7.93KB </span>","children":null,"spread":false},{"title":"webqq.h <span style='color:#111;'> 1018B </span>","children":null,"spread":false},{"title":"md5.h <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"qqpacket.c <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"protocol.c <span style='color:#111;'> 7.63KB </span>","children":null,"spread":false},{"title":"group.h <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"qun.h <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"util.h <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"packetmgr.h <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"webqq.c <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"prot_qun.c <span style='color:#111;'> 7.08KB </span>","children":null,"spread":false},{"title":"prot_group.c <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"qqconn.h <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"qqsocket.c <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"loop.h <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"simple_libqq.mak <span style='color:#111;'> 722B </span>","children":null,"spread":false},{"title":"config.h <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"qqpacket.h <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"qqdef.h <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"md5.c <span style='color:#111;'> 10.84KB </span>","children":null,"spread":false},{"title":"crc32.c <span style='color:#111;'> 717B </span>","children":null,"spread":false},{"title":"qqclient.h <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"qqconn.c <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false},{"title":"linux.mak <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"packetmgr.c <span style='color:#111;'> 8.92KB </span>","children":null,"spread":false},{"title":"config.c <span style='color:#111;'> 4.77KB </span>","children":null,"spread":false},{"title":"qqcrypt.c <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"qqsocket.h <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"debug.c <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"buddy.h <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"qqclient.c <span style='color:#111;'> 9.23KB </span>","children":null,"spread":false},{"title":"list.c <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"prot_user.c <span style='color:#111;'> 9.75KB </span>","children":null,"spread":false},{"title":"prot_buddy.c <span style='color:#111;'> 11.79KB </span>","children":null,"spread":false},{"title":"memory.c <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"mac.mak <span style='color:#111;'> 571B </span>","children":null,"spread":false},{"title":"qqcrypt.h <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"utf8.c <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"loop.c <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"buddy.c <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"crc32.h <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"list.h <span style='color:#111;'> 516B </span>","children":null,"spread":false},{"title":"release.mak <span style='color:#111;'> 592B </span>","children":null,"spread":false},{"title":"myqq.c <span style='color:#111;'> 21.72KB </span>","children":null,"spread":false},{"title":"group.c <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"prot_misc.c <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"prot_im.c <span style='color:#111;'> 11.41KB </span>","children":null,"spread":false},{"title":"libqq.mak <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"memory.h <span style='color:#111;'> 959B </span>","children":null,"spread":false},{"title":"webqq.mak <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"webqq.release.mak <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"debug.h <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"prot_login.c <span style='color:#111;'> 16.76KB </span>","children":null,"spread":false},{"title":"qun.c <span style='color:#111;'> 5.27KB </span>","children":null,"spread":false},{"title":"libqq.h <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"myqq.ico <span style='color:#111;'> 9.44KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"pthread","children":[{"title":"sched.h <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"semaphore.h <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"libpthreadGC2.a <span style='color:#111;'> 87.51KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 133B </span>","children":null,"spread":false},{"title":"pthread.h <span style='color:#111;'> 42.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"myqq.dev <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"MyQQ2009.txt <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"核客安全网简介.txt <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"投稿.txt <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"自己建网站说明.txt <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"核客软件浏览.txt <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明