首页 > TAG信息列表 > lec

mit 6/824 lec 6 raft1

6.1 脑裂 (split brain) 容错系统,存在多个副本,但是需要单个节点来决定在多个副本中,谁是主(Primary) 这种情况下会产生脑裂 脑裂的解决方式: 构建不可能出现故障的网络。比如连接了CPU和内存的线路就是不可能出现故障的网络,要花很多钱 人工解决。在客户端需要等待两个服务器响应

lec-1-Deep Reinforcement Learning, Decision Making, and Control

What is RL 基于学习的决策的数学形式 从经验中学习决策和控制的方法 Why should we study this now 深度神经网络特征方法 强化学习的提升 计算能力的提升 我们还需要解决哪些其他问题才能实现现实世界的顺序决策? 1.如何学习 Learning from reward 基本的强化学习处理的是最大

Format String Vulnerability Shellcode Lec&Lab 格式化字符串漏洞获取root权限

Format String Vulnerability Lec&Lab--Part 2 Shellcode 本文作者:对酒当歌、边城 Lec 2、为了顺利完成下节课,建议仔细阅读下面这篇文章的Level 9部分: https://infamoussyn.com/2013/09/11/smashthestack-io-walkthrough-part-b-levels-6-10/ https://tomasuh.github.io/2015/01/1

Format String 格式化字符串 Lec&Lab solution seed

FormatString 本文作者:对酒当歌、边城 Pre 1、查看这段代码的执行结果,解释%.20d 和%hn 的含义。 main() { int num=0x41414141; printf("Before: num = %#x \n", num); printf("%.20d%hn\n", num, &num); printf("After: num = %#x \n", num); } gcc pre.c -o

Race Condition Vulnerability Lab &Lec Solution Seed

Race Condition Vulnerability Lab Solution Seed 本文作者:对酒当歌、边城 Lec 1、linux下用open函数打开文件时,要是采用O_WRONLY模式为何容易产生竞争条件漏洞?换成 O_WRONLY | O_CREAT | O_EXCL 模式后情况会如何? open 函数用于打开和创建文件。open()的调用格式为 int open(cons