Contact ways
Tel: MTg1NDAxODU0MTQ= Email: wang.shaodong@outlook.com Wechat:
Hexo Quick Manual
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
kernel structs pos
struct task_structsched.h struct mm_structmm_types.h current*struct credcred.h
busybox SUID support
开启 busybox对suid的支持,编译busybox前修改配置选项 1234$ chmod u+s /bin/busybox$ cat /etc/busybox.conf[SUID]echo = ssx root.root
kernel image formats
Imagethe generic Linux kernel binary image file. zImagea compressed version of the Linux kernel image that is self-extracting. uImagean image file that has a U-Boot wrapper (installed by the mkimage utility) that includes the OS type and loader information.
cmd patchelf
123# sudo zypper in -y patchelf# patchelf 可以修改可执行文件的 使用的链接器# It can change the dynamic loader ("ELF interpreter") of the executables and change the RPATH of executables and libraries
git tricks
git clone加速下载 如果只需要最新的代码 不需要历史提交记录的时候可以 给git添加参数 –depth =11git clone --depth=1 https://github.com/TheSuperPowerIsRich/OSX-KVM.git
network protocol
rtmp srt
cmd sysctl
123456# 写入配置sudo sysctl -w fs.suid_dumpable=2# 读取配置项sudo sysctl fs.suid_dumpable# 显示 所有的 可以配置的选项sudo sysctcl -a
some tools
硬盘克隆软件再生龙 (Clonezilla)https://clonezilla.org/ 文件恢复软件Diskgeniushttps://www.diskgenius.com/ 系统启动盘软件Ventoy 支持多个iso, 可以启动的时候选择iso镜像文件https://www.ventoy.net/en/index.html