摘要: Redhat 系 # 预备环境 prepare environment mkdir -p ~/rpm-build touch ~/.rpmmacros echo '''%_topdir %(echo $HOME)/rpm-build''' > ~/.rpmmacros # 查询二进文件的包名 rpm 阅读全文
posted @ 2022-03-21 01:28 wangshaodong 阅读(14) 评论(0) 推荐(0) 编辑
摘要: There are 3 different types of shells in bash: the login shell, normal shell and interactive shell. Login shells read ~/.profile and interactive shell 阅读全文
posted @ 2022-03-21 01:11 wangshaodong 阅读(23) 评论(0) 推荐(0) 编辑
摘要: struct task_struct sched.h struct mm_struct mm_types.h current *struct cred cred.h 阅读全文
posted @ 2022-03-21 01:04 wangshaodong 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 开启 busybox对suid的支持 $ chmod u+s /bin/busybox $ cat /etc/busybox.conf [SUID] echo = ssx root.root 阅读全文
posted @ 2022-03-21 01:00 wangshaodong 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Image the generic Linux kernel binary image file. zImage a compressed version of the Linux kernel image that is self-extracting. uImage an image file 阅读全文
posted @ 2022-03-21 00:56 wangshaodong 阅读(40) 评论(0) 推荐(0) 编辑
摘要: # sudo zypper in -y patchelf # patchelf 可以修改可执行文件的 使用的链接器 # It can change the dynamic loader ("ELF interpreter") of the executables and change the RPA 阅读全文
posted @ 2022-03-21 00:43 wangshaodong 阅读(767) 评论(0) 推荐(0) 编辑
摘要: git clone加速下载 如果只需要最新的代码 不需要历史提交记录的时候可以 给git添加参数 --depth =1 git clone --depth=1 https://github.com/TheSuperPowerIsRich/OSX-KVM.git 阅读全文
posted @ 2022-03-21 00:34 wangshaodong 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 列出本地的所有 Key 执行 gpg --list-keys 列出本地所有的密钥 输出结果类似 $ gpg --list-keys /home/$USER/.gnupg/pubring.gpg pub 4 096R/375A500B 2017-03-22 [有效至:2018-03-22] uid G 阅读全文
posted @ 2022-03-21 00:21 wangshaodong 阅读(912) 评论(0) 推荐(0) 编辑
摘要: rtmp srt 阅读全文
posted @ 2022-03-21 00:13 wangshaodong 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # 写入配置 sudo sysctl -w fs.suid_dumpable=2 # 读取配置项 sudo sysctl fs.suid_dumpable # 显示 所有的 可以配置的选项 sudo sysctcl -a 阅读全文
posted @ 2022-03-21 00:11 wangshaodong 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 硬盘克隆软件 再生龙 (Clonezilla) https://clonezilla.org/ 文件恢复软件 Diskgenius https://www.diskgenius.com/ 系统启动盘软件 Ventoy 支持多个iso, 可以启动的时候选择iso镜像文件 https://www.ven 阅读全文
posted @ 2022-03-21 00:06 wangshaodong 阅读(50) 评论(0) 推荐(0) 编辑