2017年12月7日

摘要: http://www.cppblog.com/jerryma/archive/2009/07/23/90947.html 归零:用最简单的程序测试 阅读全文
posted @ 2017-12-07 22:32 lydstory 阅读(249) 评论(0) 推荐(0)
摘要: count=5 while count>0: print 'i love python' count=count-1 else: print 'over' 阅读全文
posted @ 2017-12-07 22:13 lydstory 阅读(222) 评论(0) 推荐(0)
摘要: 本回答由电脑网络分类达人 系统推荐 本回答由电脑网络分类达人 系统推荐 阅读全文
posted @ 2017-12-07 22:04 lydstory 阅读(4476) 评论(0) 推荐(0)
摘要: 转载:https://www.cnblogs.com/welkinwalker/archive/2011/10/20/2218804.html 阅读全文
posted @ 2017-12-07 18:43 lydstory 阅读(116) 评论(0) 推荐(0)
摘要: 参数 包含要复制的数据的 Array。 一个 32 位整数,它表示 sourceArray 中复制开始处的索引。 接收数据的 Array。 一个 32 位整数,它表示 destinationArray 中存储开始处的索引。 一个 32 位整数,它表示要复制的元素数目。 2. 阅读全文
posted @ 2017-12-07 16:21 lydstory 阅读(312) 评论(0) 推荐(0)
摘要: .NET框架用IPEndPoint 对象来表示一个特定的IP地址和端口的组合,应用该对象的场景多是在讲socket绑定到本地地址或者将socket绑定到非本地地址。 阅读全文
posted @ 2017-12-07 13:51 lydstory 阅读(302) 评论(0) 推荐(0)
摘要: 之前在写内存注入的时候,寻找IAT表都是手动计算的,后来发现可以直接用结构体,在结构体的赋值那里不是很懂,于是便写了个简单的程序来测试 阅读全文
posted @ 2017-12-07 11:08 lydstory 阅读(2794) 评论(0) 推荐(0)
摘要: struct HeatPdu{ UInt16 header; UInt8 Mac[6]; UInt16 RequestId; UInt8 Code; UInt8 SubCode; UInt16 DataLength; UInt8 data[0];}; 任何网络包的解析 --》 结构体 阅读全文
posted @ 2017-12-07 10:58 lydstory 阅读(144) 评论(0) 推荐(0)

2017年12月6日

摘要: UInt64 hl64ton(UInt64 host){ UInt64 ret = 0; UInt64 high,low; low = host & 0xFFFFFFFF; high = (host >> 32) & 0xFFFFFFFF; low = htonl(low); high = hton 阅读全文
posted @ 2017-12-06 23:40 lydstory 阅读(609) 评论(0) 推荐(0)
摘要: 今天发现一个inline 引起undefined reference to 问题, 刚开始 以为是链接库 找不到的问题,以为是makfile 或者的 文件没有编译进去 调整2,3小时 不得解释 最终解决方法: 添加一个类的另一个方法,GetText() 调用居然成功,还是类成员函数的问题 最后去掉i 阅读全文
posted @ 2017-12-06 17:24 lydstory 阅读(133) 评论(0) 推荐(0)

导航