上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: ##知识点归纳 TCP/IP协议 TCP/IP 是互联网的基础。TCP代表传输控制协议。IP代表互联网协议。目前有两个版本的IP,即IPv4和IPv6。IPv4使用32位地址,IPv6则使用128位地址。 本节围绕IPv4进行讨论,它仍然是目前使用最多的IP版本。 TCP/IP的组织结构分为几个层级 阅读全文
posted @ 2021-11-28 19:53 191206 阅读(60) 评论(0) 推荐(0) 编辑
摘要: ##知识点归纳 I/O缓冲区:内核中的一系列NBUF缓冲区用作缓冲区缓存。每个缓冲区用一个结构体表示。 typdef struct buf{ struct buf *next_free; //freelist pointer struct buf *next_dev; //dev_list poin 阅读全文
posted @ 2021-11-21 20:41 191206 阅读(53) 评论(0) 推荐(0) 编辑
摘要: ##知识点归纳 Unix/Linux支持31种不同的信号,每种信号在signal.h文件中都有定义。 #define SIGHUP 1 #define SIGINT 2 #define SIGQUIT 3 #define SIGILL 4 #define SIGTRAP 5 #define SIGA 阅读全文
posted @ 2021-11-14 19:07 191206 阅读(41) 评论(0) 推荐(0) 编辑
摘要: ##知识点归纳 定时器是由时钟源和可编程计数器组成的硬件 时钟源通常是一个晶体震荡器,产生周期性电信号 当计数器减为0时,向CPU生成定时器中断 当CPU遇到异常时,会进行预设的异常处理 中断是外部设备请求CPU服务 CPU是否处理中断取决于它的状态寄存器是否屏蔽了中断 ##问题与解决思路 中断是如 阅读全文
posted @ 2021-11-07 22:04 191206 阅读(241) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/LJFedu/p/15521957.html 阅读全文
posted @ 2021-11-07 22:02 191206 阅读(34) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/LJFedu/p/15490753.html 阅读全文
posted @ 2021-10-31 22:40 191206 阅读(24) 评论(0) 推荐(0) 编辑
摘要: ##知识点归纳 ##问题和解决思路 ####pthread_cancel()不能杀死线程 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <unistd.h> 4 #include <pthread.h> 5 #include <strin 阅读全文
posted @ 2021-10-31 22:36 191206 阅读(40) 评论(0) 推荐(0) 编辑
摘要: ##树莓派安装openEuler 博客链接 ##树莓派安装openssl 娄老师博客 修改环境变量 在/etc/profile中加入 export PATH="/root/dopenssl/bin/:$PATH" export LD_LIBRARY_PATH="/root/dopenssl/lib: 阅读全文
posted @ 2021-10-31 22:35 191206 阅读(92) 评论(0) 推荐(0) 编辑
摘要: ##思路 一个简单的缓冲区溢出攻击,差不多就这几歩: 找到堆栈中函数的返回地址 利用缓冲区溢出,修改堆栈中函数的返回地址为我们期望的shellcode地址 编写shellcode,并将它放在修改后的函数返回地址处 通常我们可以使用jump esp作为跳板,简化shellcode存放地址。 即,将函数 阅读全文
posted @ 2021-10-31 22:34 191206 阅读(379) 评论(0) 推荐(0) 编辑
摘要: T1.c 1 #include <stdio.h> 2 int g = 1203; 3 int h; 4 static int s; 5 6 int main(int argc,char *argv[]){ 7 int a = 1,b; 8 static int c = 3; 9 b = 2; 10 阅读全文
posted @ 2021-10-31 22:33 191206 阅读(49) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页