自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 CRC校验的学习

感受:知其然而知所以然才是学习,模糊的学习最为致命。 crc校验的原理:二进制数的除法与异或(模2)运算 算法实现: 1)概念定义法直接实现:将被除数左移,如果最高位为1,则取异或,为0,则继续左移。直至被除数为0 2)普遍的算法实现: bit位移(以字节为单位) 查表(以字节为单位) question: 以字...

2018-08-15 19:04:07 226

原创 C/C++端口扫描(单线程)

单线程的扫描,多线程待优化#include "stdio.h"#include "sys/socket.h"#include "sys/time.h"#include "sys/types.h"#include "string.h"#include "unistd.h"#in

2018-08-12 14:36:30 1138

原创 syn包发送(拒绝攻击,但是有问题)

实现上的问题:rst报文无法阻断#include "stdio.h"#include "sys/socket.h"#include "sys/time.h"#include "sys/types.h"#include "string.h"#include "unistd.h"#include "netdb.h"#include "time

2018-08-11 21:10:07 1560 1

原创 proxy C++

很久以前写着玩的,无任何参考意义,仅仅熟悉socket编程#include "iostream"#include "sys/socket.h"#include "string.h"#include "unistd.h"#include "sys/types.h"#include "netdb.h"#include "netinet/in.h"#in

2018-08-10 20:13:07 337

原创 mail邮件 C++

一个简单到简陋的email发送实现(base64编码借鉴了网上代码)#include "iostream"#include "netinet/in.h"#include "netdb.h"#include "string.h"#include "unistd.h"#include "sys/socket.h"#include "sys/types.h"

2018-08-10 20:09:09 3644

原创 C线程池

参考无数大神后的自己的简陋的,难看的,不值一提的线程池(c++下编译,c编写,搞不清是啥了。。。c应该能编译)#include "pthread.h"#include "stdio.h"#include "stdlib.h"struct Job{ void*(*callback_function)(void*); void*

2018-08-10 10:10:34 424

原创 C/C++ ping

第一篇博客(好吧,只是感觉这个比百度云盘方便。。。) 我不懂嘛东东,外专业的垃圾。希望某位大佬看到我的拙劣代码(不具有任何参考意义),不要介意。千万不要喷我,谢谢谢谢。#include "sys/socket.h"#include "sys/types.h"#include "stdio.h"#include "stdlib.h"#include

2018-08-10 10:05:07 595

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除