Skip to content

Commit

Permalink
Site updated: 2023-10-07 13:55:21
Browse files Browse the repository at this point in the history
  • Loading branch information
cxzlw committed Oct 7, 2023
1 parent 969924f commit 952dea9
Show file tree
Hide file tree
Showing 30 changed files with 10 additions and 25 deletions.
2 changes: 1 addition & 1 deletion 2023/07/05/trace-of-line-01/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="不存在的历史,勾起了石月仙的注意,随着找寻真相的深入,一个隐瞒了全世界的阴谋浮出水面。而对于人类,阴谋何来,何从,何去?">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-07-05T14:20:06.000Z">
<meta property="article:modified_time" content="2023-10-07T05:47:21.732Z">
<meta property="article:modified_time" content="2023-10-07T05:54:54.562Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="飞石">
<meta property="article:tag" content="小说">
Expand Down
8 changes: 1 addition & 7 deletions 2023/07/05/zhihu-aac-old/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://blog.cxzlw.top/img/image.png">
<meta property="article:published_time" content="2023-07-04T17:49:31.000Z">
<meta property="article:modified_time" content="2023-10-07T05:47:21.732Z">
<meta property="article:modified_time" content="2023-10-07T05:54:54.562Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="Python">
<meta property="article:tag" content="cxzlw">
Expand Down Expand Up @@ -304,7 +304,6 @@ <h1 id="seo-header">聊聊知乎盐选反爬 (回答页篇)</h1>
<h2 id="一、知乎反爬效果"><a href="#一、知乎反爬效果" class="headerlink" title="一、知乎反爬效果"></a>一、知乎反爬效果</h2><p>来自知乎回答<a target="_blank" rel="noopener" href="https://www.zhihu.com/question/41922324/answer/3073556909">不被爱是一种什么样的感受? - 知乎</a></p>
<p>
<picture>
<source lazyload-data data-srcset="/../img/image.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/image.png.webp" type="image/webp">
<img src="/../img/image.png" srcset="/img/loading.gif" lazyload alt="乱码示意图">
</picture>
Expand All @@ -320,29 +319,25 @@ <h2 id="二、找寻乱码真凶"><a href="#二、找寻乱码真凶" class="hea
<p>接下来我们打开 F12 -&gt; Network 页面,选择 Font,观察知乎加载的字体。</p>
<p>
<picture>
<source lazyload-data data-srcset="/../img/image-1.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/image-1.png.webp" type="image/webp">
<img src="/../img/image-1.png" srcset="/img/loading.gif" lazyload alt="知乎加载的字体">
</picture>
</p>
<p>右键选择 Open in new tab 将字体保存下来。</p>
<p>
<picture>
<source lazyload-data data-srcset="/../img/image-2.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/image-2.png.webp" type="image/webp">
<img src="/../img/image-2.png" srcset="/img/loading.gif" lazyload alt="下载的字体文件">
</picture>
</p>
<p>将字体后缀名改为 .ttf <sup id="fnref:3" class="footnote-ref"><a href="#fn:3" rel="footnote"><span class="hint--top hint--rounded" aria-label=".ttf 是因为 `data:font/ttf;...` 代表该字体是 ttf 格式的。">[3]</span></a></sup> 并打开。</p>
<div class="group-image-container"><div class="group-image-row"><div class="group-image-wrap">
<picture>
<source lazyload-data data-srcset="/../img/image-3.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/image-3.png.webp" type="image/webp">
<img src="/../img/image-3.png" srcset="/img/loading.gif" lazyload alt="正常字体">
</picture>
</div><div class="group-image-wrap">
<picture>
<source lazyload-data data-srcset="/../img/image-4.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/image-4.png.webp" type="image/webp">
<img src="/../img/image-4.png" srcset="/img/loading.gif" lazyload alt="反爬字体">
</picture>
Expand All @@ -354,7 +349,6 @@ <h2 id="三、致命缺陷"><a href="#三、致命缺陷" class="headerlink" tit
<p>我们打开 <a target="_blank" rel="noopener" href="https://fontdrop.info/">FontDrop!</a> 加载字体,向下翻,观察字形的特征。</p>
<p>
<picture>
<source lazyload-data data-srcset="/../img/image-5.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/image-5.png.webp" type="image/webp">
<img src="/../img/image-5.png" srcset="/img/loading.gif" lazyload alt="字体中的字形">
</picture>
Expand Down
2 changes: 1 addition & 1 deletion 2023/07/06/zerotier-planet-convert/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="由于国内特殊的网络原因,Zerotier 官方提供的 Planet 用户体验不佳。为此,不少人选择自建私有 Moon,甚至私有 Planet 服务器。然而,正如官方文档所说,使用私有 Planet 服务器会使你的节点无法找到其他的标准节点。本文试图提出一种方案在使用私有 Planet 服务器的同时与标准节点通信。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-07-06T04:37:41.000Z">
<meta property="article:modified_time" content="2023-10-07T05:47:21.732Z">
<meta property="article:modified_time" content="2023-10-07T05:54:54.562Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="cxzlw">
<meta property="article:tag" content="Zerotier">
Expand Down
2 changes: 1 addition & 1 deletion 2023/07/10/trace-of-line-02/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="不存在的历史,勾起了石月仙的注意,随着找寻真相的深入,一个隐瞒了全世界的阴谋浮出水面。而对于人类,阴谋何来,何从,何去?">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-07-10T15:01:06.000Z">
<meta property="article:modified_time" content="2023-10-07T05:47:21.732Z">
<meta property="article:modified_time" content="2023-10-07T05:54:54.562Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="飞石">
<meta property="article:tag" content="小说">
Expand Down
2 changes: 1 addition & 1 deletion 2023/08/04/permission-system-design-share/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="最近在参与某 OJ 的开发,过程中我们需要一个权限系统。作为一个热爱 MC 的开发者,我很喜欢 luckperms 的设计,于是这个小东西就出来了。在这里给大家分享我们的权限系统设计。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-08-04T07:32:59.000Z">
<meta property="article:modified_time" content="2023-10-07T05:47:21.732Z">
<meta property="article:modified_time" content="2023-10-07T05:54:54.562Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="Python">
<meta property="article:tag" content="cxzlw">
Expand Down
2 changes: 1 addition & 1 deletion 2023/08/04/test-latex/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="$$E&#x3D;mc^2$$ WORK? Hi, GitHub, from China. Hi my blog, from github.dev Hi, wmr.">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-08-04T06:35:08.000Z">
<meta property="article:modified_time" content="2023-10-07T05:47:21.732Z">
<meta property="article:modified_time" content="2023-10-07T05:54:54.562Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="cxzlw">
<meta property="article:tag" content="Blog">
Expand Down
5 changes: 1 addition & 4 deletions 2023/08/31/cell-structure/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<meta property="og:image" content="https://blog.cxzlw.top/img/plant.jpg">
<meta property="og:image" content="https://blog.cxzlw.top/img/prokaryotic.jpg">
<meta property="article:published_time" content="2023-08-31T15:11:29.000Z">
<meta property="article:modified_time" content="2023-10-07T05:47:21.732Z">
<meta property="article:modified_time" content="2023-10-07T05:54:54.562Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="cxzlw">
<meta property="article:tag" content="Blog">
Expand Down Expand Up @@ -407,7 +407,6 @@ <h3 id="Ribosomes"><a href="#Ribosomes" class="headerlink" title="Ribosomes"></a
<h2 id="Animal-cell"><a href="#Animal-cell" class="headerlink" title="Animal cell"></a>Animal cell</h2><p>Animal cell has all above.</p>
<h3 id="Diagram"><a href="#Diagram" class="headerlink" title="Diagram"></a>Diagram</h3><p>
<picture>
<source lazyload-data data-srcset="/../img/animal.jpg.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/animal.jpg.webp" type="image/webp">
<img src="/../img/animal.jpg" srcset="/img/loading.gif" lazyload alt="Animal cell diagram">
</picture>
Expand All @@ -429,7 +428,6 @@ <h3 id="Chloroplast"><a href="#Chloroplast" class="headerlink" title="Chloroplas
</ul>
<h3 id="Diagram-1"><a href="#Diagram-1" class="headerlink" title="Diagram"></a>Diagram</h3><p>
<picture>
<source lazyload-data data-srcset="/../img/plant.jpg.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/plant.jpg.webp" type="image/webp">
<img src="/../img/plant.jpg" srcset="/img/loading.gif" lazyload alt="Plant cell diagram">
</picture>
Expand All @@ -443,7 +441,6 @@ <h3 id="Circular-DNA"><a href="#Circular-DNA" class="headerlink" title="Circular
<h3 id="Plasmid"><a href="#Plasmid" class="headerlink" title="Plasmid"></a>Plasmid</h3><p>Small circles of DNA.</p>
<h3 id="Diagram-2"><a href="#Diagram-2" class="headerlink" title="Diagram"></a>Diagram</h3><p>
<picture>
<source lazyload-data data-srcset="/../img/prokaryotic.jpg.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/prokaryotic.jpg.webp" type="image/webp">
<img src="/../img/prokaryotic.jpg" srcset="/img/loading.gif" lazyload alt="Prokaryotic cell diagram">
</picture>
Expand Down
7 changes: 1 addition & 6 deletions 2023/10/03/busuanzi-bug/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<meta property="og:image" content="https://blog.cxzlw.top/img/img-20231004-chrome-busuanzi.png">
<meta property="og:image" content="https://blog.cxzlw.top/img/image-8.png">
<meta property="article:published_time" content="2023-10-03T15:06:16.000Z">
<meta property="article:modified_time" content="2023-10-07T05:47:21.732Z">
<meta property="article:modified_time" content="2023-10-07T05:54:54.562Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="cxzlw">
<meta property="article:tag" content="Hexo">
Expand Down Expand Up @@ -308,13 +308,11 @@ <h1 id="seo-header">不蒜子在 Safari 中计数异常</h1>
<p>近期,我的博客在 Safari 中,文章访问量异常的大。经过抓包,确认了问题与 Referer 头相关。然而,Referrer-Policy 并没有解决问题。这与其接口设计有关。本文将进行解释,并提出我的解决方案。</p>
<h2 id="问题表现"><a href="#问题表现" class="headerlink" title="问题表现"></a>问题表现</h2><div class="group-image-container"><div class="group-image-row"><div class="group-image-wrap">
<picture>
<source lazyload-data data-srcset="/../img/image-6.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/image-6.png.webp" type="image/webp">
<img src="/../img/image-6.png" srcset="/img/loading.gif" lazyload alt="Safari 打开效果">
</picture>
</div><div class="group-image-wrap">
<picture>
<source lazyload-data data-srcset="/../img/image-7.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/image-7.png.webp" type="image/webp">
<img src="/../img/image-7.png" srcset="/img/loading.gif" lazyload alt="正常情况打开效果">
</picture>
Expand All @@ -326,22 +324,19 @@ <h2 id="问题表现"><a href="#问题表现" class="headerlink" title="问题
<h2 id="问题原因"><a href="#问题原因" class="headerlink" title="问题原因"></a>问题原因</h2><p>为了找到引起这个问题的原因,我们对上述页面分别向 busuanzi 发的请求都进行抓包。</p>
<h3 id="Safari"><a href="#Safari" class="headerlink" title="Safari"></a>Safari</h3><p>
<picture>
<source lazyload-data data-srcset="/../img/img-20231004-safari-busuanzi.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/img-20231004-safari-busuanzi.png.webp" type="image/webp">
<img src="/../img/img-20231004-safari-busuanzi.png" srcset="/img/loading.gif" lazyload alt="Safari 向 busuanzi 发的请求">
</picture>
</p>
<h3 id="Chrome"><a href="#Chrome" class="headerlink" title="Chrome"></a>Chrome</h3><p>
<picture>
<source lazyload-data data-srcset="/../img/img-20231004-chrome-busuanzi.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/img-20231004-chrome-busuanzi.png.webp" type="image/webp">
<img src="/../img/img-20231004-chrome-busuanzi.png" srcset="/img/loading.gif" lazyload alt="Chrome 向 busuanzi 发的请求">
</picture>
</p>
<p>从上面的两个请求,可以看出Safari 向 busuanzi 发送的请求 Referer 头是错误的。这导致 Safari 获得了 <code>https://blog.cxzlw.top/</code> 的浏览量信息。这是为什么呢?</p>
<h2 id="高人指点"><a href="#高人指点" class="headerlink" title="高人指点"></a>高人指点</h2><p>加入 busuanzi QQ 群<sup id="fnref:1" class="footnote-ref"><a href="#fn:1" rel="footnote"><span class="hint--top hint--rounded" aria-label="419260983,来自 busunazi 官网 [不蒜子 | 不如](https://ibruce.info/2015/04/04/busuanzi/#more:~:text=%E5%A3%B0%E6%98%8E%EF%BC%9A%E7%BB%8F%E7%94%A8%E6%88%B7%E5%BB%BA%E8%AE%AE%EF%BC%8C%E6%96%B0%E5%A2%9E%E4%B8%8D%E8%92%9C%E5%AD%90%E4%BA%A4%E6%B5%81QQ%E7%BE%A4%EF%BC%9A419260983%EF%BC%8C%E6%AC%A2%E8%BF%8E%E5%A4%A7%E5%AE%B6%E5%8A%A0%E5%85%A5%E3%80%82%E2%80%94%E2%80%94%20%E4%B8%8D%E5%A6%82%EF%BC%8C2017.02)">[1]</span></a></sup>后,我在群中询问。并得到了大佬「 」的回复。<br>
<picture>
<source lazyload-data data-srcset="/../img/image-8.png.avif" type="image/avif">
<source lazyload-data data-srcset="/../img/image-8.png.webp" type="image/webp">
<img src="/../img/image-8.png" srcset="/img/loading.gif" lazyload alt="大佬的解答">
</picture>
Expand Down
2 changes: 1 addition & 1 deletion about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="欢迎来到我的博客">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-07-02T17:01:41.000Z">
<meta property="article:modified_time" content="2023-10-07T05:47:21.732Z">
<meta property="article:modified_time" content="2023-10-07T05:54:54.562Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="cxzlw">
<meta property="article:tag" content="Blog">
Expand Down
Binary file removed img/animal.jpg.avif
Binary file not shown.
Binary file removed img/avatar.png.avif
Binary file not shown.
Binary file removed img/default.png.avif
Binary file not shown.
Binary file removed img/fluid.png.avif
Binary file not shown.
Binary file removed img/image-1.png.avif
Binary file not shown.
Binary file removed img/image-2.png.avif
Binary file not shown.
Binary file removed img/image-3.png.avif
Binary file not shown.
Binary file removed img/image-4.png.avif
Binary file not shown.
Binary file removed img/image-5.png.avif
Binary file not shown.
Binary file removed img/image-6.png.avif
Binary file not shown.
Binary file removed img/image-7.png.avif
Binary file not shown.
Binary file removed img/image-8.png.avif
Binary file not shown.
Binary file removed img/image-9.png.avif
Binary file not shown.
Binary file removed img/image.png.avif
Binary file not shown.
Binary file removed img/img-20231004-chrome-busuanzi.png.avif
Binary file not shown.
Binary file removed img/img-20231004-safari-busuanzi.png.avif
Binary file not shown.
Binary file removed img/plant.jpg.avif
Binary file not shown.
Binary file removed img/police_beian.png.avif
Binary file not shown.
Binary file removed img/prokaryotic.jpg.avif
Binary file not shown.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ <h2 class="index-header">
<a href="/2023/07/05/zhihu-aac-old/" target="_self">

<picture>
<source lazyload-data data-srcset="/img/image.png.avif" type="image/avif">
<source lazyload-data data-srcset="/img/image.png.webp" type="image/webp">
<img src="/img/image.png" srcset="/img/loading.gif" lazyload alt="聊聊知乎盐选反爬 (回答页篇)">
</picture>
Expand Down
Loading

0 comments on commit 952dea9

Please sign in to comment.