摘要: iex "& {$(irm get.scoop.sh)} -RunAsAdmin" 阅读全文
posted @ 2024-05-09 13:52 Erfu 阅读(33) 评论(0) 推荐(0) 编辑
摘要: ./rip-hg.pl -v -u http://challenge-dbc16a24dc341259.sandbox.ctfhub.com:10800/.hg/ hj@tux:~/dvcs-ripper/.hg$ grep "flag" ./ -arn ./undo.dirstate:1:{b:� 阅读全文
posted @ 2024-04-23 20:29 Erfu 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 使用 dvcs-ripper工具 git clone https://github.com/kost/dvcs-ripper.git sudo apt-get install perl libio-socket-ssl-perl libdbd-sqlite3-perl libclass-dbi-pe 阅读全文
posted @ 2024-04-23 20:16 Erfu 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 题目描述 当前大量开发人员使用git进行版本控制,对站点自动部署。如果配置不当,可能会将.git文件夹直接部署到线上环境。这就引起了git泄露漏洞。请尝试使用BugScanTeam的GitHack完成本题 git官方文档 git log 实验环境 这里使用的是Ubuntu 22.04.4 LTS 的 阅读全文
posted @ 2024-04-22 18:35 Erfu 阅读(126) 评论(0) 推荐(0) 编辑
摘要: vim 使用笔记 vim常用操作 如果您需要在行尾追加文本,可以使用 A 键进入插入模式,然后直接输入文本。 要在选中的文本前插入文本,请按 I 键。 o命令可以在当前行的下面另起一行,并使当前模式转为Insert模式。 O命令(注意是大写的字母O)将在当前行的上面另起一行。 在Vim中你可以把两行 阅读全文
posted @ 2024-04-12 14:55 Erfu 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 查看本机ip ip a 找到wlan口 armbian:~:# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:0 阅读全文
posted @ 2024-04-04 17:24 Erfu 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 布尔运算的本质就是集合 明白这一点便可以很快做出第一题 int bitXor(int x, int y) { return (~(x & y)) & (~(~x & ~y)) ; } 根据补码定义 int tmin(void) { return (1<<31); } 当一个数为最小整数时加一等于其反 阅读全文
posted @ 2024-03-22 15:48 Erfu 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 前情提要 距离我上次尝试完成Csapp已是一年前,在期末周时迅速放弃了 两年前的环境搭建ArchLinux 本地一把梭,出于对本地环境的隔离与保护这次将使用容器化技术+Vscode搭建尽量避免对本机的影响,以及达到对环境更好的管理与备份。 yay -S docker sudo useradd -aG 阅读全文
posted @ 2024-03-20 13:09 Erfu 阅读(62) 评论(0) 推荐(0) 编辑
摘要: What does "{} ;" mean in the find command? If you run find with exec, {} expands to the filename of each file or directory found with find (so that ls 阅读全文
posted @ 2023-12-10 17:37 Erfu 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 环境配置 工欲善其事,必先利其器。 编译器是通过源代码生成目标代码的软件,例如常见的的C++编译器有Linux 下的GCC和WIN下的GCC 编辑器有neovim ,vscode ... 这里介绍的是CP Editor 的环境配置也是笔者所使用的环境 CP Editor 专为算法竞赛设计,不像其它 阅读全文
posted @ 2023-11-30 10:17 Erfu 阅读(401) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示