Posts
libpcap、tcpdump以及kernel/net的部分源码阅读
· ☕ 17 min read
Begin 本文起因是操作系统课设任务新增系统调用,当时想法是新增一个网络抓包功能的系统调用,类似于简化版的tcpdump和kernel的缝合,所以就

MIT 6.824 lab
· ☕ 4 min read
According to Collaboration Policy, detailed code will not be placed here. Just record the problems encountered during the lab. Pre go env 1 2 3 sudo apt install go go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.io,direct source code 1 2 3 git clone git://g.csail.mit.edu/6.824-golabs-2020 6.824 cd 6.824 go mod init 6.824-lab Lab1:MapReduce 前置知识:Go & net/rpc 题目中 src/mrapps/wc.go 中是已经

DLL注入及DLL劫持简单学习
· ☕ 14 min read
static library and dynamic library 静态库空间浪费 静态库对程序的更新、部署和发布页会带来麻烦 动态库在程序编译时并不会被连接到目标代码中,而是在程序运行是才被载入。不同

操作系统课程设计
· ☕ 13 min read
前言 操作系统课设上来就是远古版本2.4kernel,原地怀疑题目是不是复用了十多年了。虽然疯狂吐槽 还是想编译试试看. 要求添加系统调用,想着是

递归下降语法分析器的构建
· ☕ 3 min read
针对给定语法设计递归下降分析程序,以对任意输入的符号串进行语法分析。语法如下 1 2 3 4 5 exp -> exp addop term | term addop -> + | - term = term mulop factor | factor mulop = * factor = ( exp )

2021CTF WP
· ☕ 11 min read
2021西湖论剑 Yusa的密码 一个镜像文件,一个加密压缩包 题目有五个彩蛋 1 2 3 4 5 egg1 yusa姐姐很担心比赛时平台卡得崩溃,为此彻夜难眠 egg2 yu

pcap和pcapng格式的一点研究
· ☕ 6 min read
前言 这次L3HCTF跟着队友混了个冠军。 在看官方a-sol的wp的时候看到一个脚本中有如下代码,直接运行会报错。ValueError: invalid tcpdump header

CS231 Convolutional Neural Networks for Visual Recognition——Stanford
· ☕ 2 min read
Where is article comes from? An idea of a pornography detection project for ciscn 2021. And when searching on Google, I came accross a report from cs231n named Combining CNNs for detecting pornography in the absence of labeled training data. 历史介绍 人们提出一个问题:我们是否具备了识别真实世界中的每一

CSAPP&NJU MOOC
· ☕ 6 min read
数据表示和存储 定点数和浮点数 计算机中只能通过约定小数点的位置来表示 定点数——小数点位置约定在固定位置的数 浮点数——小数点位置约定为可浮动的数

CS229 Machine Learning——Andrew Ng——Stanford
· ☕ 43 min read
1 Introduction what is machine learning supervised learning supervised learning regression problem predict a continuous valued output classification problem predict a discrete valued output SVM(Support Vector Machine) is a kind of generalized linear classification that classifies data by supervised learning unsupervised learning unsupervised learning Cluster Algorithm Google news Facebook friends 2. Linear Regression with One Variable 2.1 Model Representation Linear regression with one variable. Univariate linear regression. m —— the number of training examples