From 7b9f09f798a93eec3f4b415a023eb2c5c7467519 Mon Sep 17 00:00:00 2001 From: SignorMercurio Date: Mon, 18 Dec 2023 15:43:28 +0000 Subject: [PATCH] deploy: 74773201340d2b67c3dea19311dd9df3b9a51956 --- .../index.html" | 4 ++-- .../index.xml" | 2 +- index.html | 6 +++--- index.json | 2 +- index.xml | 2 +- page/10/index.html | 2 +- page/11/index.html | 2 +- page/12/index.html | 2 +- page/13/index.html | 2 +- page/14/index.html | 2 +- page/15/index.html | 2 +- page/16/index.html | 2 +- page/17/index.html | 2 +- page/18/index.html | 2 +- page/19/index.html | 2 +- page/2/index.html | 2 +- page/20/index.html | 2 +- page/21/index.html | 2 +- page/3/index.html | 2 +- page/4/index.html | 2 +- page/5/index.html | 2 +- page/6/index.html | 2 +- page/7/index.html | 2 +- page/8/index.html | 2 +- page/9/index.html | 2 +- posts/adminder/index.html | 2 +- posts/aircrack-wpa/index.html | 2 +- posts/auto-atk-shift-cipher/index.html | 2 +- posts/avl-b-tree/index.html | 2 +- posts/beef-msf/index.html | 2 +- posts/binary-exp/index.html | 2 +- posts/bitwise-ops/index.html | 2 +- posts/bugku-pwn/index.html | 2 +- posts/buu-pwn/index.html | 2 +- posts/buu-web/index.html | 2 +- posts/c-tips/index.html | 2 +- posts/ciscn2019/index.html | 2 +- posts/cloud-native/index.html | 2 +- posts/course-robber/index.html | 2 +- posts/cron-at/index.html | 2 +- posts/dfs-simple/index.html | 2 +- posts/distributed-systems/index.html | 2 +- posts/dockerfile2gke/index.html | 2 +- posts/dotfiles/index.html | 2 +- posts/dp-practice/index.html | 2 +- posts/dp-simple/index.html | 2 +- posts/ecnuctf2019/index.html | 2 +- posts/elgamal-ecc/index.html | 2 +- posts/eoj-misc/index.html | 2 +- posts/eoj-training/index.html | 2 +- posts/ettercap/index.html | 2 +- posts/euler-sieve/index.html | 2 +- posts/exam-prep/index.html | 2 +- posts/fastapi-auth/index.html | 2 +- posts/fastapi-tortoise/index.html | 2 +- posts/flarum/index.html | 2 +- posts/gcp/index.html | 2 +- posts/github-actions-cd/index.html | 2 +- posts/glibc-heap/index.html | 2 +- posts/go-error/index.html | 2 +- posts/go-makefile/index.html | 2 +- posts/h1ve-deploy/index.html | 2 +- posts/hackergame2019/index.html | 2 +- posts/hash-len-ext-atk/index.html | 2 +- posts/hexo/index.html | 2 +- posts/hitcon-training/index.html | 2 +- posts/how2heap/index.html | 2 +- posts/hugo/index.html | 2 +- posts/icq-web/index.html | 2 +- posts/index.html | 4 ++-- posts/index.xml | 2 +- posts/ipv6-tunnel/index.html | 2 +- posts/ir-overview/index.html | 2 +- posts/isg2019/index.html | 2 +- posts/jdbc-mysql/index.html | 2 +- posts/jenkins-iast/index.html | 2 +- posts/joplin/index.html | 2 +- posts/jquery/index.html | 2 +- posts/js-misc/index.html | 2 +- posts/kubernetes/index.html | 2 +- posts/lex-analysis/index.html | 2 +- posts/libprocesshider/index.html | 10 +++++----- posts/ll-parser/index.html | 2 +- posts/lr-parser/index.html | 2 +- posts/m1-win11/index.html | 2 +- posts/magical-surfing/index.html | 2 +- posts/math-problems/index.html | 2 +- posts/md4-collision/index.html | 2 +- posts/metasequoiactf2020/index.html | 2 +- posts/miller-rabin/index.html | 2 +- posts/mini-capture/index.html | 2 +- posts/mod-p-sqrt/index.html | 2 +- posts/newbie-note/index.html | 2 +- posts/newspaper/index.html | 2 +- posts/openssl-cheatsheet/index.html | 2 +- posts/paillier/index.html | 2 +- posts/passwd/index.html | 2 +- posts/pet/index.html | 2 +- posts/probability-report/index.html | 2 +- posts/pwn-college/index.html | 2 +- posts/pwn-template/index.html | 2 +- posts/pwnkr-toddler/index.html | 2 +- posts/python-summary/index.html | 2 +- posts/qtable-ss-pagination/index.html | 2 +- posts/quasar-test/index.html | 2 +- posts/raw-packet/index.html | 2 +- posts/recent-pwn-medium/index.html | 2 +- posts/recent-pwn-simple/index.html | 2 +- posts/rop-emporium/index.html | 2 +- posts/selfhosting/index.html | 2 +- posts/shell/index.html | 2 +- posts/shellter-upx/index.html | 2 +- posts/shiyanba-web/index.html | 2 +- posts/shortest-path/index.html | 2 +- posts/shred-dict/index.html | 2 +- posts/ssh-port-fwd/index.html | 2 +- posts/ssi/index.html | 2 +- posts/stack-migration/index.html | 2 +- posts/struts2/index.html | 2 +- posts/summer-school/index.html | 2 +- posts/swingmood/index.html | 2 +- posts/tailscale/index.html | 2 +- posts/templates/index.html | 2 +- posts/tencent-eco/index.html | 2 +- posts/tg-wechat-qq/index.html | 2 +- posts/think-php-myadmin/index.html | 2 +- posts/vscode-apicloud/index.html | 2 +- posts/wdb2018-pwn/index.html | 2 +- posts/why-so-serialize/index.html | 2 +- posts/zkw-tree/index.html | 2 +- sitemap.xml | 2 +- tags/linux/index.html | 4 ++-- tags/linux/index.xml | 2 +- .../index.html" | 4 ++-- .../index.xml" | 2 +- 135 files changed, 145 insertions(+), 145 deletions(-) diff --git "a/categories/\347\263\273\347\273\237\345\256\211\345\205\250/index.html" "b/categories/\347\263\273\347\273\237\345\256\211\345\205\250/index.html" index 723db52ab..37a4bf075 100644 --- "a/categories/\347\263\273\347\273\237\345\256\211\345\205\250/index.html" +++ "b/categories/\347\263\273\347\273\237\345\256\211\345\205\250/index.html" @@ -6,9 +6,9 @@ ">
跳到主要内容
  1. Categories/

系统安全

2023


遁名匿迹:libprocesshider 处置方案

·
系统安全 +160w,/posts/libprocesshider/feature_hu31bc187d6714aeefdd5f538e19907230_853789_320x240_fill_box_smart1_3.png 2x" src=/posts/libprocesshider/feature_hu31bc187d6714aeefdd5f538e19907230_853789_160x120_fill_box_smart1_3.png width=160 height=120 loading=lazy>

遁名匿迹:libprocesshider 处置方案

·

项目地址:https://github.com/gianlucaborello/libprocesshider

2022


libprocesshider 项目地址

2022


追本溯源:pwn.college 作业记录

·
系统安全 Linux C/C++ diff --git "a/categories/\347\263\273\347\273\237\345\256\211\345\205\250/index.xml" "b/categories/\347\263\273\347\273\237\345\256\211\345\205\250/index.xml" index 5519fcc74..5cff6bc45 100644 --- "a/categories/\347\263\273\347\273\237\345\256\211\345\205\250/index.xml" +++ "b/categories/\347\263\273\347\273\237\345\256\211\345\205\250/index.xml" @@ -1 +1 @@ -系统安全 on Lab on Mercuryhttps://blog.sigmerc.top/categories/%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8/Recent content in 系统安全 on Lab on MercuryHugo -- gohugo.iozh-cnTue, 22 Aug 2023 00:00:00 +0000遁名匿迹:libprocesshider 处置方案https://blog.sigmerc.top/posts/libprocesshider/Tue, 22 Aug 2023 00:00:00 +0000https://blog.sigmerc.top/posts/libprocesshider/<p>项目地址:https://github.com/gianlucaborello/libprocesshider</p>追本溯源:pwn.college 作业记录https://blog.sigmerc.top/posts/pwn-college/Thu, 24 Feb 2022 20:03:11 +0000https://blog.sigmerc.top/posts/pwn-college/<p>时隔许久,我居然又得做 pwn 题了。</p>网鼎杯 2018 Pwnhttps://blog.sigmerc.top/posts/wdb2018-pwn/Mon, 04 May 2020 11:17:45 +0000https://blog.sigmerc.top/posts/wdb2018-pwn/<p>准备今年网鼎杯时复现的一些题。题目不是很全,因为有些题不太会。</p>Pwn 脚本模板https://blog.sigmerc.top/posts/pwn-template/Sun, 26 Apr 2020 22:03:39 +0000https://blog.sigmerc.top/posts/pwn-template/<p>其中从 <code># start</code> 到 <code># end</code> 中间的部分为核心代码。最近更新的博客中 Pwn 题脚本的代码仅包含核心代码。</p>狡兔三窟:栈迁移可视化的尝试https://blog.sigmerc.top/posts/stack-migration/Wed, 04 Mar 2020 16:32:06 +0000https://blog.sigmerc.top/posts/stack-migration/<p>参考 <a href="https://ctf-wiki.github.io/ctf-wiki/pwn/linux/stackoverflow/fancy-rop-zh/" target="_blank" rel="noreferrer">CTF-Wiki</a> 画的一些图。</p>近期进阶 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-medium/Sun, 01 Mar 2020 14:10:54 +0000https://blog.sigmerc.top/posts/recent-pwn-medium/<p>难题都没有做出来。题目来自 ACTF 2019、GYCTF 2019、VNCTF 2020。</p>HITCON Training 练习记录https://blog.sigmerc.top/posts/hitcon-training/Sun, 16 Feb 2020 20:32:19 +0000https://blog.sigmerc.top/posts/hitcon-training/<p>HITCON Training 更新完成,没咕咕。其中堆题真是很适合入门。</p>近期简单 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-simple/Mon, 03 Feb 2020 14:54:01 +0000https://blog.sigmerc.top/posts/recent-pwn-simple/<p>近期做的一些简单 Pwn 题记录。题目来自 ADWorld 新手区、BJDCTF 2019、JarvisOJ。</p>BUUCTF Pwn 练习记录https://blog.sigmerc.top/posts/buu-pwn/Sat, 14 Dec 2019 21:46:20 +0000https://blog.sigmerc.top/posts/buu-pwn/<p>从今天起,我也是 Pwn 🐕 了。</p>ROP Emporium 练习记录https://blog.sigmerc.top/posts/rop-emporium/Mon, 09 Dec 2019 15:02:43 +0000https://blog.sigmerc.top/posts/rop-emporium/<p>针对 ROP 学习了一下,就记录一下 64 位的做法,32 位同理。不知道为什么对这个网站特别有好感。</p>how2heap 学习https://blog.sigmerc.top/posts/how2heap/Mon, 09 Dec 2019 14:36:48 +0000https://blog.sigmerc.top/posts/how2heap/<p>距离文章发布两个多月后,终于更新完啦!</p>盘根错节:GLibc 堆内存管理机制简介https://blog.sigmerc.top/posts/glibc-heap/Sun, 08 Dec 2019 16:53:39 +0000https://blog.sigmerc.top/posts/glibc-heap/<p>The heap is a beautiful mess.</p>水漫金山:《二进制漏洞利用入门》课程总结https://blog.sigmerc.top/posts/binary-exp/Thu, 05 Dec 2019 22:37:20 +0000https://blog.sigmerc.top/posts/binary-exp/<p>其实我也刚学。</p>Bugku Pwn 练习记录https://blog.sigmerc.top/posts/bugku-pwn/Tue, 29 Oct 2019 15:40:03 +0000https://blog.sigmerc.top/posts/bugku-pwn/<p>Pwn 入门。</p>Pwnable.kr Toddler's Bottle 练习记录https://blog.sigmerc.top/posts/pwnkr-toddler/Wed, 09 Oct 2019 21:19:11 +0000https://blog.sigmerc.top/posts/pwnkr-toddler/<p>画风很可爱的 Pwn 题练习网站。</p> \ No newline at end of file +系统安全 on Lab on Mercuryhttps://blog.sigmerc.top/categories/%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8/Recent content in 系统安全 on Lab on MercuryHugo -- gohugo.iozh-cnTue, 22 Aug 2023 00:00:00 +0000遁名匿迹:libprocesshider 处置方案https://blog.sigmerc.top/posts/libprocesshider/Tue, 22 Aug 2023 00:00:00 +0000https://blog.sigmerc.top/posts/libprocesshider/<p><a href="https://github.com/gianlucaborello/libprocesshider" target="_blank" rel="noreferrer">libprocesshider 项目地址</a></p>追本溯源:pwn.college 作业记录https://blog.sigmerc.top/posts/pwn-college/Thu, 24 Feb 2022 20:03:11 +0000https://blog.sigmerc.top/posts/pwn-college/<p>时隔许久,我居然又得做 pwn 题了。</p>网鼎杯 2018 Pwnhttps://blog.sigmerc.top/posts/wdb2018-pwn/Mon, 04 May 2020 11:17:45 +0000https://blog.sigmerc.top/posts/wdb2018-pwn/<p>准备今年网鼎杯时复现的一些题。题目不是很全,因为有些题不太会。</p>Pwn 脚本模板https://blog.sigmerc.top/posts/pwn-template/Sun, 26 Apr 2020 22:03:39 +0000https://blog.sigmerc.top/posts/pwn-template/<p>其中从 <code># start</code> 到 <code># end</code> 中间的部分为核心代码。最近更新的博客中 Pwn 题脚本的代码仅包含核心代码。</p>狡兔三窟:栈迁移可视化的尝试https://blog.sigmerc.top/posts/stack-migration/Wed, 04 Mar 2020 16:32:06 +0000https://blog.sigmerc.top/posts/stack-migration/<p>参考 <a href="https://ctf-wiki.github.io/ctf-wiki/pwn/linux/stackoverflow/fancy-rop-zh/" target="_blank" rel="noreferrer">CTF-Wiki</a> 画的一些图。</p>近期进阶 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-medium/Sun, 01 Mar 2020 14:10:54 +0000https://blog.sigmerc.top/posts/recent-pwn-medium/<p>难题都没有做出来。题目来自 ACTF 2019、GYCTF 2019、VNCTF 2020。</p>HITCON Training 练习记录https://blog.sigmerc.top/posts/hitcon-training/Sun, 16 Feb 2020 20:32:19 +0000https://blog.sigmerc.top/posts/hitcon-training/<p>HITCON Training 更新完成,没咕咕。其中堆题真是很适合入门。</p>近期简单 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-simple/Mon, 03 Feb 2020 14:54:01 +0000https://blog.sigmerc.top/posts/recent-pwn-simple/<p>近期做的一些简单 Pwn 题记录。题目来自 ADWorld 新手区、BJDCTF 2019、JarvisOJ。</p>BUUCTF Pwn 练习记录https://blog.sigmerc.top/posts/buu-pwn/Sat, 14 Dec 2019 21:46:20 +0000https://blog.sigmerc.top/posts/buu-pwn/<p>从今天起,我也是 Pwn 🐕 了。</p>ROP Emporium 练习记录https://blog.sigmerc.top/posts/rop-emporium/Mon, 09 Dec 2019 15:02:43 +0000https://blog.sigmerc.top/posts/rop-emporium/<p>针对 ROP 学习了一下,就记录一下 64 位的做法,32 位同理。不知道为什么对这个网站特别有好感。</p>how2heap 学习https://blog.sigmerc.top/posts/how2heap/Mon, 09 Dec 2019 14:36:48 +0000https://blog.sigmerc.top/posts/how2heap/<p>距离文章发布两个多月后,终于更新完啦!</p>盘根错节:GLibc 堆内存管理机制简介https://blog.sigmerc.top/posts/glibc-heap/Sun, 08 Dec 2019 16:53:39 +0000https://blog.sigmerc.top/posts/glibc-heap/<p>The heap is a beautiful mess.</p>水漫金山:《二进制漏洞利用入门》课程总结https://blog.sigmerc.top/posts/binary-exp/Thu, 05 Dec 2019 22:37:20 +0000https://blog.sigmerc.top/posts/binary-exp/<p>其实我也刚学。</p>Bugku Pwn 练习记录https://blog.sigmerc.top/posts/bugku-pwn/Tue, 29 Oct 2019 15:40:03 +0000https://blog.sigmerc.top/posts/bugku-pwn/<p>Pwn 入门。</p>Pwnable.kr Toddler's Bottle 练习记录https://blog.sigmerc.top/posts/pwnkr-toddler/Wed, 09 Oct 2019 21:19:11 +0000https://blog.sigmerc.top/posts/pwnkr-toddler/<p>画风很可爱的 Pwn 题练习网站。</p> \ No newline at end of file diff --git a/index.html b/index.html index 64715d885..1f54eb496 100644 --- a/index.html +++ b/index.html @@ -5,10 +5,10 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

Lab on Mercuryhttps://blog.sigmerc.top/Recent content on Lab on MercuryHugo -- gohugo.iozh-cnTue, 22 Aug 2023 00:00:00 +0000遁名匿迹:libprocesshider 处置方案https://blog.sigmerc.top/posts/libprocesshider/Tue, 22 Aug 2023 00:00:00 +0000https://blog.sigmerc.top/posts/libprocesshider/<p>项目地址:https://github.com/gianlucaborello/libprocesshider</p>十万火急:云上应急响应概述https://blog.sigmerc.top/posts/ir-overview/Tue, 13 Jun 2023 00:00:00 +0000https://blog.sigmerc.top/posts/ir-overview/<p>对工作中的云上应急响应流程进行总结整理。</p>私有部署:打造自己的简易 Homelabhttps://blog.sigmerc.top/posts/selfhosting/Fri, 30 Dec 2022 00:00:00 +0000https://blog.sigmerc.top/posts/selfhosting/<p>最近几天在搭建 Homelab 上花费了不少精力,因此想要一边试错一边记录下这个过程。</p>自动装弹:快速搭建通用命令行环境https://blog.sigmerc.top/posts/dotfiles/Mon, 24 Oct 2022 12:51:35 +0800https://blog.sigmerc.top/posts/dotfiles/<p>面对一台新的 Linux 机器时,不用为了重搭环境头疼了。</p>冲云破雾:Tailscale 原理简述https://blog.sigmerc.top/posts/tailscale/Fri, 23 Sep 2022 20:51:55 +0800https://blog.sigmerc.top/posts/tailscale/<p>组建自己的私有零信任网络。</p>去繁就简:用 Telegram 收发微信和 QQ 消息https://blog.sigmerc.top/posts/tg-wechat-qq/Thu, 18 Aug 2022 22:22:53 +0800https://blog.sigmerc.top/posts/tg-wechat-qq/<p>和毒瘤软件说再见。</p>自主身份:SSI 技术实践https://blog.sigmerc.top/posts/ssi/Sat, 02 Jul 2022 11:04:38 +0800https://blog.sigmerc.top/posts/ssi/<p>更安全方便地管理、分享和验证身份信息。</p>步步为营:在 Go 项目中编写 Makefilehttps://blog.sigmerc.top/posts/go-makefile/Wed, 22 Jun 2022 15:09:26 +0800https://blog.sigmerc.top/posts/go-makefile/<p>用古老的工具构建现代化的应用。</p>命令交互:Shell 备忘录https://blog.sigmerc.top/posts/shell/Sat, 30 Apr 2022 17:13:19 +0800https://blog.sigmerc.top/posts/shell/<p>记录一些之前不太了解的 Shell 的用法。</p>昨日再现:用 Flarum 搭建功能强大的在线论坛https://blog.sigmerc.top/posts/flarum/Sun, 13 Mar 2022 18:28:09 +0000https://blog.sigmerc.top/posts/flarum/<p>完全出于巧合和心血来潮搭建的一个论坛。</p>乔迁新居:Hugo 博客的配置与部署https://blog.sigmerc.top/posts/hugo/Fri, 11 Mar 2022 13:10:42 +0000https://blog.sigmerc.top/posts/hugo/<p>博客从 Hexo 迁移到了 Hugo。在静态网站生成器中,Hugo 的优势主要在于其性能和简单易用的配置。</p>追本溯源:pwn.college 作业记录https://blog.sigmerc.top/posts/pwn-college/Thu, 24 Feb 2022 20:03:11 +0000https://blog.sigmerc.top/posts/pwn-college/<p>时隔许久,我居然又得做 pwn 题了。</p>扑朔迷离:隐私增强技术实践https://blog.sigmerc.top/posts/pet/Fri, 04 Feb 2022 09:23:11 +0000https://blog.sigmerc.top/posts/pet/<p>Privacy Enhancing Technologies (PET),实际上还是密码学。</p>星罗棋布:《分布式系统与安全》课程笔记https://blog.sigmerc.top/posts/distributed-systems/Mon, 18 Oct 2021 11:04:07 +0000https://blog.sigmerc.top/posts/distributed-systems/<p>COMP0133《分布式系统与安全》是我从本科到硕士期间最有价值的课。</p>乘风破浪:Kubernetes 笔记https://blog.sigmerc.top/posts/kubernetes/Sun, 10 Oct 2021 16:31:41 +0000https://blog.sigmerc.top/posts/kubernetes/<p>在了解了 Kubernetes 为什么叫 K8s 之后,才明白 internationalization 为什么叫 i18n。</p>再探 GitHub Actions:从 Dockerfile 到 GKEhttps://blog.sigmerc.top/posts/dockerfile2gke/Sat, 25 Sep 2021 18:44:35 +0000https://blog.sigmerc.top/posts/dockerfile2gke/<p>GitHub Actions 还可以配合 Issue 用来做开源社区的无聊小游戏,这就留到《三探 GitHub Actions》再说了。</p>高枕无忧:Google Cloud Platform 基础https://blog.sigmerc.top/posts/gcp/Thu, 23 Sep 2021 10:03:42 +0000https://blog.sigmerc.top/posts/gcp/<p>待更新。</p>风谲云诡:云原生技术原理https://blog.sigmerc.top/posts/cloud-native/Fri, 10 Sep 2021 09:27:59 +0000https://blog.sigmerc.top/posts/cloud-native/<p>精密而复杂。</p>迷途知返:Go Error 处理https://blog.sigmerc.top/posts/go-error/Wed, 08 Sep 2021 08:50:13 +0000https://blog.sigmerc.top/posts/go-error/<p>底层包装、中层传递、顶层处理。</p>持戈试马:在 MacBook Pro M1 上运行 Windows 11https://blog.sigmerc.top/posts/m1-win11/Thu, 26 Aug 2021 22:57:42 +0000https://blog.sigmerc.top/posts/m1-win11/<p>拖了很久才来尝鲜。</p>闭门造车:腾讯生态的泥沼https://blog.sigmerc.top/posts/tencent-eco/Sat, 21 Aug 2021 11:48:08 +0000https://blog.sigmerc.top/posts/tencent-eco/<p>记录了开发中遇到的和腾讯生态相关的一些问题。</p>温故知新:Javascript 杂记https://blog.sigmerc.top/posts/js-misc/Thu, 29 Jul 2021 23:26:26 +0000https://blog.sigmerc.top/posts/js-misc/<p>温故而知新,复习后才发现很多基础掌握得不牢固。</p>信手拈来:Joplin 使用小记https://blog.sigmerc.top/posts/joplin/Sat, 17 Jul 2021 21:00:31 +0000https://blog.sigmerc.top/posts/joplin/<p>折腾笔记软件。</p>胸有成竹:Quasar Testing 指南https://blog.sigmerc.top/posts/quasar-test/Sun, 21 Mar 2021 11:36:12 +0000https://blog.sigmerc.top/posts/quasar-test/<p>对 <a href="https://next.quasar.dev/quasar-cli/testing-and-auditing#introduction" target="_blank" rel="noreferrer">Quasar 文档测试部分</a> 和 <a href="https://testing.quasar.dev/" target="_blank" rel="noreferrer">@quasar/testing 文档</a> 部分内容进行了简单翻译,顺便记录了一些目前使用 Quasar 框架进行测试时存在的问题。</p>各司其职:FastAPI + TortoiseORM 实现异步 DB 操作https://blog.sigmerc.top/posts/fastapi-tortoise/Wed, 27 Jan 2021 17:05:55 +0000https://blog.sigmerc.top/posts/fastapi-tortoise/<p>参考了 <a href="https://github.com/prostomarkeloff/fastapi-tortoise" target="_blank" rel="noreferrer">这个 repo</a> 和 <a href="https://tortoise-orm.readthedocs.io/en/latest/" target="_blank" rel="noreferrer">官方文档</a>,踩了一些坑后觉得有必要记录下来。</p>久仰大名:基于 FastAPI 实现 OAuth2 登录认证https://blog.sigmerc.top/posts/fastapi-auth/Sun, 10 Jan 2021 16:34:22 +0000https://blog.sigmerc.top/posts/fastapi-auth/<p>写 Pianoforte 时第一个遇到的可复用模块。</p>透明代理:抓取微信小程序数据包https://blog.sigmerc.top/posts/mini-capture/Tue, 01 Dec 2020 20:48:30 +0000https://blog.sigmerc.top/posts/mini-capture/<p>以 Burpsuite 为例。</p>算无遗策:socket 编程发送 RAW 数据包https://blog.sigmerc.top/posts/raw-packet/Mon, 16 Nov 2020 17:03:11 +0000https://blog.sigmerc.top/posts/raw-packet/<p>实习的时候写的一小段代码。</p>Why So Serialize: From Deserialization to RCEhttps://blog.sigmerc.top/posts/why-so-serialize/Thu, 12 Nov 2020 10:21:09 +0800https://blog.sigmerc.top/posts/why-so-serialize/<p>专业英语的一次分享。<a href="https://slides.com/mercury/why-so-serialize" target="_blank" rel="noreferrer">Slides</a>。</p>窥间伺隙:Aircrack 套件破解 WPA/WPA2 密码https://blog.sigmerc.top/posts/aircrack-wpa/Sun, 18 Oct 2020 13:24:01 +0000https://blog.sigmerc.top/posts/aircrack-wpa/<p>《无线网络安全》作业。梦回大一。</p>Struts2 漏洞学习https://blog.sigmerc.top/posts/struts2/Tue, 04 Aug 2020 22:00:33 +0000https://blog.sigmerc.top/posts/struts2/<p>包含 s2-001 / s2-003 / s2-005 / s2-007 / s2-008 / s2-009 / s2-012 / s2-013 / s2-014 / s2-015 / s2-016 / s2-045 / s2-046 / s2-048 / s2-052 / s2-053 / s2-057</p>ThinkPHP & phpMyAdmin 漏洞学习https://blog.sigmerc.top/posts/think-php-myadmin/Wed, 29 Jul 2020 19:58:27 +0000https://blog.sigmerc.top/posts/think-php-myadmin/<p>包含 ThinkPHP 5.x RCE / ThinkPHP 5.0.23 RCE / ThinkPHP 2.x RCE / ThinkPHP 5.x SQL 注入导致敏感信息泄露 / phpMyAdmin 4.8.1 远程文件包含 / phpMyAdmin 4.0.x-4.6.2 认证用户 RCE / phpMyAdmin 2.x setup.php 反序列化</p>稳中求进:Jenkins 集成 IAST 全流程https://blog.sigmerc.top/posts/jenkins-iast/Tue, 28 Jul 2020 15:28:05 +0000https://blog.sigmerc.top/posts/jenkins-iast/<p>工作中写的一份指南文档。由于用的是测试环境,并没有需要脱敏的地方。</p>粉碎字典:设计方便记忆的安全口令https://blog.sigmerc.top/posts/shred-dict/Fri, 17 Jul 2020 11:04:45 +0000https://blog.sigmerc.top/posts/shred-dict/<p>就算无法逃避社工,也要设法减少损失。</p>闻鸡起舞:利用 GitHub Actions 进行持续部署https://blog.sigmerc.top/posts/github-actions-cd/Thu, 16 Jul 2020 22:13:48 +0000https://blog.sigmerc.top/posts/github-actions-cd/<p>最近在搞 SDL,尝试了一下 CI/CD 。</p>pAssWD 开发记录https://blog.sigmerc.top/posts/passwd/Sat, 27 Jun 2020 18:57:14 +0000https://blog.sigmerc.top/posts/passwd/<p>Platform for Attacking Swiftly &amp; Smoothly With Defending</p>网鼎杯 2018 Pwnhttps://blog.sigmerc.top/posts/wdb2018-pwn/Mon, 04 May 2020 11:17:45 +0000https://blog.sigmerc.top/posts/wdb2018-pwn/<p>准备今年网鼎杯时复现的一些题。题目不是很全,因为有些题不太会。</p>Pwn 脚本模板https://blog.sigmerc.top/posts/pwn-template/Sun, 26 Apr 2020 22:03:39 +0000https://blog.sigmerc.top/posts/pwn-template/<p>其中从 <code># start</code> 到 <code># end</code> 中间的部分为核心代码。最近更新的博客中 Pwn 题脚本的代码仅包含核心代码。</p>SwingMood 项目实践心得https://blog.sigmerc.top/posts/swingmood/Sat, 11 Apr 2020 21:23:02 +0000https://blog.sigmerc.top/posts/swingmood/<p>基本告别开发了。</p>狡兔三窟:栈迁移可视化的尝试https://blog.sigmerc.top/posts/stack-migration/Wed, 04 Mar 2020 16:32:06 +0000https://blog.sigmerc.top/posts/stack-migration/<p>参考 <a href="https://ctf-wiki.github.io/ctf-wiki/pwn/linux/stackoverflow/fancy-rop-zh/" target="_blank" rel="noreferrer">CTF-Wiki</a> 画的一些图。</p>近期进阶 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-medium/Sun, 01 Mar 2020 14:10:54 +0000https://blog.sigmerc.top/posts/recent-pwn-medium/<p>难题都没有做出来。题目来自 ACTF 2019、GYCTF 2019、VNCTF 2020。</p>HITCON Training 练习记录https://blog.sigmerc.top/posts/hitcon-training/Sun, 16 Feb 2020 20:32:19 +0000https://blog.sigmerc.top/posts/hitcon-training/<p>HITCON Training 更新完成,没咕咕。其中堆题真是很适合入门。</p>牛刀小试:MetasequoiaCTF2020 部分题解https://blog.sigmerc.top/posts/metasequoiactf2020/Sat, 15 Feb 2020 16:52:16 +0000https://blog.sigmerc.top/posts/metasequoiactf2020/<p>第一次出题,经验不足,感谢参赛选手海涵。</p>捅马蜂窝:H1ve 部署实践https://blog.sigmerc.top/posts/h1ve-deploy/Sun, 09 Feb 2020 16:43:13 +0000https://blog.sigmerc.top/posts/h1ve-deploy/<p>最近 H1ve 平台开源了,这是我在 GitHub 上见到的目前完成度最高的带 AWD 模式的平台。尽管如此依然遇到了不少 bug,经修复后现在的版本还算稳定。</p>近期简单 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-simple/Mon, 03 Feb 2020 14:54:01 +0000https://blog.sigmerc.top/posts/recent-pwn-simple/<p>近期做的一些简单 Pwn 题记录。题目来自 ADWorld 新手区、BJDCTF 2019、JarvisOJ。</p>风雨无阻:crontab + at 实现随机定时任务https://blog.sigmerc.top/posts/cron-at/Thu, 23 Jan 2020 03:58:58 +0000https://blog.sigmerc.top/posts/cron-at/<p>定时任务相关的命令,使用起来坑非常多。</p>东方记者:新闻统计小工具 Newspaperhttps://blog.sigmerc.top/posts/newspaper/Wed, 22 Jan 2020 22:23:36 +0000https://blog.sigmerc.top/posts/newspaper/<p>这下统计新闻要轻松多了。</p>Paillier 同态加密方案实现https://blog.sigmerc.top/posts/paillier/Thu, 26 Dec 2019 21:08:46 +0000https://blog.sigmerc.top/posts/paillier/<p>最后一次抽代课的上机练习。</p>ElGamal 密码方案的椭圆曲线形式实现https://blog.sigmerc.top/posts/elgamal-ecc/Fri, 20 Dec 2019 13:00:34 +0000https://blog.sigmerc.top/posts/elgamal-ecc/<p>抽代课的上机练习。</p>BUUCTF Pwn 练习记录https://blog.sigmerc.top/posts/buu-pwn/Sat, 14 Dec 2019 21:46:20 +0000https://blog.sigmerc.top/posts/buu-pwn/<p>从今天起,我也是 Pwn 🐕 了。</p>术业专攻:QTable 服务端分页实践https://blog.sigmerc.top/posts/qtable-ss-pagination/Thu, 12 Dec 2019 21:16:51 +0000https://blog.sigmerc.top/posts/qtable-ss-pagination/<p>QTable 是 Quasar Framework 的组件之一,功能比较复杂。这篇文章介绍了如何配合服务端分页来使用 QTable 组件。</p>ROP Emporium 练习记录https://blog.sigmerc.top/posts/rop-emporium/Mon, 09 Dec 2019 15:02:43 +0000https://blog.sigmerc.top/posts/rop-emporium/<p>针对 ROP 学习了一下,就记录一下 64 位的做法,32 位同理。不知道为什么对这个网站特别有好感。</p>how2heap 学习https://blog.sigmerc.top/posts/how2heap/Mon, 09 Dec 2019 14:36:48 +0000https://blog.sigmerc.top/posts/how2heap/<p>距离文章发布两个多月后,终于更新完啦!</p>盘根错节:GLibc 堆内存管理机制简介https://blog.sigmerc.top/posts/glibc-heap/Sun, 08 Dec 2019 16:53:39 +0000https://blog.sigmerc.top/posts/glibc-heap/<p>The heap is a beautiful mess.</p>水漫金山:《二进制漏洞利用入门》课程总结https://blog.sigmerc.top/posts/binary-exp/Thu, 05 Dec 2019 22:37:20 +0000https://blog.sigmerc.top/posts/binary-exp/<p>其实我也刚学。</p>BUUCTF Web 练习记录https://blog.sigmerc.top/posts/buu-web/Fri, 29 Nov 2019 18:36:25 +0000https://blog.sigmerc.top/posts/buu-web/<p>偶然发现的 BUUCTF,真的非常好用了。</p>Bugku Pwn 练习记录https://blog.sigmerc.top/posts/bugku-pwn/Tue, 29 Oct 2019 15:40:03 +0000https://blog.sigmerc.top/posts/bugku-pwn/<p>Pwn 入门。</p>Hackergame2019 比赛记录https://blog.sigmerc.top/posts/hackergame2019/Tue, 15 Oct 2019 10:29:23 +0000https://blog.sigmerc.top/posts/hackergame2019/<p>开拓眼界了。</p>Pwnable.kr Toddler's Bottle 练习记录https://blog.sigmerc.top/posts/pwnkr-toddler/Wed, 09 Oct 2019 21:19:11 +0000https://blog.sigmerc.top/posts/pwnkr-toddler/<p>画风很可爱的 Pwn 题练习网站。</p>舍近求远:开通 IPv6 隧道https://blog.sigmerc.top/posts/ipv6-tunnel/Thu, 26 Sep 2019 22:34:18 +0000https://blog.sigmerc.top/posts/ipv6-tunnel/<p>喜迎国庆。</p>对移位密码的自动化攻击https://blog.sigmerc.top/posts/auto-atk-shift-cipher/Fri, 13 Sep 2019 15:46:43 +0000https://blog.sigmerc.top/posts/auto-atk-shift-cipher/<p>《密码学基础》小作业。</p>OpenSSL 常用命令速查表https://blog.sigmerc.top/posts/openssl-cheatsheet/Mon, 02 Sep 2019 17:37:01 +0000https://blog.sigmerc.top/posts/openssl-cheatsheet/<p>仅仅记录了一些较常用的命令实例,具体命令、选项与说明推荐查阅官方文档。</p>ISG2019 线上赛比赛记录https://blog.sigmerc.top/posts/isg2019/Wed, 28 Aug 2019 12:21:49 +0000https://blog.sigmerc.top/posts/isg2019/<p>题目难度不算大,但是考验脑洞。</p>i 春秋 Web 练习记录https://blog.sigmerc.top/posts/icq-web/Sat, 24 Aug 2019 20:42:38 +0000https://blog.sigmerc.top/posts/icq-web/<p>i 春秋上的题都是比赛真题,所以会比较有意思,也更复杂一些。</p>实验吧 Web 练习记录https://blog.sigmerc.top/posts/shiyanba-web/Fri, 26 Jul 2019 21:15:13 +0000https://blog.sigmerc.top/posts/shiyanba-web/<p>实验吧的 Web 题总体比 Bugku 难一些,主要难度在于几道注入题。</p>ECNU X 启明星辰 网络安全暑期学校记录https://blog.sigmerc.top/posts/summer-school/Tue, 23 Jul 2019 14:39:19 +0000https://blog.sigmerc.top/posts/summer-school/<p>7.22-7.26,收获不大。</p>Beef 加载 Metasploit 插件 & Metasploit 连接 PostgreSQLhttps://blog.sigmerc.top/posts/beef-msf/Sun, 21 Jul 2019 12:17:14 +0000https://blog.sigmerc.top/posts/beef-msf/<p>没有什么坑点。</p>Ettercap 简易入门https://blog.sigmerc.top/posts/ettercap/Sat, 20 Jul 2019 00:03:58 +0000https://blog.sigmerc.top/posts/ettercap/<p>关于 Ettercap 的有趣例子。</p>简单的 PE 后门https://blog.sigmerc.top/posts/shellter-upx/Fri, 19 Jul 2019 22:57:45 +0000https://blog.sigmerc.top/posts/shellter-upx/<p>记录一下最简单的挂后门和免杀方法,不怎么接触这块。</p>画蛇添足:哈希长度扩展攻击https://blog.sigmerc.top/posts/hash-len-ext-atk/Sat, 29 Jun 2019 11:43:47 +0000https://blog.sigmerc.top/posts/hash-len-ext-atk/<p>简单翻译了 <code>hash_extender</code> 的 README 文档。</p>CISCN2019 初赛+半决赛部分题解https://blog.sigmerc.top/posts/ciscn2019/Fri, 28 Jun 2019 17:31:50 +0000https://blog.sigmerc.top/posts/ciscn2019/<p>打完比赛就回去必修课期末考,于是现在才整理。这里只记录了少数几题的 writeup。</p>模 p 平方根算法https://blog.sigmerc.top/posts/mod-p-sqrt/Wed, 22 May 2019 17:02:49 +0000https://blog.sigmerc.top/posts/mod-p-sqrt/<p>参考了陈恭亮《信息安全数学基础》第二版上的算法。</p>LR 语法分析器https://blog.sigmerc.top/posts/lr-parser/Wed, 15 May 2019 20:41:06 +0000https://blog.sigmerc.top/posts/lr-parser/<p>天 坑 预 警</p>LL 语法分析器https://blog.sigmerc.top/posts/ll-parser/Thu, 09 May 2019 23:15:47 +0000https://blog.sigmerc.top/posts/ll-parser/<p>这次繁杂了许多,我有点害怕接下来的 LR(1) 语法分析器了。</p>走远了的词法分析器https://blog.sigmerc.top/posts/lex-analysis/Thu, 11 Apr 2019 20:56:28 +0000https://blog.sigmerc.top/posts/lex-analysis/<p>奇怪的思路果然总是通向奇怪的出路。</p>ECNUCTF2019 初赛 writeuphttps://blog.sigmerc.top/posts/ecnuctf2019/Sun, 31 Mar 2019 12:58:34 +0000https://blog.sigmerc.top/posts/ecnuctf2019/<p>第二次参加 CTF,上次参加时还只知道古典密码。</p>通过 JDBC 连接 MySQLhttps://blog.sigmerc.top/posts/jdbc-mysql/Mon, 25 Mar 2019 23:11:05 +0000https://blog.sigmerc.top/posts/jdbc-mysql/<p>大概是第二次被 MySQL 玩了,也可能是第三次。</p>“老有所得” 项目实践心得https://blog.sigmerc.top/posts/adminder/Mon, 18 Mar 2019 14:57:20 +0000https://blog.sigmerc.top/posts/adminder/<p>其实最大的心得是不要一次开多个项目。</p>短兵相接:MD4 碰撞攻击https://blog.sigmerc.top/posts/md4-collision/Wed, 06 Mar 2019 14:01:28 +0000https://blog.sigmerc.top/posts/md4-collision/<p>重复了王小云教授 14 年前的工作,RIPEMD/MD5/SHA 家族碰撞原理类似。</p>实战 SSH 端口转发https://blog.sigmerc.top/posts/ssh-port-fwd/Mon, 04 Mar 2019 18:13:07 +0000https://blog.sigmerc.top/posts/ssh-port-fwd/<p>驾驭魔法,需要先掌握魔法的原理。</p>凿壁偷光:魔法上网的可持续解决方案https://blog.sigmerc.top/posts/magical-surfing/Mon, 04 Mar 2019 17:06:17 +0000https://blog.sigmerc.top/posts/magical-surfing/<p>因为众所周知的原因,本文中不会提供任何相关工具的下载链接。</p>横行霸道:ECNU 第三轮课程掠夺者https://blog.sigmerc.top/posts/course-robber/Sun, 10 Feb 2019 21:36:21 +0000https://blog.sigmerc.top/posts/course-robber/<p>用来在第三轮选课中抢课。</p>jQuery 踩坑记https://blog.sigmerc.top/posts/jquery/Wed, 23 Jan 2019 13:18:21 +0000https://blog.sigmerc.top/posts/jquery/<p>开发项目时踩到的坑。</p>VSCode + APICloud + GitHub 开发环境配置https://blog.sigmerc.top/posts/vscode-apicloud/Thu, 17 Jan 2019 14:22:32 +0000https://blog.sigmerc.top/posts/vscode-apicloud/<p>不是很懂为什么 APICloud 没有官方的 VSCode 插件。</p>世外桃源:Hexo 踩坑记https://blog.sigmerc.top/posts/hexo/Fri, 11 Jan 2019 22:15:45 +0000https://blog.sigmerc.top/posts/hexo/<p>关于这个网站是如何诞生的。</p>《Python 编程技术》期末作业https://blog.sigmerc.top/posts/python-summary/Sun, 06 Jan 2019 00:00:00 +0000https://blog.sigmerc.top/posts/python-summary/<p>期末作业居然是写综述。。有点无聊啊。<strong>这不是 Python 教程。</strong></p>概率论课程报告https://blog.sigmerc.top/posts/probability-report/Fri, 14 Dec 2018 00:00:00 +0000https://blog.sigmerc.top/posts/probability-report/<p>一道数竞压轴题的直观解法。</p>一点 C 语言的经验https://blog.sigmerc.top/posts/c-tips/Wed, 17 Oct 2018 00:00:00 +0000https://blog.sigmerc.top/posts/c-tips/<p>被邀请分享 C 语言学习经验,于是写了点东西给学生会做推送。</p>AVL 树和 B 树https://blog.sigmerc.top/posts/avl-b-tree/Wed, 13 Jun 2018 00:00:00 +0000https://blog.sigmerc.top/posts/avl-b-tree/<p>数据结构上机课花了点时间实现的两种相对复杂的数据结构。基本上在抄书。</p>位运算用法整理https://blog.sigmerc.top/posts/bitwise-ops/Sun, 11 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/bitwise-ops/<p>实训准备的第二弹。</p>程序设计能力实训 资料准备https://blog.sigmerc.top/posts/exam-prep/Sat, 10 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/exam-prep/<p>其实差不多就是低难度 C++ 模板集合。</p>zkw 线段树https://blog.sigmerc.top/posts/zkw-tree/Thu, 08 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/zkw-tree/<p>%。</p>EOJ 新生训练https://blog.sigmerc.top/posts/eoj-training/Tue, 13 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/eoj-training/<p>记录了新生训练上遇到的一些奇怪题,主要是 Week2 遇到的。</p>OJ 常用的模板们https://blog.sigmerc.top/posts/templates/Mon, 05 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/templates/<p>全是不太熟的模板。</p>最短路问题https://blog.sigmerc.top/posts/shortest-path/Sun, 04 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/shortest-path/<p>Dijkstra, Bellman-Ford &amp;&amp; SPFA.</p>EOJ 杂题合集https://blog.sigmerc.top/posts/eoj-misc/Fri, 02 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/eoj-misc/<p>整理了 EOJ 中遇到的一些值得一记的题目。</p>DP 题练习记录https://blog.sigmerc.top/posts/dp-practice/Tue, 30 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/dp-practice/<p>对我而言不那么简单的 DP 题目。</p>Miller-Rabin 素性测试与二次探测https://blog.sigmerc.top/posts/miller-rabin/Fri, 19 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/miller-rabin/<p>贴定理和模板的,不是教程。</p>简单 DFS 题合集https://blog.sigmerc.top/posts/dfs-simple/Thu, 04 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/dfs-simple/<p>题目全部来自 EOJ。新年开始用 C++ 了。</p>简单 DP 题合集https://blog.sigmerc.top/posts/dp-simple/Sat, 23 Dec 2017 00:00:00 +0000https://blog.sigmerc.top/posts/dp-simple/<p>经典之所以能被称为经典,是因为其中蕴含的无限可能。</p>欧拉筛法求素数https://blog.sigmerc.top/posts/euler-sieve/Mon, 04 Dec 2017 00:00:00 +0000https://blog.sigmerc.top/posts/euler-sieve/<p>我最喜欢的求素数方法。这也是我最常回顾(抄代码)的一篇文章。</p>巧算数学问题https://blog.sigmerc.top/posts/math-problems/Wed, 08 Nov 2017 00:00:00 +0000https://blog.sigmerc.top/posts/math-problems/<p>总是让人头疼又令人着迷的数学问题。</p>问题笔记https://blog.sigmerc.top/posts/newbie-note/Wed, 08 Nov 2017 00:00:00 +0000https://blog.sigmerc.top/posts/newbie-note/<p>第一篇博文。</p> \ No newline at end of file +Lab on Mercuryhttps://blog.sigmerc.top/Recent content on Lab on MercuryHugo -- gohugo.iozh-cnTue, 22 Aug 2023 00:00:00 +0000遁名匿迹:libprocesshider 处置方案https://blog.sigmerc.top/posts/libprocesshider/Tue, 22 Aug 2023 00:00:00 +0000https://blog.sigmerc.top/posts/libprocesshider/<p><a href="https://github.com/gianlucaborello/libprocesshider" target="_blank" rel="noreferrer">libprocesshider 项目地址</a></p>十万火急:云上应急响应概述https://blog.sigmerc.top/posts/ir-overview/Tue, 13 Jun 2023 00:00:00 +0000https://blog.sigmerc.top/posts/ir-overview/<p>对工作中的云上应急响应流程进行总结整理。</p>私有部署:打造自己的简易 Homelabhttps://blog.sigmerc.top/posts/selfhosting/Fri, 30 Dec 2022 00:00:00 +0000https://blog.sigmerc.top/posts/selfhosting/<p>最近几天在搭建 Homelab 上花费了不少精力,因此想要一边试错一边记录下这个过程。</p>自动装弹:快速搭建通用命令行环境https://blog.sigmerc.top/posts/dotfiles/Mon, 24 Oct 2022 12:51:35 +0800https://blog.sigmerc.top/posts/dotfiles/<p>面对一台新的 Linux 机器时,不用为了重搭环境头疼了。</p>冲云破雾:Tailscale 原理简述https://blog.sigmerc.top/posts/tailscale/Fri, 23 Sep 2022 20:51:55 +0800https://blog.sigmerc.top/posts/tailscale/<p>组建自己的私有零信任网络。</p>去繁就简:用 Telegram 收发微信和 QQ 消息https://blog.sigmerc.top/posts/tg-wechat-qq/Thu, 18 Aug 2022 22:22:53 +0800https://blog.sigmerc.top/posts/tg-wechat-qq/<p>和毒瘤软件说再见。</p>自主身份:SSI 技术实践https://blog.sigmerc.top/posts/ssi/Sat, 02 Jul 2022 11:04:38 +0800https://blog.sigmerc.top/posts/ssi/<p>更安全方便地管理、分享和验证身份信息。</p>步步为营:在 Go 项目中编写 Makefilehttps://blog.sigmerc.top/posts/go-makefile/Wed, 22 Jun 2022 15:09:26 +0800https://blog.sigmerc.top/posts/go-makefile/<p>用古老的工具构建现代化的应用。</p>命令交互:Shell 备忘录https://blog.sigmerc.top/posts/shell/Sat, 30 Apr 2022 17:13:19 +0800https://blog.sigmerc.top/posts/shell/<p>记录一些之前不太了解的 Shell 的用法。</p>昨日再现:用 Flarum 搭建功能强大的在线论坛https://blog.sigmerc.top/posts/flarum/Sun, 13 Mar 2022 18:28:09 +0000https://blog.sigmerc.top/posts/flarum/<p>完全出于巧合和心血来潮搭建的一个论坛。</p>乔迁新居:Hugo 博客的配置与部署https://blog.sigmerc.top/posts/hugo/Fri, 11 Mar 2022 13:10:42 +0000https://blog.sigmerc.top/posts/hugo/<p>博客从 Hexo 迁移到了 Hugo。在静态网站生成器中,Hugo 的优势主要在于其性能和简单易用的配置。</p>追本溯源:pwn.college 作业记录https://blog.sigmerc.top/posts/pwn-college/Thu, 24 Feb 2022 20:03:11 +0000https://blog.sigmerc.top/posts/pwn-college/<p>时隔许久,我居然又得做 pwn 题了。</p>扑朔迷离:隐私增强技术实践https://blog.sigmerc.top/posts/pet/Fri, 04 Feb 2022 09:23:11 +0000https://blog.sigmerc.top/posts/pet/<p>Privacy Enhancing Technologies (PET),实际上还是密码学。</p>星罗棋布:《分布式系统与安全》课程笔记https://blog.sigmerc.top/posts/distributed-systems/Mon, 18 Oct 2021 11:04:07 +0000https://blog.sigmerc.top/posts/distributed-systems/<p>COMP0133《分布式系统与安全》是我从本科到硕士期间最有价值的课。</p>乘风破浪:Kubernetes 笔记https://blog.sigmerc.top/posts/kubernetes/Sun, 10 Oct 2021 16:31:41 +0000https://blog.sigmerc.top/posts/kubernetes/<p>在了解了 Kubernetes 为什么叫 K8s 之后,才明白 internationalization 为什么叫 i18n。</p>再探 GitHub Actions:从 Dockerfile 到 GKEhttps://blog.sigmerc.top/posts/dockerfile2gke/Sat, 25 Sep 2021 18:44:35 +0000https://blog.sigmerc.top/posts/dockerfile2gke/<p>GitHub Actions 还可以配合 Issue 用来做开源社区的无聊小游戏,这就留到《三探 GitHub Actions》再说了。</p>高枕无忧:Google Cloud Platform 基础https://blog.sigmerc.top/posts/gcp/Thu, 23 Sep 2021 10:03:42 +0000https://blog.sigmerc.top/posts/gcp/<p>待更新。</p>风谲云诡:云原生技术原理https://blog.sigmerc.top/posts/cloud-native/Fri, 10 Sep 2021 09:27:59 +0000https://blog.sigmerc.top/posts/cloud-native/<p>精密而复杂。</p>迷途知返:Go Error 处理https://blog.sigmerc.top/posts/go-error/Wed, 08 Sep 2021 08:50:13 +0000https://blog.sigmerc.top/posts/go-error/<p>底层包装、中层传递、顶层处理。</p>持戈试马:在 MacBook Pro M1 上运行 Windows 11https://blog.sigmerc.top/posts/m1-win11/Thu, 26 Aug 2021 22:57:42 +0000https://blog.sigmerc.top/posts/m1-win11/<p>拖了很久才来尝鲜。</p>闭门造车:腾讯生态的泥沼https://blog.sigmerc.top/posts/tencent-eco/Sat, 21 Aug 2021 11:48:08 +0000https://blog.sigmerc.top/posts/tencent-eco/<p>记录了开发中遇到的和腾讯生态相关的一些问题。</p>温故知新:Javascript 杂记https://blog.sigmerc.top/posts/js-misc/Thu, 29 Jul 2021 23:26:26 +0000https://blog.sigmerc.top/posts/js-misc/<p>温故而知新,复习后才发现很多基础掌握得不牢固。</p>信手拈来:Joplin 使用小记https://blog.sigmerc.top/posts/joplin/Sat, 17 Jul 2021 21:00:31 +0000https://blog.sigmerc.top/posts/joplin/<p>折腾笔记软件。</p>胸有成竹:Quasar Testing 指南https://blog.sigmerc.top/posts/quasar-test/Sun, 21 Mar 2021 11:36:12 +0000https://blog.sigmerc.top/posts/quasar-test/<p>对 <a href="https://next.quasar.dev/quasar-cli/testing-and-auditing#introduction" target="_blank" rel="noreferrer">Quasar 文档测试部分</a> 和 <a href="https://testing.quasar.dev/" target="_blank" rel="noreferrer">@quasar/testing 文档</a> 部分内容进行了简单翻译,顺便记录了一些目前使用 Quasar 框架进行测试时存在的问题。</p>各司其职:FastAPI + TortoiseORM 实现异步 DB 操作https://blog.sigmerc.top/posts/fastapi-tortoise/Wed, 27 Jan 2021 17:05:55 +0000https://blog.sigmerc.top/posts/fastapi-tortoise/<p>参考了 <a href="https://github.com/prostomarkeloff/fastapi-tortoise" target="_blank" rel="noreferrer">这个 repo</a> 和 <a href="https://tortoise-orm.readthedocs.io/en/latest/" target="_blank" rel="noreferrer">官方文档</a>,踩了一些坑后觉得有必要记录下来。</p>久仰大名:基于 FastAPI 实现 OAuth2 登录认证https://blog.sigmerc.top/posts/fastapi-auth/Sun, 10 Jan 2021 16:34:22 +0000https://blog.sigmerc.top/posts/fastapi-auth/<p>写 Pianoforte 时第一个遇到的可复用模块。</p>透明代理:抓取微信小程序数据包https://blog.sigmerc.top/posts/mini-capture/Tue, 01 Dec 2020 20:48:30 +0000https://blog.sigmerc.top/posts/mini-capture/<p>以 Burpsuite 为例。</p>算无遗策:socket 编程发送 RAW 数据包https://blog.sigmerc.top/posts/raw-packet/Mon, 16 Nov 2020 17:03:11 +0000https://blog.sigmerc.top/posts/raw-packet/<p>实习的时候写的一小段代码。</p>Why So Serialize: From Deserialization to RCEhttps://blog.sigmerc.top/posts/why-so-serialize/Thu, 12 Nov 2020 10:21:09 +0800https://blog.sigmerc.top/posts/why-so-serialize/<p>专业英语的一次分享。<a href="https://slides.com/mercury/why-so-serialize" target="_blank" rel="noreferrer">Slides</a>。</p>窥间伺隙:Aircrack 套件破解 WPA/WPA2 密码https://blog.sigmerc.top/posts/aircrack-wpa/Sun, 18 Oct 2020 13:24:01 +0000https://blog.sigmerc.top/posts/aircrack-wpa/<p>《无线网络安全》作业。梦回大一。</p>Struts2 漏洞学习https://blog.sigmerc.top/posts/struts2/Tue, 04 Aug 2020 22:00:33 +0000https://blog.sigmerc.top/posts/struts2/<p>包含 s2-001 / s2-003 / s2-005 / s2-007 / s2-008 / s2-009 / s2-012 / s2-013 / s2-014 / s2-015 / s2-016 / s2-045 / s2-046 / s2-048 / s2-052 / s2-053 / s2-057</p>ThinkPHP & phpMyAdmin 漏洞学习https://blog.sigmerc.top/posts/think-php-myadmin/Wed, 29 Jul 2020 19:58:27 +0000https://blog.sigmerc.top/posts/think-php-myadmin/<p>包含 ThinkPHP 5.x RCE / ThinkPHP 5.0.23 RCE / ThinkPHP 2.x RCE / ThinkPHP 5.x SQL 注入导致敏感信息泄露 / phpMyAdmin 4.8.1 远程文件包含 / phpMyAdmin 4.0.x-4.6.2 认证用户 RCE / phpMyAdmin 2.x setup.php 反序列化</p>稳中求进:Jenkins 集成 IAST 全流程https://blog.sigmerc.top/posts/jenkins-iast/Tue, 28 Jul 2020 15:28:05 +0000https://blog.sigmerc.top/posts/jenkins-iast/<p>工作中写的一份指南文档。由于用的是测试环境,并没有需要脱敏的地方。</p>粉碎字典:设计方便记忆的安全口令https://blog.sigmerc.top/posts/shred-dict/Fri, 17 Jul 2020 11:04:45 +0000https://blog.sigmerc.top/posts/shred-dict/<p>就算无法逃避社工,也要设法减少损失。</p>闻鸡起舞:利用 GitHub Actions 进行持续部署https://blog.sigmerc.top/posts/github-actions-cd/Thu, 16 Jul 2020 22:13:48 +0000https://blog.sigmerc.top/posts/github-actions-cd/<p>最近在搞 SDL,尝试了一下 CI/CD 。</p>pAssWD 开发记录https://blog.sigmerc.top/posts/passwd/Sat, 27 Jun 2020 18:57:14 +0000https://blog.sigmerc.top/posts/passwd/<p>Platform for Attacking Swiftly &amp; Smoothly With Defending</p>网鼎杯 2018 Pwnhttps://blog.sigmerc.top/posts/wdb2018-pwn/Mon, 04 May 2020 11:17:45 +0000https://blog.sigmerc.top/posts/wdb2018-pwn/<p>准备今年网鼎杯时复现的一些题。题目不是很全,因为有些题不太会。</p>Pwn 脚本模板https://blog.sigmerc.top/posts/pwn-template/Sun, 26 Apr 2020 22:03:39 +0000https://blog.sigmerc.top/posts/pwn-template/<p>其中从 <code># start</code> 到 <code># end</code> 中间的部分为核心代码。最近更新的博客中 Pwn 题脚本的代码仅包含核心代码。</p>SwingMood 项目实践心得https://blog.sigmerc.top/posts/swingmood/Sat, 11 Apr 2020 21:23:02 +0000https://blog.sigmerc.top/posts/swingmood/<p>基本告别开发了。</p>狡兔三窟:栈迁移可视化的尝试https://blog.sigmerc.top/posts/stack-migration/Wed, 04 Mar 2020 16:32:06 +0000https://blog.sigmerc.top/posts/stack-migration/<p>参考 <a href="https://ctf-wiki.github.io/ctf-wiki/pwn/linux/stackoverflow/fancy-rop-zh/" target="_blank" rel="noreferrer">CTF-Wiki</a> 画的一些图。</p>近期进阶 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-medium/Sun, 01 Mar 2020 14:10:54 +0000https://blog.sigmerc.top/posts/recent-pwn-medium/<p>难题都没有做出来。题目来自 ACTF 2019、GYCTF 2019、VNCTF 2020。</p>HITCON Training 练习记录https://blog.sigmerc.top/posts/hitcon-training/Sun, 16 Feb 2020 20:32:19 +0000https://blog.sigmerc.top/posts/hitcon-training/<p>HITCON Training 更新完成,没咕咕。其中堆题真是很适合入门。</p>牛刀小试:MetasequoiaCTF2020 部分题解https://blog.sigmerc.top/posts/metasequoiactf2020/Sat, 15 Feb 2020 16:52:16 +0000https://blog.sigmerc.top/posts/metasequoiactf2020/<p>第一次出题,经验不足,感谢参赛选手海涵。</p>捅马蜂窝:H1ve 部署实践https://blog.sigmerc.top/posts/h1ve-deploy/Sun, 09 Feb 2020 16:43:13 +0000https://blog.sigmerc.top/posts/h1ve-deploy/<p>最近 H1ve 平台开源了,这是我在 GitHub 上见到的目前完成度最高的带 AWD 模式的平台。尽管如此依然遇到了不少 bug,经修复后现在的版本还算稳定。</p>近期简单 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-simple/Mon, 03 Feb 2020 14:54:01 +0000https://blog.sigmerc.top/posts/recent-pwn-simple/<p>近期做的一些简单 Pwn 题记录。题目来自 ADWorld 新手区、BJDCTF 2019、JarvisOJ。</p>风雨无阻:crontab + at 实现随机定时任务https://blog.sigmerc.top/posts/cron-at/Thu, 23 Jan 2020 03:58:58 +0000https://blog.sigmerc.top/posts/cron-at/<p>定时任务相关的命令,使用起来坑非常多。</p>东方记者:新闻统计小工具 Newspaperhttps://blog.sigmerc.top/posts/newspaper/Wed, 22 Jan 2020 22:23:36 +0000https://blog.sigmerc.top/posts/newspaper/<p>这下统计新闻要轻松多了。</p>Paillier 同态加密方案实现https://blog.sigmerc.top/posts/paillier/Thu, 26 Dec 2019 21:08:46 +0000https://blog.sigmerc.top/posts/paillier/<p>最后一次抽代课的上机练习。</p>ElGamal 密码方案的椭圆曲线形式实现https://blog.sigmerc.top/posts/elgamal-ecc/Fri, 20 Dec 2019 13:00:34 +0000https://blog.sigmerc.top/posts/elgamal-ecc/<p>抽代课的上机练习。</p>BUUCTF Pwn 练习记录https://blog.sigmerc.top/posts/buu-pwn/Sat, 14 Dec 2019 21:46:20 +0000https://blog.sigmerc.top/posts/buu-pwn/<p>从今天起,我也是 Pwn 🐕 了。</p>术业专攻:QTable 服务端分页实践https://blog.sigmerc.top/posts/qtable-ss-pagination/Thu, 12 Dec 2019 21:16:51 +0000https://blog.sigmerc.top/posts/qtable-ss-pagination/<p>QTable 是 Quasar Framework 的组件之一,功能比较复杂。这篇文章介绍了如何配合服务端分页来使用 QTable 组件。</p>ROP Emporium 练习记录https://blog.sigmerc.top/posts/rop-emporium/Mon, 09 Dec 2019 15:02:43 +0000https://blog.sigmerc.top/posts/rop-emporium/<p>针对 ROP 学习了一下,就记录一下 64 位的做法,32 位同理。不知道为什么对这个网站特别有好感。</p>how2heap 学习https://blog.sigmerc.top/posts/how2heap/Mon, 09 Dec 2019 14:36:48 +0000https://blog.sigmerc.top/posts/how2heap/<p>距离文章发布两个多月后,终于更新完啦!</p>盘根错节:GLibc 堆内存管理机制简介https://blog.sigmerc.top/posts/glibc-heap/Sun, 08 Dec 2019 16:53:39 +0000https://blog.sigmerc.top/posts/glibc-heap/<p>The heap is a beautiful mess.</p>水漫金山:《二进制漏洞利用入门》课程总结https://blog.sigmerc.top/posts/binary-exp/Thu, 05 Dec 2019 22:37:20 +0000https://blog.sigmerc.top/posts/binary-exp/<p>其实我也刚学。</p>BUUCTF Web 练习记录https://blog.sigmerc.top/posts/buu-web/Fri, 29 Nov 2019 18:36:25 +0000https://blog.sigmerc.top/posts/buu-web/<p>偶然发现的 BUUCTF,真的非常好用了。</p>Bugku Pwn 练习记录https://blog.sigmerc.top/posts/bugku-pwn/Tue, 29 Oct 2019 15:40:03 +0000https://blog.sigmerc.top/posts/bugku-pwn/<p>Pwn 入门。</p>Hackergame2019 比赛记录https://blog.sigmerc.top/posts/hackergame2019/Tue, 15 Oct 2019 10:29:23 +0000https://blog.sigmerc.top/posts/hackergame2019/<p>开拓眼界了。</p>Pwnable.kr Toddler's Bottle 练习记录https://blog.sigmerc.top/posts/pwnkr-toddler/Wed, 09 Oct 2019 21:19:11 +0000https://blog.sigmerc.top/posts/pwnkr-toddler/<p>画风很可爱的 Pwn 题练习网站。</p>舍近求远:开通 IPv6 隧道https://blog.sigmerc.top/posts/ipv6-tunnel/Thu, 26 Sep 2019 22:34:18 +0000https://blog.sigmerc.top/posts/ipv6-tunnel/<p>喜迎国庆。</p>对移位密码的自动化攻击https://blog.sigmerc.top/posts/auto-atk-shift-cipher/Fri, 13 Sep 2019 15:46:43 +0000https://blog.sigmerc.top/posts/auto-atk-shift-cipher/<p>《密码学基础》小作业。</p>OpenSSL 常用命令速查表https://blog.sigmerc.top/posts/openssl-cheatsheet/Mon, 02 Sep 2019 17:37:01 +0000https://blog.sigmerc.top/posts/openssl-cheatsheet/<p>仅仅记录了一些较常用的命令实例,具体命令、选项与说明推荐查阅官方文档。</p>ISG2019 线上赛比赛记录https://blog.sigmerc.top/posts/isg2019/Wed, 28 Aug 2019 12:21:49 +0000https://blog.sigmerc.top/posts/isg2019/<p>题目难度不算大,但是考验脑洞。</p>i 春秋 Web 练习记录https://blog.sigmerc.top/posts/icq-web/Sat, 24 Aug 2019 20:42:38 +0000https://blog.sigmerc.top/posts/icq-web/<p>i 春秋上的题都是比赛真题,所以会比较有意思,也更复杂一些。</p>实验吧 Web 练习记录https://blog.sigmerc.top/posts/shiyanba-web/Fri, 26 Jul 2019 21:15:13 +0000https://blog.sigmerc.top/posts/shiyanba-web/<p>实验吧的 Web 题总体比 Bugku 难一些,主要难度在于几道注入题。</p>ECNU X 启明星辰 网络安全暑期学校记录https://blog.sigmerc.top/posts/summer-school/Tue, 23 Jul 2019 14:39:19 +0000https://blog.sigmerc.top/posts/summer-school/<p>7.22-7.26,收获不大。</p>Beef 加载 Metasploit 插件 & Metasploit 连接 PostgreSQLhttps://blog.sigmerc.top/posts/beef-msf/Sun, 21 Jul 2019 12:17:14 +0000https://blog.sigmerc.top/posts/beef-msf/<p>没有什么坑点。</p>Ettercap 简易入门https://blog.sigmerc.top/posts/ettercap/Sat, 20 Jul 2019 00:03:58 +0000https://blog.sigmerc.top/posts/ettercap/<p>关于 Ettercap 的有趣例子。</p>简单的 PE 后门https://blog.sigmerc.top/posts/shellter-upx/Fri, 19 Jul 2019 22:57:45 +0000https://blog.sigmerc.top/posts/shellter-upx/<p>记录一下最简单的挂后门和免杀方法,不怎么接触这块。</p>画蛇添足:哈希长度扩展攻击https://blog.sigmerc.top/posts/hash-len-ext-atk/Sat, 29 Jun 2019 11:43:47 +0000https://blog.sigmerc.top/posts/hash-len-ext-atk/<p>简单翻译了 <code>hash_extender</code> 的 README 文档。</p>CISCN2019 初赛+半决赛部分题解https://blog.sigmerc.top/posts/ciscn2019/Fri, 28 Jun 2019 17:31:50 +0000https://blog.sigmerc.top/posts/ciscn2019/<p>打完比赛就回去必修课期末考,于是现在才整理。这里只记录了少数几题的 writeup。</p>模 p 平方根算法https://blog.sigmerc.top/posts/mod-p-sqrt/Wed, 22 May 2019 17:02:49 +0000https://blog.sigmerc.top/posts/mod-p-sqrt/<p>参考了陈恭亮《信息安全数学基础》第二版上的算法。</p>LR 语法分析器https://blog.sigmerc.top/posts/lr-parser/Wed, 15 May 2019 20:41:06 +0000https://blog.sigmerc.top/posts/lr-parser/<p>天 坑 预 警</p>LL 语法分析器https://blog.sigmerc.top/posts/ll-parser/Thu, 09 May 2019 23:15:47 +0000https://blog.sigmerc.top/posts/ll-parser/<p>这次繁杂了许多,我有点害怕接下来的 LR(1) 语法分析器了。</p>走远了的词法分析器https://blog.sigmerc.top/posts/lex-analysis/Thu, 11 Apr 2019 20:56:28 +0000https://blog.sigmerc.top/posts/lex-analysis/<p>奇怪的思路果然总是通向奇怪的出路。</p>ECNUCTF2019 初赛 writeuphttps://blog.sigmerc.top/posts/ecnuctf2019/Sun, 31 Mar 2019 12:58:34 +0000https://blog.sigmerc.top/posts/ecnuctf2019/<p>第二次参加 CTF,上次参加时还只知道古典密码。</p>通过 JDBC 连接 MySQLhttps://blog.sigmerc.top/posts/jdbc-mysql/Mon, 25 Mar 2019 23:11:05 +0000https://blog.sigmerc.top/posts/jdbc-mysql/<p>大概是第二次被 MySQL 玩了,也可能是第三次。</p>“老有所得” 项目实践心得https://blog.sigmerc.top/posts/adminder/Mon, 18 Mar 2019 14:57:20 +0000https://blog.sigmerc.top/posts/adminder/<p>其实最大的心得是不要一次开多个项目。</p>短兵相接:MD4 碰撞攻击https://blog.sigmerc.top/posts/md4-collision/Wed, 06 Mar 2019 14:01:28 +0000https://blog.sigmerc.top/posts/md4-collision/<p>重复了王小云教授 14 年前的工作,RIPEMD/MD5/SHA 家族碰撞原理类似。</p>实战 SSH 端口转发https://blog.sigmerc.top/posts/ssh-port-fwd/Mon, 04 Mar 2019 18:13:07 +0000https://blog.sigmerc.top/posts/ssh-port-fwd/<p>驾驭魔法,需要先掌握魔法的原理。</p>凿壁偷光:魔法上网的可持续解决方案https://blog.sigmerc.top/posts/magical-surfing/Mon, 04 Mar 2019 17:06:17 +0000https://blog.sigmerc.top/posts/magical-surfing/<p>因为众所周知的原因,本文中不会提供任何相关工具的下载链接。</p>横行霸道:ECNU 第三轮课程掠夺者https://blog.sigmerc.top/posts/course-robber/Sun, 10 Feb 2019 21:36:21 +0000https://blog.sigmerc.top/posts/course-robber/<p>用来在第三轮选课中抢课。</p>jQuery 踩坑记https://blog.sigmerc.top/posts/jquery/Wed, 23 Jan 2019 13:18:21 +0000https://blog.sigmerc.top/posts/jquery/<p>开发项目时踩到的坑。</p>VSCode + APICloud + GitHub 开发环境配置https://blog.sigmerc.top/posts/vscode-apicloud/Thu, 17 Jan 2019 14:22:32 +0000https://blog.sigmerc.top/posts/vscode-apicloud/<p>不是很懂为什么 APICloud 没有官方的 VSCode 插件。</p>世外桃源:Hexo 踩坑记https://blog.sigmerc.top/posts/hexo/Fri, 11 Jan 2019 22:15:45 +0000https://blog.sigmerc.top/posts/hexo/<p>关于这个网站是如何诞生的。</p>《Python 编程技术》期末作业https://blog.sigmerc.top/posts/python-summary/Sun, 06 Jan 2019 00:00:00 +0000https://blog.sigmerc.top/posts/python-summary/<p>期末作业居然是写综述。。有点无聊啊。<strong>这不是 Python 教程。</strong></p>概率论课程报告https://blog.sigmerc.top/posts/probability-report/Fri, 14 Dec 2018 00:00:00 +0000https://blog.sigmerc.top/posts/probability-report/<p>一道数竞压轴题的直观解法。</p>一点 C 语言的经验https://blog.sigmerc.top/posts/c-tips/Wed, 17 Oct 2018 00:00:00 +0000https://blog.sigmerc.top/posts/c-tips/<p>被邀请分享 C 语言学习经验,于是写了点东西给学生会做推送。</p>AVL 树和 B 树https://blog.sigmerc.top/posts/avl-b-tree/Wed, 13 Jun 2018 00:00:00 +0000https://blog.sigmerc.top/posts/avl-b-tree/<p>数据结构上机课花了点时间实现的两种相对复杂的数据结构。基本上在抄书。</p>位运算用法整理https://blog.sigmerc.top/posts/bitwise-ops/Sun, 11 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/bitwise-ops/<p>实训准备的第二弹。</p>程序设计能力实训 资料准备https://blog.sigmerc.top/posts/exam-prep/Sat, 10 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/exam-prep/<p>其实差不多就是低难度 C++ 模板集合。</p>zkw 线段树https://blog.sigmerc.top/posts/zkw-tree/Thu, 08 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/zkw-tree/<p>%。</p>EOJ 新生训练https://blog.sigmerc.top/posts/eoj-training/Tue, 13 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/eoj-training/<p>记录了新生训练上遇到的一些奇怪题,主要是 Week2 遇到的。</p>OJ 常用的模板们https://blog.sigmerc.top/posts/templates/Mon, 05 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/templates/<p>全是不太熟的模板。</p>最短路问题https://blog.sigmerc.top/posts/shortest-path/Sun, 04 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/shortest-path/<p>Dijkstra, Bellman-Ford &amp;&amp; SPFA.</p>EOJ 杂题合集https://blog.sigmerc.top/posts/eoj-misc/Fri, 02 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/eoj-misc/<p>整理了 EOJ 中遇到的一些值得一记的题目。</p>DP 题练习记录https://blog.sigmerc.top/posts/dp-practice/Tue, 30 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/dp-practice/<p>对我而言不那么简单的 DP 题目。</p>Miller-Rabin 素性测试与二次探测https://blog.sigmerc.top/posts/miller-rabin/Fri, 19 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/miller-rabin/<p>贴定理和模板的,不是教程。</p>简单 DFS 题合集https://blog.sigmerc.top/posts/dfs-simple/Thu, 04 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/dfs-simple/<p>题目全部来自 EOJ。新年开始用 C++ 了。</p>简单 DP 题合集https://blog.sigmerc.top/posts/dp-simple/Sat, 23 Dec 2017 00:00:00 +0000https://blog.sigmerc.top/posts/dp-simple/<p>经典之所以能被称为经典,是因为其中蕴含的无限可能。</p>欧拉筛法求素数https://blog.sigmerc.top/posts/euler-sieve/Mon, 04 Dec 2017 00:00:00 +0000https://blog.sigmerc.top/posts/euler-sieve/<p>我最喜欢的求素数方法。这也是我最常回顾(抄代码)的一篇文章。</p>巧算数学问题https://blog.sigmerc.top/posts/math-problems/Wed, 08 Nov 2017 00:00:00 +0000https://blog.sigmerc.top/posts/math-problems/<p>总是让人头疼又令人着迷的数学问题。</p>问题笔记https://blog.sigmerc.top/posts/newbie-note/Wed, 08 Nov 2017 00:00:00 +0000https://blog.sigmerc.top/posts/newbie-note/<p>第一篇博文。</p> \ No newline at end of file diff --git a/page/10/index.html b/page/10/index.html index 4a5cccc5e..4a887e038 100644 --- a/page/10/index.html +++ b/page/10/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

东方记者:新闻统计小工具 Newspaper

·
自动化 diff --git a/page/11/index.html b/page/11/index.html index 7ed91e1c0..8dff0c872 100644 --- a/page/11/index.html +++ b/page/11/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

Mercury

Mercury

InfoSec Engineer

最近的文章

BUUCTF Web 练习记录

·
Web 安全 +
Mercury

Mercury

Security Engineer

最近的文章

BUUCTF Web 练习记录

·
Web 安全 SQLi 文件上传 SSRF diff --git a/page/13/index.html b/page/13/index.html index d3253213d..6b543a1aa 100644 --- a/page/13/index.html +++ b/page/13/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

对移位密码的自动化攻击

·
密码学 +
Mercury

Mercury

Security Engineer

最近的文章

OpenSSL 常用命令速查表

·
安全工具 对称密码学 diff --git a/page/14/index.html b/page/14/index.html index c602983d2..a0ab39429 100644 --- a/page/14/index.html +++ b/page/14/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

ECNU X 启明星辰 网络安全暑期学校记录

·
Web 安全 +
Mercury

Mercury

Security Engineer

最近的文章

ECNU X 启明星辰 网络安全暑期学校记录

·
Web 安全 Kali Hash Javascript diff --git a/page/15/index.html b/page/15/index.html index 9efc37ee5..8deb60383 100644 --- a/page/15/index.html +++ b/page/15/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

CISCN2019 初赛+半决赛部分题解

·
比赛记录 RSA 反序列化 diff --git a/page/16/index.html b/page/16/index.html index 15fcd7804..d99e7c73f 100644 --- a/page/16/index.html +++ b/page/16/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

ECNUCTF2019 初赛 writeup

·
比赛记录 SQLi 古典密码与编码 diff --git a/page/17/index.html b/page/17/index.html index dd9c6cc4a..ca367fe78 100644 --- a/page/17/index.html +++ b/page/17/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

凿壁偷光:魔法上网的可持续解决方案

·
探索 +
Mercury

Mercury

Security Engineer

最近的文章

横行霸道:ECNU 第三轮课程掠夺者

·
自动化 diff --git a/page/18/index.html b/page/18/index.html index bdf8b315a..ea8a8a735 100644 --- a/page/18/index.html +++ b/page/18/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

概率论课程报告

·
探索 diff --git a/page/19/index.html b/page/19/index.html index 2e9eaf773..fce110df9 100644 --- a/page/19/index.html +++ b/page/19/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

程序设计能力实训 资料准备

·
算法 +
Mercury

Mercury

Security Engineer

最近的文章

程序设计能力实训 资料准备

·
算法 C/C++ 数学 高精度 diff --git a/page/2/index.html b/page/2/index.html index 868d90104..023c66409 100644 --- a/page/2/index.html +++ b/page/2/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

Mercury

Mercury

InfoSec Engineer

最近的文章

EOJ 杂题合集

·
算法 +
Mercury

Mercury

Security Engineer

最近的文章

EOJ 杂题合集

·
算法 正则表达式 搜索 最大区间和 diff --git a/page/21/index.html b/page/21/index.html index 88bcfdf72..7453b5379 100644 --- a/page/21/index.html +++ b/page/21/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

欧拉筛法求素数

·
算法 +
Mercury

Mercury

Security Engineer

最近的文章

问题笔记

·
编程语言 C/C++ diff --git a/page/3/index.html b/page/3/index.html index 6c34c11dd..26655b745 100644 --- a/page/3/index.html +++ b/page/3/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

再探 GitHub Actions:从 Dockerfile 到 GKE

·
Docker GCP diff --git a/page/5/index.html b/page/5/index.html index c12da258f..e1d222f75 100644 --- a/page/5/index.html +++ b/page/5/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

闭门造车:腾讯生态的泥沼

·
后端 +
Mercury

Mercury

Security Engineer

最近的文章

Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

久仰大名:基于 FastAPI 实现 OAuth2 登录认证

·
后端 Python FastAPI diff --git a/page/7/index.html b/page/7/index.html index 23d8428cc..b033d3547 100644 --- a/page/7/index.html +++ b/page/7/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

Struts2 漏洞学习

·

包含 s2-001 / s2-003 / s2-005 / s2-007 / s2-008 / s2-009 / s2-012 / s2-013 / s2-014 / s2-015 / s2-016 / s2-045 / s2-046 / s2-048 / s2-052 / s2-053 / s2-057

ThinkPHP & phpMyAdmin 漏洞学习

·
Web 安全 diff --git a/page/8/index.html b/page/8/index.html index 1ef0a6f78..d1e984ce0 100644 --- a/page/8/index.html +++ b/page/8/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

最近的文章

网鼎杯 2018 Pwn

·
系统安全 diff --git a/page/9/index.html b/page/9/index.html index fa69dcd96..62ecd3818 100644 --- a/page/9/index.html +++ b/page/9/index.html @@ -5,7 +5,7 @@ ">
Mercury

Mercury

InfoSec Engineer

最近的文章

近期进阶 Pwn 合集

·
系统安全 +
Mercury

Mercury

Security Engineer

最近的文章

近期进阶 Pwn 合集

·
系统安全 整数溢出 栈漏洞 fsb diff --git a/posts/adminder/index.html b/posts/adminder/index.html index d2bbf229e..f586e8416 100644 --- a/posts/adminder/index.html +++ b/posts/adminder/index.html @@ -13,7 +13,7 @@ temp_list.push(ret.data[item]) } this.$set(this.listData, val, temp_list) -

其次,诸如 Mustache 内部和 v-bind 系列的数据绑定中,不能直接使用函数的返回值,这一问题困扰了我非常之久,最后通过使用数组元素绑定,并通过函数获取数组内数据的方式绕过了这一限制。

最后,v-if v-for 在同一节点中出现时,v-for 优先级更高,可以把 v-if 放在父节点上来避免这种情况;嵌套 v-for 时,节点的 :key 属性必须两两不同。

本项目中,我学习了新的前端框架 uni-app 和 Vue.js,尽管各有一定不足,我依然认为两者为项目开发提供了不少便利;而在界面布局与设计上,我并没有太多贡献,不过在进行调整时使用到了 flex 布局,算是比较大的收获。

Mercury
作者
Mercury
InfoSec Engineer

+其实是懒

位运算的常见技巧和常用公式 #

如有遗漏请务必补充。

  • (来自: 树状数组 lowbit)取出 “从 x 的最低位的 1 直到最后” 的值:x &= -x
  • (来自: 线段树)快速求 $2x,2x+1$:x<<1, x<<1|1
  • (来自: 我也不知道来自哪里)把 x 最低位的 1 变成 0:x &= (x-1)
  • (来自: 我也不知道来自哪里)把 x 最低位的 0 变成 1:x |= x+1
  • (来自: 状压 dp)判断 x 的第 i 位是不是 1:if (x & (1<<i))
  • (来自: 博弈论)异或(XOR)运算的性质:同一个数异或两次即为其自身
  • (来自:CSAPP)C/C++ 中对于有符号数,>> 表示算术右移;对于无符号数,>> 表示逻辑右移。对于两者而言,<< 都表示逻辑左移。
  • (来自: 为了偷懒不写 EOF)表示 x 不等于 -1:~x。也就是说,while(scanf("%d", &n) != EOF) 等价于 while(~scanf("%d", &n))

由于其中原理都不难推导,这里不再赘述。

gcc 中 __builtin 系列函数及 C++ 中 bitset 类的简介 #

这里只记录一些实训可能会用到的……

__builtin #

以下函数都返回 int,x 都为 unsigned int(当然在函数名后加 lll 可以改为 long/long long 类型)。

  • __builtin_popcount(x):x 中 1 的个数
  • __builtin_ctz(x):x 末尾 0 的个数(x 非 0)
  • __builtin_clz(x):x 前导 0 的个数(x 非 0)
  • __builtin_ffs(x):x 中最后一个为 1 的位是从后向前的第几位
  • __builtin_parity(x):x 中 1 的个数模 2 的值

bitset #

本来想自己写一下,后来发现 这个博客这个博客 总结得很好,就偷了个懒。

一般来说实训当中不太会有需要用到 __builtin 和 bitset 的题目,所以了解一下就可以了。


  • 看到表达式里出现 error / warning 时,想想运算符两端是不是类型一致。不要把指针和 0 比较,也不要把数值和 NULL 比较。

  • 循环 #

    1. C 按先行后列的顺序存储数组元素,所以两层 for 遍历时,先行后列比先列后行快几十倍。这听起来不可思议(总循环次数是一样的),不妨写两个程序试试?(原理见神书 CSAPP)

    2. 循环体内存在逻辑判断,并且循环次数很多时,试试把逻辑判断移到外面。

    3. 少用 goto,除非要从多层循环里直接跳出来。

    函数 #

    1. 函数调用中参数传递的本质就是用实参来初始化形参而不是替换形参。

    2. 如果参数是指针,且仅做输入用,则应在类型前加 const,防止该指针指向的内存单元被无意修改。

    3. 不要省略返回值类型,没返回值就用 void。标准 C 语言中,不加类型说明的函数一律按 int 类型处理。

    4. 函数名和返回值在语义上不可冲突。不要将正常值和错误标志混在一起返回。建议正常值用输出参数获得,而错误标志用 return 返回。强调这个是因为 C 标准库中典型的反面教材:getchar()。看函数名似乎应该返回 char 类型,实际上它却返回 int 类型,只因为要返回错误标志 EOF,也就是 -1。

    5. return 语句不可返回指向堆栈(如函数内局部变量)的指针,因为该内存单元在函数体结束时被自动释放。

    6. 尽管语法允许,不要在内层程序块中定义会屏蔽外层程序块中同名标识符的标识符,否则会损害程序的清晰性。

    7. 学用 assert 宏。

    指针 #

    1. 不管什么指针变量都要在声明的时候就初始化它,NULL 也行。

    2. 将指针加 / 减正整数 i 等价于加 / 减 i*sizeof(指针所指数据类型)

    3. 传指针本质上是传地址。

    4. 表示 a 数组第 4 个元素 a[3] 居然还可以写成 3[a],这是为什么?(我开始写数组相关的内容了,却还是在指针板块,这又是为什么?)

    5. 多维数组作为函数参数时,为什么不需要说明第一维的大小而必须说明后面所有维的大小?

    6. 即使你觉得自己不会忘记字符数组末尾的 \0,你还是会忘记。(有些库函数不会自动加 \0

    7. 对下面的代码,输出 p*p 有什么不同?

      char ch = 'a';
       char *p = &ch;
      -
    8. 函数指针了解一下。

    结构体 #

    1. 你可以用 “位域” 指定 struct 中成员变量所占的 bit 数(而不是 byte),只不过成员类型必须是 int/unsigned int/signed int 之一。

    2. 根据自然对齐的原理,合理安排成员变量的声明顺序。(详见神书 CSAPP)


    最后提醒大家,程序的正确性固然重要,但是一定不要轻视其可读性、可维护性、健壮性、时空效率等等。不过也不用纠结大括号换不换行,缩进用 Tab 还是空格的问题。祝大家都能写出清晰、高效的优质代码!

    Mercury
    作者
    Mercury
    InfoSec Engineer

  • 函数指针了解一下。

  • 结构体 #

    1. 你可以用 “位域” 指定 struct 中成员变量所占的 bit 数(而不是 byte),只不过成员类型必须是 int/unsigned int/signed int 之一。

    2. 根据自然对齐的原理,合理安排成员变量的声明顺序。(详见神书 CSAPP)


    最后提醒大家,程序的正确性固然重要,但是一定不要轻视其可读性、可维护性、健壮性、时空效率等等。不过也不用纠结大括号换不换行,缩进用 Tab 还是空格的问题。祝大家都能写出清晰、高效的优质代码!

    Mercury
    作者
    Mercury
    InfoSec Engineer

    附录 #

    • TODO: 存储用户输入的信息,使用户不用修改代码也能一劳永逸。这涉及到密码存储的问题——不能直接存储明文,所以需要加密机制。采用 base64 之类的编码等于没加密,采用单向散列函数则无法还原成密码明文,必须用双向的(也就是严格意义上的)加密机制,由于数据量不大,DES, 3DES, AES, RSA 都是值得考虑的选择。问题是我真的需要把这个简单的脚本复杂化吗?
    • 虽然 PILPillow 淘汰了,用的时候还是要 from PIL import ...
    • webdriver 的选择器和 DOM 的 document.queryselector 很像,优势在于更灵活,甚至可以用 xpath,劣势嘛…… 没有 jQuery 了。
    • 调整裁剪图片时用了 locationsize,不知道为什么在网页上和在截图里数值上会有偏差,最后靠乱调参数才搞定。。也许是巧合,数值上正好差了 1.5 倍?
    • 除了用 ImageEnhance 库增加验证码正确识别率以外,还可以用图像二值化的办法。理论上来说用 pytesseract 来识别 ECNU 公共数据库的验证码实在是杀鸡用牛刀了。
    • 不明白 pytesseractconfig 里的参数的含义,在网上粗略找了找没啥发现,命令行里敲 --help 就出现了。还是没有养成命令行看官方文档的习惯。
    • 关闭浏览器时会在最后的 while True 循环第一行触发 NoSuchWindowException,毕竟浏览器都被关了嘛。所以额外加了个 try...except

    十万火急:云上应急响应概述

    ·

    对工作中的云上应急响应流程进行总结整理。

    2022


    Posts on Lab on Mercuryhttps://blog.sigmerc.top/posts/Recent content in Posts on Lab on MercuryHugo -- gohugo.iozh-cnTue, 22 Aug 2023 00:00:00 +0000遁名匿迹:libprocesshider 处置方案https://blog.sigmerc.top/posts/libprocesshider/Tue, 22 Aug 2023 00:00:00 +0000https://blog.sigmerc.top/posts/libprocesshider/<p>项目地址:https://github.com/gianlucaborello/libprocesshider</p>十万火急:云上应急响应概述https://blog.sigmerc.top/posts/ir-overview/Tue, 13 Jun 2023 00:00:00 +0000https://blog.sigmerc.top/posts/ir-overview/<p>对工作中的云上应急响应流程进行总结整理。</p>私有部署:打造自己的简易 Homelabhttps://blog.sigmerc.top/posts/selfhosting/Fri, 30 Dec 2022 00:00:00 +0000https://blog.sigmerc.top/posts/selfhosting/<p>最近几天在搭建 Homelab 上花费了不少精力,因此想要一边试错一边记录下这个过程。</p>自动装弹:快速搭建通用命令行环境https://blog.sigmerc.top/posts/dotfiles/Mon, 24 Oct 2022 12:51:35 +0800https://blog.sigmerc.top/posts/dotfiles/<p>面对一台新的 Linux 机器时,不用为了重搭环境头疼了。</p>冲云破雾:Tailscale 原理简述https://blog.sigmerc.top/posts/tailscale/Fri, 23 Sep 2022 20:51:55 +0800https://blog.sigmerc.top/posts/tailscale/<p>组建自己的私有零信任网络。</p>去繁就简:用 Telegram 收发微信和 QQ 消息https://blog.sigmerc.top/posts/tg-wechat-qq/Thu, 18 Aug 2022 22:22:53 +0800https://blog.sigmerc.top/posts/tg-wechat-qq/<p>和毒瘤软件说再见。</p>自主身份:SSI 技术实践https://blog.sigmerc.top/posts/ssi/Sat, 02 Jul 2022 11:04:38 +0800https://blog.sigmerc.top/posts/ssi/<p>更安全方便地管理、分享和验证身份信息。</p>步步为营:在 Go 项目中编写 Makefilehttps://blog.sigmerc.top/posts/go-makefile/Wed, 22 Jun 2022 15:09:26 +0800https://blog.sigmerc.top/posts/go-makefile/<p>用古老的工具构建现代化的应用。</p>命令交互:Shell 备忘录https://blog.sigmerc.top/posts/shell/Sat, 30 Apr 2022 17:13:19 +0800https://blog.sigmerc.top/posts/shell/<p>记录一些之前不太了解的 Shell 的用法。</p>昨日再现:用 Flarum 搭建功能强大的在线论坛https://blog.sigmerc.top/posts/flarum/Sun, 13 Mar 2022 18:28:09 +0000https://blog.sigmerc.top/posts/flarum/<p>完全出于巧合和心血来潮搭建的一个论坛。</p>乔迁新居:Hugo 博客的配置与部署https://blog.sigmerc.top/posts/hugo/Fri, 11 Mar 2022 13:10:42 +0000https://blog.sigmerc.top/posts/hugo/<p>博客从 Hexo 迁移到了 Hugo。在静态网站生成器中,Hugo 的优势主要在于其性能和简单易用的配置。</p>追本溯源:pwn.college 作业记录https://blog.sigmerc.top/posts/pwn-college/Thu, 24 Feb 2022 20:03:11 +0000https://blog.sigmerc.top/posts/pwn-college/<p>时隔许久,我居然又得做 pwn 题了。</p>扑朔迷离:隐私增强技术实践https://blog.sigmerc.top/posts/pet/Fri, 04 Feb 2022 09:23:11 +0000https://blog.sigmerc.top/posts/pet/<p>Privacy Enhancing Technologies (PET),实际上还是密码学。</p>星罗棋布:《分布式系统与安全》课程笔记https://blog.sigmerc.top/posts/distributed-systems/Mon, 18 Oct 2021 11:04:07 +0000https://blog.sigmerc.top/posts/distributed-systems/<p>COMP0133《分布式系统与安全》是我从本科到硕士期间最有价值的课。</p>乘风破浪:Kubernetes 笔记https://blog.sigmerc.top/posts/kubernetes/Sun, 10 Oct 2021 16:31:41 +0000https://blog.sigmerc.top/posts/kubernetes/<p>在了解了 Kubernetes 为什么叫 K8s 之后,才明白 internationalization 为什么叫 i18n。</p>再探 GitHub Actions:从 Dockerfile 到 GKEhttps://blog.sigmerc.top/posts/dockerfile2gke/Sat, 25 Sep 2021 18:44:35 +0000https://blog.sigmerc.top/posts/dockerfile2gke/<p>GitHub Actions 还可以配合 Issue 用来做开源社区的无聊小游戏,这就留到《三探 GitHub Actions》再说了。</p>高枕无忧:Google Cloud Platform 基础https://blog.sigmerc.top/posts/gcp/Thu, 23 Sep 2021 10:03:42 +0000https://blog.sigmerc.top/posts/gcp/<p>待更新。</p>风谲云诡:云原生技术原理https://blog.sigmerc.top/posts/cloud-native/Fri, 10 Sep 2021 09:27:59 +0000https://blog.sigmerc.top/posts/cloud-native/<p>精密而复杂。</p>迷途知返:Go Error 处理https://blog.sigmerc.top/posts/go-error/Wed, 08 Sep 2021 08:50:13 +0000https://blog.sigmerc.top/posts/go-error/<p>底层包装、中层传递、顶层处理。</p>持戈试马:在 MacBook Pro M1 上运行 Windows 11https://blog.sigmerc.top/posts/m1-win11/Thu, 26 Aug 2021 22:57:42 +0000https://blog.sigmerc.top/posts/m1-win11/<p>拖了很久才来尝鲜。</p>闭门造车:腾讯生态的泥沼https://blog.sigmerc.top/posts/tencent-eco/Sat, 21 Aug 2021 11:48:08 +0000https://blog.sigmerc.top/posts/tencent-eco/<p>记录了开发中遇到的和腾讯生态相关的一些问题。</p>温故知新:Javascript 杂记https://blog.sigmerc.top/posts/js-misc/Thu, 29 Jul 2021 23:26:26 +0000https://blog.sigmerc.top/posts/js-misc/<p>温故而知新,复习后才发现很多基础掌握得不牢固。</p>信手拈来:Joplin 使用小记https://blog.sigmerc.top/posts/joplin/Sat, 17 Jul 2021 21:00:31 +0000https://blog.sigmerc.top/posts/joplin/<p>折腾笔记软件。</p>胸有成竹:Quasar Testing 指南https://blog.sigmerc.top/posts/quasar-test/Sun, 21 Mar 2021 11:36:12 +0000https://blog.sigmerc.top/posts/quasar-test/<p>对 <a href="https://next.quasar.dev/quasar-cli/testing-and-auditing#introduction" target="_blank" rel="noreferrer">Quasar 文档测试部分</a> 和 <a href="https://testing.quasar.dev/" target="_blank" rel="noreferrer">@quasar/testing 文档</a> 部分内容进行了简单翻译,顺便记录了一些目前使用 Quasar 框架进行测试时存在的问题。</p>各司其职:FastAPI + TortoiseORM 实现异步 DB 操作https://blog.sigmerc.top/posts/fastapi-tortoise/Wed, 27 Jan 2021 17:05:55 +0000https://blog.sigmerc.top/posts/fastapi-tortoise/<p>参考了 <a href="https://github.com/prostomarkeloff/fastapi-tortoise" target="_blank" rel="noreferrer">这个 repo</a> 和 <a href="https://tortoise-orm.readthedocs.io/en/latest/" target="_blank" rel="noreferrer">官方文档</a>,踩了一些坑后觉得有必要记录下来。</p>久仰大名:基于 FastAPI 实现 OAuth2 登录认证https://blog.sigmerc.top/posts/fastapi-auth/Sun, 10 Jan 2021 16:34:22 +0000https://blog.sigmerc.top/posts/fastapi-auth/<p>写 Pianoforte 时第一个遇到的可复用模块。</p>透明代理:抓取微信小程序数据包https://blog.sigmerc.top/posts/mini-capture/Tue, 01 Dec 2020 20:48:30 +0000https://blog.sigmerc.top/posts/mini-capture/<p>以 Burpsuite 为例。</p>算无遗策:socket 编程发送 RAW 数据包https://blog.sigmerc.top/posts/raw-packet/Mon, 16 Nov 2020 17:03:11 +0000https://blog.sigmerc.top/posts/raw-packet/<p>实习的时候写的一小段代码。</p>Why So Serialize: From Deserialization to RCEhttps://blog.sigmerc.top/posts/why-so-serialize/Thu, 12 Nov 2020 10:21:09 +0800https://blog.sigmerc.top/posts/why-so-serialize/<p>专业英语的一次分享。<a href="https://slides.com/mercury/why-so-serialize" target="_blank" rel="noreferrer">Slides</a>。</p>窥间伺隙:Aircrack 套件破解 WPA/WPA2 密码https://blog.sigmerc.top/posts/aircrack-wpa/Sun, 18 Oct 2020 13:24:01 +0000https://blog.sigmerc.top/posts/aircrack-wpa/<p>《无线网络安全》作业。梦回大一。</p>Struts2 漏洞学习https://blog.sigmerc.top/posts/struts2/Tue, 04 Aug 2020 22:00:33 +0000https://blog.sigmerc.top/posts/struts2/<p>包含 s2-001 / s2-003 / s2-005 / s2-007 / s2-008 / s2-009 / s2-012 / s2-013 / s2-014 / s2-015 / s2-016 / s2-045 / s2-046 / s2-048 / s2-052 / s2-053 / s2-057</p>ThinkPHP & phpMyAdmin 漏洞学习https://blog.sigmerc.top/posts/think-php-myadmin/Wed, 29 Jul 2020 19:58:27 +0000https://blog.sigmerc.top/posts/think-php-myadmin/<p>包含 ThinkPHP 5.x RCE / ThinkPHP 5.0.23 RCE / ThinkPHP 2.x RCE / ThinkPHP 5.x SQL 注入导致敏感信息泄露 / phpMyAdmin 4.8.1 远程文件包含 / phpMyAdmin 4.0.x-4.6.2 认证用户 RCE / phpMyAdmin 2.x setup.php 反序列化</p>稳中求进:Jenkins 集成 IAST 全流程https://blog.sigmerc.top/posts/jenkins-iast/Tue, 28 Jul 2020 15:28:05 +0000https://blog.sigmerc.top/posts/jenkins-iast/<p>工作中写的一份指南文档。由于用的是测试环境,并没有需要脱敏的地方。</p>粉碎字典:设计方便记忆的安全口令https://blog.sigmerc.top/posts/shred-dict/Fri, 17 Jul 2020 11:04:45 +0000https://blog.sigmerc.top/posts/shred-dict/<p>就算无法逃避社工,也要设法减少损失。</p>闻鸡起舞:利用 GitHub Actions 进行持续部署https://blog.sigmerc.top/posts/github-actions-cd/Thu, 16 Jul 2020 22:13:48 +0000https://blog.sigmerc.top/posts/github-actions-cd/<p>最近在搞 SDL,尝试了一下 CI/CD 。</p>pAssWD 开发记录https://blog.sigmerc.top/posts/passwd/Sat, 27 Jun 2020 18:57:14 +0000https://blog.sigmerc.top/posts/passwd/<p>Platform for Attacking Swiftly &amp; Smoothly With Defending</p>网鼎杯 2018 Pwnhttps://blog.sigmerc.top/posts/wdb2018-pwn/Mon, 04 May 2020 11:17:45 +0000https://blog.sigmerc.top/posts/wdb2018-pwn/<p>准备今年网鼎杯时复现的一些题。题目不是很全,因为有些题不太会。</p>Pwn 脚本模板https://blog.sigmerc.top/posts/pwn-template/Sun, 26 Apr 2020 22:03:39 +0000https://blog.sigmerc.top/posts/pwn-template/<p>其中从 <code># start</code> 到 <code># end</code> 中间的部分为核心代码。最近更新的博客中 Pwn 题脚本的代码仅包含核心代码。</p>SwingMood 项目实践心得https://blog.sigmerc.top/posts/swingmood/Sat, 11 Apr 2020 21:23:02 +0000https://blog.sigmerc.top/posts/swingmood/<p>基本告别开发了。</p>狡兔三窟:栈迁移可视化的尝试https://blog.sigmerc.top/posts/stack-migration/Wed, 04 Mar 2020 16:32:06 +0000https://blog.sigmerc.top/posts/stack-migration/<p>参考 <a href="https://ctf-wiki.github.io/ctf-wiki/pwn/linux/stackoverflow/fancy-rop-zh/" target="_blank" rel="noreferrer">CTF-Wiki</a> 画的一些图。</p>近期进阶 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-medium/Sun, 01 Mar 2020 14:10:54 +0000https://blog.sigmerc.top/posts/recent-pwn-medium/<p>难题都没有做出来。题目来自 ACTF 2019、GYCTF 2019、VNCTF 2020。</p>HITCON Training 练习记录https://blog.sigmerc.top/posts/hitcon-training/Sun, 16 Feb 2020 20:32:19 +0000https://blog.sigmerc.top/posts/hitcon-training/<p>HITCON Training 更新完成,没咕咕。其中堆题真是很适合入门。</p>牛刀小试:MetasequoiaCTF2020 部分题解https://blog.sigmerc.top/posts/metasequoiactf2020/Sat, 15 Feb 2020 16:52:16 +0000https://blog.sigmerc.top/posts/metasequoiactf2020/<p>第一次出题,经验不足,感谢参赛选手海涵。</p>捅马蜂窝:H1ve 部署实践https://blog.sigmerc.top/posts/h1ve-deploy/Sun, 09 Feb 2020 16:43:13 +0000https://blog.sigmerc.top/posts/h1ve-deploy/<p>最近 H1ve 平台开源了,这是我在 GitHub 上见到的目前完成度最高的带 AWD 模式的平台。尽管如此依然遇到了不少 bug,经修复后现在的版本还算稳定。</p>近期简单 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-simple/Mon, 03 Feb 2020 14:54:01 +0000https://blog.sigmerc.top/posts/recent-pwn-simple/<p>近期做的一些简单 Pwn 题记录。题目来自 ADWorld 新手区、BJDCTF 2019、JarvisOJ。</p>风雨无阻:crontab + at 实现随机定时任务https://blog.sigmerc.top/posts/cron-at/Thu, 23 Jan 2020 03:58:58 +0000https://blog.sigmerc.top/posts/cron-at/<p>定时任务相关的命令,使用起来坑非常多。</p>东方记者:新闻统计小工具 Newspaperhttps://blog.sigmerc.top/posts/newspaper/Wed, 22 Jan 2020 22:23:36 +0000https://blog.sigmerc.top/posts/newspaper/<p>这下统计新闻要轻松多了。</p>Paillier 同态加密方案实现https://blog.sigmerc.top/posts/paillier/Thu, 26 Dec 2019 21:08:46 +0000https://blog.sigmerc.top/posts/paillier/<p>最后一次抽代课的上机练习。</p>ElGamal 密码方案的椭圆曲线形式实现https://blog.sigmerc.top/posts/elgamal-ecc/Fri, 20 Dec 2019 13:00:34 +0000https://blog.sigmerc.top/posts/elgamal-ecc/<p>抽代课的上机练习。</p>BUUCTF Pwn 练习记录https://blog.sigmerc.top/posts/buu-pwn/Sat, 14 Dec 2019 21:46:20 +0000https://blog.sigmerc.top/posts/buu-pwn/<p>从今天起,我也是 Pwn 🐕 了。</p>术业专攻:QTable 服务端分页实践https://blog.sigmerc.top/posts/qtable-ss-pagination/Thu, 12 Dec 2019 21:16:51 +0000https://blog.sigmerc.top/posts/qtable-ss-pagination/<p>QTable 是 Quasar Framework 的组件之一,功能比较复杂。这篇文章介绍了如何配合服务端分页来使用 QTable 组件。</p>ROP Emporium 练习记录https://blog.sigmerc.top/posts/rop-emporium/Mon, 09 Dec 2019 15:02:43 +0000https://blog.sigmerc.top/posts/rop-emporium/<p>针对 ROP 学习了一下,就记录一下 64 位的做法,32 位同理。不知道为什么对这个网站特别有好感。</p>how2heap 学习https://blog.sigmerc.top/posts/how2heap/Mon, 09 Dec 2019 14:36:48 +0000https://blog.sigmerc.top/posts/how2heap/<p>距离文章发布两个多月后,终于更新完啦!</p>盘根错节:GLibc 堆内存管理机制简介https://blog.sigmerc.top/posts/glibc-heap/Sun, 08 Dec 2019 16:53:39 +0000https://blog.sigmerc.top/posts/glibc-heap/<p>The heap is a beautiful mess.</p>水漫金山:《二进制漏洞利用入门》课程总结https://blog.sigmerc.top/posts/binary-exp/Thu, 05 Dec 2019 22:37:20 +0000https://blog.sigmerc.top/posts/binary-exp/<p>其实我也刚学。</p>BUUCTF Web 练习记录https://blog.sigmerc.top/posts/buu-web/Fri, 29 Nov 2019 18:36:25 +0000https://blog.sigmerc.top/posts/buu-web/<p>偶然发现的 BUUCTF,真的非常好用了。</p>Bugku Pwn 练习记录https://blog.sigmerc.top/posts/bugku-pwn/Tue, 29 Oct 2019 15:40:03 +0000https://blog.sigmerc.top/posts/bugku-pwn/<p>Pwn 入门。</p>Hackergame2019 比赛记录https://blog.sigmerc.top/posts/hackergame2019/Tue, 15 Oct 2019 10:29:23 +0000https://blog.sigmerc.top/posts/hackergame2019/<p>开拓眼界了。</p>Pwnable.kr Toddler's Bottle 练习记录https://blog.sigmerc.top/posts/pwnkr-toddler/Wed, 09 Oct 2019 21:19:11 +0000https://blog.sigmerc.top/posts/pwnkr-toddler/<p>画风很可爱的 Pwn 题练习网站。</p>舍近求远:开通 IPv6 隧道https://blog.sigmerc.top/posts/ipv6-tunnel/Thu, 26 Sep 2019 22:34:18 +0000https://blog.sigmerc.top/posts/ipv6-tunnel/<p>喜迎国庆。</p>对移位密码的自动化攻击https://blog.sigmerc.top/posts/auto-atk-shift-cipher/Fri, 13 Sep 2019 15:46:43 +0000https://blog.sigmerc.top/posts/auto-atk-shift-cipher/<p>《密码学基础》小作业。</p>OpenSSL 常用命令速查表https://blog.sigmerc.top/posts/openssl-cheatsheet/Mon, 02 Sep 2019 17:37:01 +0000https://blog.sigmerc.top/posts/openssl-cheatsheet/<p>仅仅记录了一些较常用的命令实例,具体命令、选项与说明推荐查阅官方文档。</p>ISG2019 线上赛比赛记录https://blog.sigmerc.top/posts/isg2019/Wed, 28 Aug 2019 12:21:49 +0000https://blog.sigmerc.top/posts/isg2019/<p>题目难度不算大,但是考验脑洞。</p>i 春秋 Web 练习记录https://blog.sigmerc.top/posts/icq-web/Sat, 24 Aug 2019 20:42:38 +0000https://blog.sigmerc.top/posts/icq-web/<p>i 春秋上的题都是比赛真题,所以会比较有意思,也更复杂一些。</p>实验吧 Web 练习记录https://blog.sigmerc.top/posts/shiyanba-web/Fri, 26 Jul 2019 21:15:13 +0000https://blog.sigmerc.top/posts/shiyanba-web/<p>实验吧的 Web 题总体比 Bugku 难一些,主要难度在于几道注入题。</p>ECNU X 启明星辰 网络安全暑期学校记录https://blog.sigmerc.top/posts/summer-school/Tue, 23 Jul 2019 14:39:19 +0000https://blog.sigmerc.top/posts/summer-school/<p>7.22-7.26,收获不大。</p>Beef 加载 Metasploit 插件 & Metasploit 连接 PostgreSQLhttps://blog.sigmerc.top/posts/beef-msf/Sun, 21 Jul 2019 12:17:14 +0000https://blog.sigmerc.top/posts/beef-msf/<p>没有什么坑点。</p>Ettercap 简易入门https://blog.sigmerc.top/posts/ettercap/Sat, 20 Jul 2019 00:03:58 +0000https://blog.sigmerc.top/posts/ettercap/<p>关于 Ettercap 的有趣例子。</p>简单的 PE 后门https://blog.sigmerc.top/posts/shellter-upx/Fri, 19 Jul 2019 22:57:45 +0000https://blog.sigmerc.top/posts/shellter-upx/<p>记录一下最简单的挂后门和免杀方法,不怎么接触这块。</p>画蛇添足:哈希长度扩展攻击https://blog.sigmerc.top/posts/hash-len-ext-atk/Sat, 29 Jun 2019 11:43:47 +0000https://blog.sigmerc.top/posts/hash-len-ext-atk/<p>简单翻译了 <code>hash_extender</code> 的 README 文档。</p>CISCN2019 初赛+半决赛部分题解https://blog.sigmerc.top/posts/ciscn2019/Fri, 28 Jun 2019 17:31:50 +0000https://blog.sigmerc.top/posts/ciscn2019/<p>打完比赛就回去必修课期末考,于是现在才整理。这里只记录了少数几题的 writeup。</p>模 p 平方根算法https://blog.sigmerc.top/posts/mod-p-sqrt/Wed, 22 May 2019 17:02:49 +0000https://blog.sigmerc.top/posts/mod-p-sqrt/<p>参考了陈恭亮《信息安全数学基础》第二版上的算法。</p>LR 语法分析器https://blog.sigmerc.top/posts/lr-parser/Wed, 15 May 2019 20:41:06 +0000https://blog.sigmerc.top/posts/lr-parser/<p>天 坑 预 警</p>LL 语法分析器https://blog.sigmerc.top/posts/ll-parser/Thu, 09 May 2019 23:15:47 +0000https://blog.sigmerc.top/posts/ll-parser/<p>这次繁杂了许多,我有点害怕接下来的 LR(1) 语法分析器了。</p>走远了的词法分析器https://blog.sigmerc.top/posts/lex-analysis/Thu, 11 Apr 2019 20:56:28 +0000https://blog.sigmerc.top/posts/lex-analysis/<p>奇怪的思路果然总是通向奇怪的出路。</p>ECNUCTF2019 初赛 writeuphttps://blog.sigmerc.top/posts/ecnuctf2019/Sun, 31 Mar 2019 12:58:34 +0000https://blog.sigmerc.top/posts/ecnuctf2019/<p>第二次参加 CTF,上次参加时还只知道古典密码。</p>通过 JDBC 连接 MySQLhttps://blog.sigmerc.top/posts/jdbc-mysql/Mon, 25 Mar 2019 23:11:05 +0000https://blog.sigmerc.top/posts/jdbc-mysql/<p>大概是第二次被 MySQL 玩了,也可能是第三次。</p>“老有所得” 项目实践心得https://blog.sigmerc.top/posts/adminder/Mon, 18 Mar 2019 14:57:20 +0000https://blog.sigmerc.top/posts/adminder/<p>其实最大的心得是不要一次开多个项目。</p>短兵相接:MD4 碰撞攻击https://blog.sigmerc.top/posts/md4-collision/Wed, 06 Mar 2019 14:01:28 +0000https://blog.sigmerc.top/posts/md4-collision/<p>重复了王小云教授 14 年前的工作,RIPEMD/MD5/SHA 家族碰撞原理类似。</p>实战 SSH 端口转发https://blog.sigmerc.top/posts/ssh-port-fwd/Mon, 04 Mar 2019 18:13:07 +0000https://blog.sigmerc.top/posts/ssh-port-fwd/<p>驾驭魔法,需要先掌握魔法的原理。</p>凿壁偷光:魔法上网的可持续解决方案https://blog.sigmerc.top/posts/magical-surfing/Mon, 04 Mar 2019 17:06:17 +0000https://blog.sigmerc.top/posts/magical-surfing/<p>因为众所周知的原因,本文中不会提供任何相关工具的下载链接。</p>横行霸道:ECNU 第三轮课程掠夺者https://blog.sigmerc.top/posts/course-robber/Sun, 10 Feb 2019 21:36:21 +0000https://blog.sigmerc.top/posts/course-robber/<p>用来在第三轮选课中抢课。</p>jQuery 踩坑记https://blog.sigmerc.top/posts/jquery/Wed, 23 Jan 2019 13:18:21 +0000https://blog.sigmerc.top/posts/jquery/<p>开发项目时踩到的坑。</p>VSCode + APICloud + GitHub 开发环境配置https://blog.sigmerc.top/posts/vscode-apicloud/Thu, 17 Jan 2019 14:22:32 +0000https://blog.sigmerc.top/posts/vscode-apicloud/<p>不是很懂为什么 APICloud 没有官方的 VSCode 插件。</p>世外桃源:Hexo 踩坑记https://blog.sigmerc.top/posts/hexo/Fri, 11 Jan 2019 22:15:45 +0000https://blog.sigmerc.top/posts/hexo/<p>关于这个网站是如何诞生的。</p>《Python 编程技术》期末作业https://blog.sigmerc.top/posts/python-summary/Sun, 06 Jan 2019 00:00:00 +0000https://blog.sigmerc.top/posts/python-summary/<p>期末作业居然是写综述。。有点无聊啊。<strong>这不是 Python 教程。</strong></p>概率论课程报告https://blog.sigmerc.top/posts/probability-report/Fri, 14 Dec 2018 00:00:00 +0000https://blog.sigmerc.top/posts/probability-report/<p>一道数竞压轴题的直观解法。</p>一点 C 语言的经验https://blog.sigmerc.top/posts/c-tips/Wed, 17 Oct 2018 00:00:00 +0000https://blog.sigmerc.top/posts/c-tips/<p>被邀请分享 C 语言学习经验,于是写了点东西给学生会做推送。</p>AVL 树和 B 树https://blog.sigmerc.top/posts/avl-b-tree/Wed, 13 Jun 2018 00:00:00 +0000https://blog.sigmerc.top/posts/avl-b-tree/<p>数据结构上机课花了点时间实现的两种相对复杂的数据结构。基本上在抄书。</p>位运算用法整理https://blog.sigmerc.top/posts/bitwise-ops/Sun, 11 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/bitwise-ops/<p>实训准备的第二弹。</p>程序设计能力实训 资料准备https://blog.sigmerc.top/posts/exam-prep/Sat, 10 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/exam-prep/<p>其实差不多就是低难度 C++ 模板集合。</p>zkw 线段树https://blog.sigmerc.top/posts/zkw-tree/Thu, 08 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/zkw-tree/<p>%。</p>EOJ 新生训练https://blog.sigmerc.top/posts/eoj-training/Tue, 13 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/eoj-training/<p>记录了新生训练上遇到的一些奇怪题,主要是 Week2 遇到的。</p>OJ 常用的模板们https://blog.sigmerc.top/posts/templates/Mon, 05 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/templates/<p>全是不太熟的模板。</p>最短路问题https://blog.sigmerc.top/posts/shortest-path/Sun, 04 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/shortest-path/<p>Dijkstra, Bellman-Ford &amp;&amp; SPFA.</p>EOJ 杂题合集https://blog.sigmerc.top/posts/eoj-misc/Fri, 02 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/eoj-misc/<p>整理了 EOJ 中遇到的一些值得一记的题目。</p>DP 题练习记录https://blog.sigmerc.top/posts/dp-practice/Tue, 30 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/dp-practice/<p>对我而言不那么简单的 DP 题目。</p>Miller-Rabin 素性测试与二次探测https://blog.sigmerc.top/posts/miller-rabin/Fri, 19 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/miller-rabin/<p>贴定理和模板的,不是教程。</p>简单 DFS 题合集https://blog.sigmerc.top/posts/dfs-simple/Thu, 04 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/dfs-simple/<p>题目全部来自 EOJ。新年开始用 C++ 了。</p>简单 DP 题合集https://blog.sigmerc.top/posts/dp-simple/Sat, 23 Dec 2017 00:00:00 +0000https://blog.sigmerc.top/posts/dp-simple/<p>经典之所以能被称为经典,是因为其中蕴含的无限可能。</p>欧拉筛法求素数https://blog.sigmerc.top/posts/euler-sieve/Mon, 04 Dec 2017 00:00:00 +0000https://blog.sigmerc.top/posts/euler-sieve/<p>我最喜欢的求素数方法。这也是我最常回顾(抄代码)的一篇文章。</p>巧算数学问题https://blog.sigmerc.top/posts/math-problems/Wed, 08 Nov 2017 00:00:00 +0000https://blog.sigmerc.top/posts/math-problems/<p>总是让人头疼又令人着迷的数学问题。</p>问题笔记https://blog.sigmerc.top/posts/newbie-note/Wed, 08 Nov 2017 00:00:00 +0000https://blog.sigmerc.top/posts/newbie-note/<p>第一篇博文。</p> \ No newline at end of file +Posts on Lab on Mercuryhttps://blog.sigmerc.top/posts/Recent content in Posts on Lab on MercuryHugo -- gohugo.iozh-cnTue, 22 Aug 2023 00:00:00 +0000遁名匿迹:libprocesshider 处置方案https://blog.sigmerc.top/posts/libprocesshider/Tue, 22 Aug 2023 00:00:00 +0000https://blog.sigmerc.top/posts/libprocesshider/<p><a href="https://github.com/gianlucaborello/libprocesshider" target="_blank" rel="noreferrer">libprocesshider 项目地址</a></p>十万火急:云上应急响应概述https://blog.sigmerc.top/posts/ir-overview/Tue, 13 Jun 2023 00:00:00 +0000https://blog.sigmerc.top/posts/ir-overview/<p>对工作中的云上应急响应流程进行总结整理。</p>私有部署:打造自己的简易 Homelabhttps://blog.sigmerc.top/posts/selfhosting/Fri, 30 Dec 2022 00:00:00 +0000https://blog.sigmerc.top/posts/selfhosting/<p>最近几天在搭建 Homelab 上花费了不少精力,因此想要一边试错一边记录下这个过程。</p>自动装弹:快速搭建通用命令行环境https://blog.sigmerc.top/posts/dotfiles/Mon, 24 Oct 2022 12:51:35 +0800https://blog.sigmerc.top/posts/dotfiles/<p>面对一台新的 Linux 机器时,不用为了重搭环境头疼了。</p>冲云破雾:Tailscale 原理简述https://blog.sigmerc.top/posts/tailscale/Fri, 23 Sep 2022 20:51:55 +0800https://blog.sigmerc.top/posts/tailscale/<p>组建自己的私有零信任网络。</p>去繁就简:用 Telegram 收发微信和 QQ 消息https://blog.sigmerc.top/posts/tg-wechat-qq/Thu, 18 Aug 2022 22:22:53 +0800https://blog.sigmerc.top/posts/tg-wechat-qq/<p>和毒瘤软件说再见。</p>自主身份:SSI 技术实践https://blog.sigmerc.top/posts/ssi/Sat, 02 Jul 2022 11:04:38 +0800https://blog.sigmerc.top/posts/ssi/<p>更安全方便地管理、分享和验证身份信息。</p>步步为营:在 Go 项目中编写 Makefilehttps://blog.sigmerc.top/posts/go-makefile/Wed, 22 Jun 2022 15:09:26 +0800https://blog.sigmerc.top/posts/go-makefile/<p>用古老的工具构建现代化的应用。</p>命令交互:Shell 备忘录https://blog.sigmerc.top/posts/shell/Sat, 30 Apr 2022 17:13:19 +0800https://blog.sigmerc.top/posts/shell/<p>记录一些之前不太了解的 Shell 的用法。</p>昨日再现:用 Flarum 搭建功能强大的在线论坛https://blog.sigmerc.top/posts/flarum/Sun, 13 Mar 2022 18:28:09 +0000https://blog.sigmerc.top/posts/flarum/<p>完全出于巧合和心血来潮搭建的一个论坛。</p>乔迁新居:Hugo 博客的配置与部署https://blog.sigmerc.top/posts/hugo/Fri, 11 Mar 2022 13:10:42 +0000https://blog.sigmerc.top/posts/hugo/<p>博客从 Hexo 迁移到了 Hugo。在静态网站生成器中,Hugo 的优势主要在于其性能和简单易用的配置。</p>追本溯源:pwn.college 作业记录https://blog.sigmerc.top/posts/pwn-college/Thu, 24 Feb 2022 20:03:11 +0000https://blog.sigmerc.top/posts/pwn-college/<p>时隔许久,我居然又得做 pwn 题了。</p>扑朔迷离:隐私增强技术实践https://blog.sigmerc.top/posts/pet/Fri, 04 Feb 2022 09:23:11 +0000https://blog.sigmerc.top/posts/pet/<p>Privacy Enhancing Technologies (PET),实际上还是密码学。</p>星罗棋布:《分布式系统与安全》课程笔记https://blog.sigmerc.top/posts/distributed-systems/Mon, 18 Oct 2021 11:04:07 +0000https://blog.sigmerc.top/posts/distributed-systems/<p>COMP0133《分布式系统与安全》是我从本科到硕士期间最有价值的课。</p>乘风破浪:Kubernetes 笔记https://blog.sigmerc.top/posts/kubernetes/Sun, 10 Oct 2021 16:31:41 +0000https://blog.sigmerc.top/posts/kubernetes/<p>在了解了 Kubernetes 为什么叫 K8s 之后,才明白 internationalization 为什么叫 i18n。</p>再探 GitHub Actions:从 Dockerfile 到 GKEhttps://blog.sigmerc.top/posts/dockerfile2gke/Sat, 25 Sep 2021 18:44:35 +0000https://blog.sigmerc.top/posts/dockerfile2gke/<p>GitHub Actions 还可以配合 Issue 用来做开源社区的无聊小游戏,这就留到《三探 GitHub Actions》再说了。</p>高枕无忧:Google Cloud Platform 基础https://blog.sigmerc.top/posts/gcp/Thu, 23 Sep 2021 10:03:42 +0000https://blog.sigmerc.top/posts/gcp/<p>待更新。</p>风谲云诡:云原生技术原理https://blog.sigmerc.top/posts/cloud-native/Fri, 10 Sep 2021 09:27:59 +0000https://blog.sigmerc.top/posts/cloud-native/<p>精密而复杂。</p>迷途知返:Go Error 处理https://blog.sigmerc.top/posts/go-error/Wed, 08 Sep 2021 08:50:13 +0000https://blog.sigmerc.top/posts/go-error/<p>底层包装、中层传递、顶层处理。</p>持戈试马:在 MacBook Pro M1 上运行 Windows 11https://blog.sigmerc.top/posts/m1-win11/Thu, 26 Aug 2021 22:57:42 +0000https://blog.sigmerc.top/posts/m1-win11/<p>拖了很久才来尝鲜。</p>闭门造车:腾讯生态的泥沼https://blog.sigmerc.top/posts/tencent-eco/Sat, 21 Aug 2021 11:48:08 +0000https://blog.sigmerc.top/posts/tencent-eco/<p>记录了开发中遇到的和腾讯生态相关的一些问题。</p>温故知新:Javascript 杂记https://blog.sigmerc.top/posts/js-misc/Thu, 29 Jul 2021 23:26:26 +0000https://blog.sigmerc.top/posts/js-misc/<p>温故而知新,复习后才发现很多基础掌握得不牢固。</p>信手拈来:Joplin 使用小记https://blog.sigmerc.top/posts/joplin/Sat, 17 Jul 2021 21:00:31 +0000https://blog.sigmerc.top/posts/joplin/<p>折腾笔记软件。</p>胸有成竹:Quasar Testing 指南https://blog.sigmerc.top/posts/quasar-test/Sun, 21 Mar 2021 11:36:12 +0000https://blog.sigmerc.top/posts/quasar-test/<p>对 <a href="https://next.quasar.dev/quasar-cli/testing-and-auditing#introduction" target="_blank" rel="noreferrer">Quasar 文档测试部分</a> 和 <a href="https://testing.quasar.dev/" target="_blank" rel="noreferrer">@quasar/testing 文档</a> 部分内容进行了简单翻译,顺便记录了一些目前使用 Quasar 框架进行测试时存在的问题。</p>各司其职:FastAPI + TortoiseORM 实现异步 DB 操作https://blog.sigmerc.top/posts/fastapi-tortoise/Wed, 27 Jan 2021 17:05:55 +0000https://blog.sigmerc.top/posts/fastapi-tortoise/<p>参考了 <a href="https://github.com/prostomarkeloff/fastapi-tortoise" target="_blank" rel="noreferrer">这个 repo</a> 和 <a href="https://tortoise-orm.readthedocs.io/en/latest/" target="_blank" rel="noreferrer">官方文档</a>,踩了一些坑后觉得有必要记录下来。</p>久仰大名:基于 FastAPI 实现 OAuth2 登录认证https://blog.sigmerc.top/posts/fastapi-auth/Sun, 10 Jan 2021 16:34:22 +0000https://blog.sigmerc.top/posts/fastapi-auth/<p>写 Pianoforte 时第一个遇到的可复用模块。</p>透明代理:抓取微信小程序数据包https://blog.sigmerc.top/posts/mini-capture/Tue, 01 Dec 2020 20:48:30 +0000https://blog.sigmerc.top/posts/mini-capture/<p>以 Burpsuite 为例。</p>算无遗策:socket 编程发送 RAW 数据包https://blog.sigmerc.top/posts/raw-packet/Mon, 16 Nov 2020 17:03:11 +0000https://blog.sigmerc.top/posts/raw-packet/<p>实习的时候写的一小段代码。</p>Why So Serialize: From Deserialization to RCEhttps://blog.sigmerc.top/posts/why-so-serialize/Thu, 12 Nov 2020 10:21:09 +0800https://blog.sigmerc.top/posts/why-so-serialize/<p>专业英语的一次分享。<a href="https://slides.com/mercury/why-so-serialize" target="_blank" rel="noreferrer">Slides</a>。</p>窥间伺隙:Aircrack 套件破解 WPA/WPA2 密码https://blog.sigmerc.top/posts/aircrack-wpa/Sun, 18 Oct 2020 13:24:01 +0000https://blog.sigmerc.top/posts/aircrack-wpa/<p>《无线网络安全》作业。梦回大一。</p>Struts2 漏洞学习https://blog.sigmerc.top/posts/struts2/Tue, 04 Aug 2020 22:00:33 +0000https://blog.sigmerc.top/posts/struts2/<p>包含 s2-001 / s2-003 / s2-005 / s2-007 / s2-008 / s2-009 / s2-012 / s2-013 / s2-014 / s2-015 / s2-016 / s2-045 / s2-046 / s2-048 / s2-052 / s2-053 / s2-057</p>ThinkPHP & phpMyAdmin 漏洞学习https://blog.sigmerc.top/posts/think-php-myadmin/Wed, 29 Jul 2020 19:58:27 +0000https://blog.sigmerc.top/posts/think-php-myadmin/<p>包含 ThinkPHP 5.x RCE / ThinkPHP 5.0.23 RCE / ThinkPHP 2.x RCE / ThinkPHP 5.x SQL 注入导致敏感信息泄露 / phpMyAdmin 4.8.1 远程文件包含 / phpMyAdmin 4.0.x-4.6.2 认证用户 RCE / phpMyAdmin 2.x setup.php 反序列化</p>稳中求进:Jenkins 集成 IAST 全流程https://blog.sigmerc.top/posts/jenkins-iast/Tue, 28 Jul 2020 15:28:05 +0000https://blog.sigmerc.top/posts/jenkins-iast/<p>工作中写的一份指南文档。由于用的是测试环境,并没有需要脱敏的地方。</p>粉碎字典:设计方便记忆的安全口令https://blog.sigmerc.top/posts/shred-dict/Fri, 17 Jul 2020 11:04:45 +0000https://blog.sigmerc.top/posts/shred-dict/<p>就算无法逃避社工,也要设法减少损失。</p>闻鸡起舞:利用 GitHub Actions 进行持续部署https://blog.sigmerc.top/posts/github-actions-cd/Thu, 16 Jul 2020 22:13:48 +0000https://blog.sigmerc.top/posts/github-actions-cd/<p>最近在搞 SDL,尝试了一下 CI/CD 。</p>pAssWD 开发记录https://blog.sigmerc.top/posts/passwd/Sat, 27 Jun 2020 18:57:14 +0000https://blog.sigmerc.top/posts/passwd/<p>Platform for Attacking Swiftly &amp; Smoothly With Defending</p>网鼎杯 2018 Pwnhttps://blog.sigmerc.top/posts/wdb2018-pwn/Mon, 04 May 2020 11:17:45 +0000https://blog.sigmerc.top/posts/wdb2018-pwn/<p>准备今年网鼎杯时复现的一些题。题目不是很全,因为有些题不太会。</p>Pwn 脚本模板https://blog.sigmerc.top/posts/pwn-template/Sun, 26 Apr 2020 22:03:39 +0000https://blog.sigmerc.top/posts/pwn-template/<p>其中从 <code># start</code> 到 <code># end</code> 中间的部分为核心代码。最近更新的博客中 Pwn 题脚本的代码仅包含核心代码。</p>SwingMood 项目实践心得https://blog.sigmerc.top/posts/swingmood/Sat, 11 Apr 2020 21:23:02 +0000https://blog.sigmerc.top/posts/swingmood/<p>基本告别开发了。</p>狡兔三窟:栈迁移可视化的尝试https://blog.sigmerc.top/posts/stack-migration/Wed, 04 Mar 2020 16:32:06 +0000https://blog.sigmerc.top/posts/stack-migration/<p>参考 <a href="https://ctf-wiki.github.io/ctf-wiki/pwn/linux/stackoverflow/fancy-rop-zh/" target="_blank" rel="noreferrer">CTF-Wiki</a> 画的一些图。</p>近期进阶 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-medium/Sun, 01 Mar 2020 14:10:54 +0000https://blog.sigmerc.top/posts/recent-pwn-medium/<p>难题都没有做出来。题目来自 ACTF 2019、GYCTF 2019、VNCTF 2020。</p>HITCON Training 练习记录https://blog.sigmerc.top/posts/hitcon-training/Sun, 16 Feb 2020 20:32:19 +0000https://blog.sigmerc.top/posts/hitcon-training/<p>HITCON Training 更新完成,没咕咕。其中堆题真是很适合入门。</p>牛刀小试:MetasequoiaCTF2020 部分题解https://blog.sigmerc.top/posts/metasequoiactf2020/Sat, 15 Feb 2020 16:52:16 +0000https://blog.sigmerc.top/posts/metasequoiactf2020/<p>第一次出题,经验不足,感谢参赛选手海涵。</p>捅马蜂窝:H1ve 部署实践https://blog.sigmerc.top/posts/h1ve-deploy/Sun, 09 Feb 2020 16:43:13 +0000https://blog.sigmerc.top/posts/h1ve-deploy/<p>最近 H1ve 平台开源了,这是我在 GitHub 上见到的目前完成度最高的带 AWD 模式的平台。尽管如此依然遇到了不少 bug,经修复后现在的版本还算稳定。</p>近期简单 Pwn 合集https://blog.sigmerc.top/posts/recent-pwn-simple/Mon, 03 Feb 2020 14:54:01 +0000https://blog.sigmerc.top/posts/recent-pwn-simple/<p>近期做的一些简单 Pwn 题记录。题目来自 ADWorld 新手区、BJDCTF 2019、JarvisOJ。</p>风雨无阻:crontab + at 实现随机定时任务https://blog.sigmerc.top/posts/cron-at/Thu, 23 Jan 2020 03:58:58 +0000https://blog.sigmerc.top/posts/cron-at/<p>定时任务相关的命令,使用起来坑非常多。</p>东方记者:新闻统计小工具 Newspaperhttps://blog.sigmerc.top/posts/newspaper/Wed, 22 Jan 2020 22:23:36 +0000https://blog.sigmerc.top/posts/newspaper/<p>这下统计新闻要轻松多了。</p>Paillier 同态加密方案实现https://blog.sigmerc.top/posts/paillier/Thu, 26 Dec 2019 21:08:46 +0000https://blog.sigmerc.top/posts/paillier/<p>最后一次抽代课的上机练习。</p>ElGamal 密码方案的椭圆曲线形式实现https://blog.sigmerc.top/posts/elgamal-ecc/Fri, 20 Dec 2019 13:00:34 +0000https://blog.sigmerc.top/posts/elgamal-ecc/<p>抽代课的上机练习。</p>BUUCTF Pwn 练习记录https://blog.sigmerc.top/posts/buu-pwn/Sat, 14 Dec 2019 21:46:20 +0000https://blog.sigmerc.top/posts/buu-pwn/<p>从今天起,我也是 Pwn 🐕 了。</p>术业专攻:QTable 服务端分页实践https://blog.sigmerc.top/posts/qtable-ss-pagination/Thu, 12 Dec 2019 21:16:51 +0000https://blog.sigmerc.top/posts/qtable-ss-pagination/<p>QTable 是 Quasar Framework 的组件之一,功能比较复杂。这篇文章介绍了如何配合服务端分页来使用 QTable 组件。</p>ROP Emporium 练习记录https://blog.sigmerc.top/posts/rop-emporium/Mon, 09 Dec 2019 15:02:43 +0000https://blog.sigmerc.top/posts/rop-emporium/<p>针对 ROP 学习了一下,就记录一下 64 位的做法,32 位同理。不知道为什么对这个网站特别有好感。</p>how2heap 学习https://blog.sigmerc.top/posts/how2heap/Mon, 09 Dec 2019 14:36:48 +0000https://blog.sigmerc.top/posts/how2heap/<p>距离文章发布两个多月后,终于更新完啦!</p>盘根错节:GLibc 堆内存管理机制简介https://blog.sigmerc.top/posts/glibc-heap/Sun, 08 Dec 2019 16:53:39 +0000https://blog.sigmerc.top/posts/glibc-heap/<p>The heap is a beautiful mess.</p>水漫金山:《二进制漏洞利用入门》课程总结https://blog.sigmerc.top/posts/binary-exp/Thu, 05 Dec 2019 22:37:20 +0000https://blog.sigmerc.top/posts/binary-exp/<p>其实我也刚学。</p>BUUCTF Web 练习记录https://blog.sigmerc.top/posts/buu-web/Fri, 29 Nov 2019 18:36:25 +0000https://blog.sigmerc.top/posts/buu-web/<p>偶然发现的 BUUCTF,真的非常好用了。</p>Bugku Pwn 练习记录https://blog.sigmerc.top/posts/bugku-pwn/Tue, 29 Oct 2019 15:40:03 +0000https://blog.sigmerc.top/posts/bugku-pwn/<p>Pwn 入门。</p>Hackergame2019 比赛记录https://blog.sigmerc.top/posts/hackergame2019/Tue, 15 Oct 2019 10:29:23 +0000https://blog.sigmerc.top/posts/hackergame2019/<p>开拓眼界了。</p>Pwnable.kr Toddler's Bottle 练习记录https://blog.sigmerc.top/posts/pwnkr-toddler/Wed, 09 Oct 2019 21:19:11 +0000https://blog.sigmerc.top/posts/pwnkr-toddler/<p>画风很可爱的 Pwn 题练习网站。</p>舍近求远:开通 IPv6 隧道https://blog.sigmerc.top/posts/ipv6-tunnel/Thu, 26 Sep 2019 22:34:18 +0000https://blog.sigmerc.top/posts/ipv6-tunnel/<p>喜迎国庆。</p>对移位密码的自动化攻击https://blog.sigmerc.top/posts/auto-atk-shift-cipher/Fri, 13 Sep 2019 15:46:43 +0000https://blog.sigmerc.top/posts/auto-atk-shift-cipher/<p>《密码学基础》小作业。</p>OpenSSL 常用命令速查表https://blog.sigmerc.top/posts/openssl-cheatsheet/Mon, 02 Sep 2019 17:37:01 +0000https://blog.sigmerc.top/posts/openssl-cheatsheet/<p>仅仅记录了一些较常用的命令实例,具体命令、选项与说明推荐查阅官方文档。</p>ISG2019 线上赛比赛记录https://blog.sigmerc.top/posts/isg2019/Wed, 28 Aug 2019 12:21:49 +0000https://blog.sigmerc.top/posts/isg2019/<p>题目难度不算大,但是考验脑洞。</p>i 春秋 Web 练习记录https://blog.sigmerc.top/posts/icq-web/Sat, 24 Aug 2019 20:42:38 +0000https://blog.sigmerc.top/posts/icq-web/<p>i 春秋上的题都是比赛真题,所以会比较有意思,也更复杂一些。</p>实验吧 Web 练习记录https://blog.sigmerc.top/posts/shiyanba-web/Fri, 26 Jul 2019 21:15:13 +0000https://blog.sigmerc.top/posts/shiyanba-web/<p>实验吧的 Web 题总体比 Bugku 难一些,主要难度在于几道注入题。</p>ECNU X 启明星辰 网络安全暑期学校记录https://blog.sigmerc.top/posts/summer-school/Tue, 23 Jul 2019 14:39:19 +0000https://blog.sigmerc.top/posts/summer-school/<p>7.22-7.26,收获不大。</p>Beef 加载 Metasploit 插件 & Metasploit 连接 PostgreSQLhttps://blog.sigmerc.top/posts/beef-msf/Sun, 21 Jul 2019 12:17:14 +0000https://blog.sigmerc.top/posts/beef-msf/<p>没有什么坑点。</p>Ettercap 简易入门https://blog.sigmerc.top/posts/ettercap/Sat, 20 Jul 2019 00:03:58 +0000https://blog.sigmerc.top/posts/ettercap/<p>关于 Ettercap 的有趣例子。</p>简单的 PE 后门https://blog.sigmerc.top/posts/shellter-upx/Fri, 19 Jul 2019 22:57:45 +0000https://blog.sigmerc.top/posts/shellter-upx/<p>记录一下最简单的挂后门和免杀方法,不怎么接触这块。</p>画蛇添足:哈希长度扩展攻击https://blog.sigmerc.top/posts/hash-len-ext-atk/Sat, 29 Jun 2019 11:43:47 +0000https://blog.sigmerc.top/posts/hash-len-ext-atk/<p>简单翻译了 <code>hash_extender</code> 的 README 文档。</p>CISCN2019 初赛+半决赛部分题解https://blog.sigmerc.top/posts/ciscn2019/Fri, 28 Jun 2019 17:31:50 +0000https://blog.sigmerc.top/posts/ciscn2019/<p>打完比赛就回去必修课期末考,于是现在才整理。这里只记录了少数几题的 writeup。</p>模 p 平方根算法https://blog.sigmerc.top/posts/mod-p-sqrt/Wed, 22 May 2019 17:02:49 +0000https://blog.sigmerc.top/posts/mod-p-sqrt/<p>参考了陈恭亮《信息安全数学基础》第二版上的算法。</p>LR 语法分析器https://blog.sigmerc.top/posts/lr-parser/Wed, 15 May 2019 20:41:06 +0000https://blog.sigmerc.top/posts/lr-parser/<p>天 坑 预 警</p>LL 语法分析器https://blog.sigmerc.top/posts/ll-parser/Thu, 09 May 2019 23:15:47 +0000https://blog.sigmerc.top/posts/ll-parser/<p>这次繁杂了许多,我有点害怕接下来的 LR(1) 语法分析器了。</p>走远了的词法分析器https://blog.sigmerc.top/posts/lex-analysis/Thu, 11 Apr 2019 20:56:28 +0000https://blog.sigmerc.top/posts/lex-analysis/<p>奇怪的思路果然总是通向奇怪的出路。</p>ECNUCTF2019 初赛 writeuphttps://blog.sigmerc.top/posts/ecnuctf2019/Sun, 31 Mar 2019 12:58:34 +0000https://blog.sigmerc.top/posts/ecnuctf2019/<p>第二次参加 CTF,上次参加时还只知道古典密码。</p>通过 JDBC 连接 MySQLhttps://blog.sigmerc.top/posts/jdbc-mysql/Mon, 25 Mar 2019 23:11:05 +0000https://blog.sigmerc.top/posts/jdbc-mysql/<p>大概是第二次被 MySQL 玩了,也可能是第三次。</p>“老有所得” 项目实践心得https://blog.sigmerc.top/posts/adminder/Mon, 18 Mar 2019 14:57:20 +0000https://blog.sigmerc.top/posts/adminder/<p>其实最大的心得是不要一次开多个项目。</p>短兵相接:MD4 碰撞攻击https://blog.sigmerc.top/posts/md4-collision/Wed, 06 Mar 2019 14:01:28 +0000https://blog.sigmerc.top/posts/md4-collision/<p>重复了王小云教授 14 年前的工作,RIPEMD/MD5/SHA 家族碰撞原理类似。</p>实战 SSH 端口转发https://blog.sigmerc.top/posts/ssh-port-fwd/Mon, 04 Mar 2019 18:13:07 +0000https://blog.sigmerc.top/posts/ssh-port-fwd/<p>驾驭魔法,需要先掌握魔法的原理。</p>凿壁偷光:魔法上网的可持续解决方案https://blog.sigmerc.top/posts/magical-surfing/Mon, 04 Mar 2019 17:06:17 +0000https://blog.sigmerc.top/posts/magical-surfing/<p>因为众所周知的原因,本文中不会提供任何相关工具的下载链接。</p>横行霸道:ECNU 第三轮课程掠夺者https://blog.sigmerc.top/posts/course-robber/Sun, 10 Feb 2019 21:36:21 +0000https://blog.sigmerc.top/posts/course-robber/<p>用来在第三轮选课中抢课。</p>jQuery 踩坑记https://blog.sigmerc.top/posts/jquery/Wed, 23 Jan 2019 13:18:21 +0000https://blog.sigmerc.top/posts/jquery/<p>开发项目时踩到的坑。</p>VSCode + APICloud + GitHub 开发环境配置https://blog.sigmerc.top/posts/vscode-apicloud/Thu, 17 Jan 2019 14:22:32 +0000https://blog.sigmerc.top/posts/vscode-apicloud/<p>不是很懂为什么 APICloud 没有官方的 VSCode 插件。</p>世外桃源:Hexo 踩坑记https://blog.sigmerc.top/posts/hexo/Fri, 11 Jan 2019 22:15:45 +0000https://blog.sigmerc.top/posts/hexo/<p>关于这个网站是如何诞生的。</p>《Python 编程技术》期末作业https://blog.sigmerc.top/posts/python-summary/Sun, 06 Jan 2019 00:00:00 +0000https://blog.sigmerc.top/posts/python-summary/<p>期末作业居然是写综述。。有点无聊啊。<strong>这不是 Python 教程。</strong></p>概率论课程报告https://blog.sigmerc.top/posts/probability-report/Fri, 14 Dec 2018 00:00:00 +0000https://blog.sigmerc.top/posts/probability-report/<p>一道数竞压轴题的直观解法。</p>一点 C 语言的经验https://blog.sigmerc.top/posts/c-tips/Wed, 17 Oct 2018 00:00:00 +0000https://blog.sigmerc.top/posts/c-tips/<p>被邀请分享 C 语言学习经验,于是写了点东西给学生会做推送。</p>AVL 树和 B 树https://blog.sigmerc.top/posts/avl-b-tree/Wed, 13 Jun 2018 00:00:00 +0000https://blog.sigmerc.top/posts/avl-b-tree/<p>数据结构上机课花了点时间实现的两种相对复杂的数据结构。基本上在抄书。</p>位运算用法整理https://blog.sigmerc.top/posts/bitwise-ops/Sun, 11 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/bitwise-ops/<p>实训准备的第二弹。</p>程序设计能力实训 资料准备https://blog.sigmerc.top/posts/exam-prep/Sat, 10 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/exam-prep/<p>其实差不多就是低难度 C++ 模板集合。</p>zkw 线段树https://blog.sigmerc.top/posts/zkw-tree/Thu, 08 Mar 2018 00:00:00 +0000https://blog.sigmerc.top/posts/zkw-tree/<p>%。</p>EOJ 新生训练https://blog.sigmerc.top/posts/eoj-training/Tue, 13 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/eoj-training/<p>记录了新生训练上遇到的一些奇怪题,主要是 Week2 遇到的。</p>OJ 常用的模板们https://blog.sigmerc.top/posts/templates/Mon, 05 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/templates/<p>全是不太熟的模板。</p>最短路问题https://blog.sigmerc.top/posts/shortest-path/Sun, 04 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/shortest-path/<p>Dijkstra, Bellman-Ford &amp;&amp; SPFA.</p>EOJ 杂题合集https://blog.sigmerc.top/posts/eoj-misc/Fri, 02 Feb 2018 00:00:00 +0000https://blog.sigmerc.top/posts/eoj-misc/<p>整理了 EOJ 中遇到的一些值得一记的题目。</p>DP 题练习记录https://blog.sigmerc.top/posts/dp-practice/Tue, 30 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/dp-practice/<p>对我而言不那么简单的 DP 题目。</p>Miller-Rabin 素性测试与二次探测https://blog.sigmerc.top/posts/miller-rabin/Fri, 19 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/miller-rabin/<p>贴定理和模板的,不是教程。</p>简单 DFS 题合集https://blog.sigmerc.top/posts/dfs-simple/Thu, 04 Jan 2018 00:00:00 +0000https://blog.sigmerc.top/posts/dfs-simple/<p>题目全部来自 EOJ。新年开始用 C++ 了。</p>简单 DP 题合集https://blog.sigmerc.top/posts/dp-simple/Sat, 23 Dec 2017 00:00:00 +0000https://blog.sigmerc.top/posts/dp-simple/<p>经典之所以能被称为经典,是因为其中蕴含的无限可能。</p>欧拉筛法求素数https://blog.sigmerc.top/posts/euler-sieve/Mon, 04 Dec 2017 00:00:00 +0000https://blog.sigmerc.top/posts/euler-sieve/<p>我最喜欢的求素数方法。这也是我最常回顾(抄代码)的一篇文章。</p>巧算数学问题https://blog.sigmerc.top/posts/math-problems/Wed, 08 Nov 2017 00:00:00 +0000https://blog.sigmerc.top/posts/math-problems/<p>总是让人头疼又令人着迷的数学问题。</p>问题笔记https://blog.sigmerc.top/posts/newbie-note/Wed, 08 Nov 2017 00:00:00 +0000https://blog.sigmerc.top/posts/newbie-note/<p>第一篇博文。</p> \ No newline at end of file diff --git a/posts/ipv6-tunnel/index.html b/posts/ipv6-tunnel/index.html index a1e0ac8c6..08e47df4e 100644 --- a/posts/ipv6-tunnel/index.html +++ b/posts/ipv6-tunnel/index.html @@ -8,7 +8,7 @@
    1. Posts/

    舍近求远:开通 IPv6 隧道

    ·

    喜迎国庆。

    新配置的代理服务器访问谷歌时,有时会遇到要求人机身份验证的问题。查找了一些资料后,发现应该是谷歌 ban 了对应的 IPv4 地址所导致的(说到这里,记录一个 好用的网站)。

    最简单的解决办法就是使用 IPv6 进行访问,为此我们需要开通一个 IPv6 隧道。在这个 良心网站 上注册个账号,然后 Create Regular Tunnel,填写服务器 IPv4 地址并选择隧道服务器后,就能看到隧道的详细信息了。例如,Client IPv6 Address 显示了我们的服务器的 IPv6 地址。

    接下来,在 Example Configurations 中选择自己服务器的 OS,并根据提示在服务器上完成相应配置即可。Debian 和 Ubuntu 有自己的选项,CentOS 及其它常用 Linux 系统可以选择 Linux-net-tools

    至此,服务器已经可以通过 IPv6 访问谷歌了,测试:

    $ ping6 ipv6.google.com
    -

    注:可能需要在 /etc/hosts 中加入部分 谷歌相关 IPv6 地址