<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Notion Blog</title>
        <link>https://blog.cslzhl.online/</link>
        <description>一个NotionNext搭建的博客</description>
        <lastBuildDate>Sun, 18 Oct 2026 13:01:37 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <copyright>All rights reserved 2026, cslzhl</copyright>
        <item>
            <title><![CDATA[驾照考试]]></title>
            <link>https://blog.cslzhl.online/article/drive</link>
            <guid>https://blog.cslzhl.online/article/drive</guid>
            <pubDate>Thu, 03 Jul 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[记录考场路线]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-225fd68399498011b042f74a0e2fb145"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-225fd68399498013a388ca3bab36504f"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">这里写文章的前言：
记录诀窍</div></div><div class="notion-blank notion-block-225fd683994980d1a3fdf0c0731e7aa3"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-225fd6839949803ba296ee064ab90157" data-id="225fd6839949803ba296ee064ab90157"><span><div id="225fd6839949803ba296ee064ab90157" class="notion-header-anchor"></div><a class="notion-hash-link" href="#225fd6839949803ba296ee064ab90157" title="📝 科目三"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 科目三</span></span></h2><div class="notion-text notion-block-225fd683994980cf8ee8d2d414e5bea5">1号线：右转，<span class="notion-yellow_background">超车</span>，路口直行（选左车道，要左转），<span class="notion-yellow_background">注意公交踩下刹车</span>，左转，<span class="notion-yellow_background">会车踩下刹车</span>，路口直行（选右车道，要变更车道），<span class="notion-yellow_background">变更车道</span>，掉头，路口直行（<span class="notion-yellow_background">人行横道前踩刹车</span>），路口右转，<span class="notion-yellow_background">学校踩下刹车</span>，路口直行（选左车道），<span class="notion-yellow_background">直线行驶</span>，左转进驾校</div><div class="notion-text notion-block-225fd683994980899443de42dd61abe5">2号线：右转，<span class="notion-yellow_background">超车</span>，路口直行，<span class="notion-yellow_background">注意公交踩下刹车</span>，右转，<span class="notion-yellow_background">会车踩下刹车</span>，路口右转，<span class="notion-yellow_background">变更车道</span>，掉头，（要左转所以）变道左边，路口左转，路口左转选右车道（因为这边是直行车道），<span class="notion-yellow_background">学校踩下刹车</span>，选左车道，<span class="notion-yellow_background">直线行驶</span>，左转进驾校</div><div class="notion-text notion-block-225fd683994980339ebde909adfeacfe">3号线：左转，路口左转，路口左转（选右车道要超车），<span class="notion-yellow_background">超车</span>，路口直行（选左车道要直线行驶），<span class="notion-yellow_background">直线行驶</span>，掉头，自主变更车道，<span class="notion-yellow_background">变更车道</span>，路口直行，<span class="notion-yellow_background">公交刹车</span>，<span class="notion-yellow_background">学校刹车</span>，路口右转，<span class="notion-yellow_background">会车</span>，路口右转，路口右转，右转进驾校</div><div class="notion-blank notion-block-225fd68399498025ad07c6b809ad827c"> </div><div class="notion-callout notion-gray_background_co notion-block-225fd683994980a8a57bc4406a63aac6"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">有关Notion安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~</div></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[赛博电子人]]></title>
            <link>https://blog.cslzhl.online/article/24080802</link>
            <guid>https://blog.cslzhl.online/article/24080802</guid>
            <pubDate>Thu, 08 Aug 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[非常个性化的主题。个人常用软件工具分析，持续更新。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-76c37b0df1d0446697a9bf44af4c0802"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-439b576e5f3f4c0fa8c2c891e422c12f"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">这里写文章的前言：
非常个性化的主题。个人常用软件工具分析，持续更新。</div></div><div class="notion-blank notion-block-9c55f380519e452e9b4476d66e63b400"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-a965ac60ecb14643a693b432fffe3190" data-id="a965ac60ecb14643a693b432fffe3190"><span><div id="a965ac60ecb14643a693b432fffe3190" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a965ac60ecb14643a693b432fffe3190" title="📝 命令行工具"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 命令行工具</span></span></h2><ul class="notion-list notion-list-disc notion-block-7c630c5653d94424b96cf7a03d857400"><li>rsync</li></ul><ul class="notion-list notion-list-disc notion-block-e589d10b8f0749cead38c0a77c39064d"><li>rclone</li></ul><ul class="notion-list notion-list-disc notion-block-7db9f07b129745bd87c17bda6fff00b9"><li>docker</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-a9cf7f3cef67428496ad508b23dd4a2f" data-id="a9cf7f3cef67428496ad508b23dd4a2f"><span><div id="a9cf7f3cef67428496ad508b23dd4a2f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a9cf7f3cef67428496ad508b23dd4a2f" title="📝 笔记工具"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 笔记工具</span></span></h2><div class="notion-text notion-block-5a1b7acbab4f4f7c9caaff498b01f0a1">体验过不少笔记工具，包括有道云笔记、印象笔记、joplin等，最后只使用这两个了。</div><ul class="notion-list notion-list-disc notion-block-f265a068aa8e408aa6fdf2dc853d4765"><li>obsidian</li></ul><ul class="notion-list notion-list-disc notion-block-9c937b309eea47b78f21d34536fc4fbc"><li>notion</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-3b1faf9855db4591b1d38757cd7e18dd" data-id="3b1faf9855db4591b1d38757cd7e18dd"><span><div id="3b1faf9855db4591b1d38757cd7e18dd" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3b1faf9855db4591b1d38757cd7e18dd" title="📝 生产力工具"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 生产力工具</span></span></h2><ul class="notion-list notion-list-disc notion-block-77b58f055dd744a8a6f3e2c67e3e6963"><li>vscode</li></ul><ul class="notion-list notion-list-disc notion-block-9c782d1c0db34e7ab1d5ba0d39eb5eff"><li>zotero</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-1a657d247dc6495a90088b0995de8621" data-id="1a657d247dc6495a90088b0995de8621"><span><div id="1a657d247dc6495a90088b0995de8621" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1a657d247dc6495a90088b0995de8621" title="📝 隐私安全"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 隐私安全</span></span></h2><ul class="notion-list notion-list-disc notion-block-7a8514de5eaf48ad8d728de206b40ede"><li>bitwarden</li></ul><ul class="notion-list notion-list-disc notion-block-932c807934c949cfa50639a00541b587"><li><s>keepassxc，需要多端安装客户端，不如bitwarden方便</s></li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-187fd68399498068a341de721ee7ded1" data-id="187fd68399498068a341de721ee7ded1"><span><div id="187fd68399498068a341de721ee7ded1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#187fd68399498068a341de721ee7ded1" title="📝 ssh管理"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 ssh管理</span></span></h2><ul class="notion-list notion-list-disc notion-block-188fd683994980bc9f47d96d53dd46d0"><li>transmit</li></ul><div class="notion-blank notion-block-72846ab990be492a909c68ce00976262"> </div><div class="notion-callout notion-gray_background_co notion-block-5f251461c4744a0f964d66c4f43bfaee"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">有关Notion安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~</div></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[哈希算法]]></title>
            <link>https://blog.cslzhl.online/article/240808</link>
            <guid>https://blog.cslzhl.online/article/240808</guid>
            <pubDate>Thu, 08 Aug 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-e3a4ac18d5f04aeba3c65048cf33ec4a"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-990ccfc697ed40c086a8c43cb9757880"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">这里写文章的前言：
一个简单的开头,简述这篇文章讨论的问题、目标、人物、背景是什么？并简述你给出的答案。<div class="notion-text notion-block-0557210d9f3246aea337ebec97b917a2">可以说说你的故事：阻碍、努力、结果成果，意外与转折。</div></div></div><div class="notion-blank notion-block-adc0e078966d46d1adf6e420ae75864d"> </div><div class="notion-text notion-block-724ea4cc95b64f168f037465d8ecc4c7">MD5、SHA-1、SHA-256 和 SHA-512 是常见的哈希算法（也称为消息摘要算法），它们用于生成固定长度的哈希值，以唯一标识输入数据。它们之间的主要区别包括输出哈希值的长度、安全性和应用场景。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-3a451ef437af4dd7a9c0ce318a1c56fe" data-id="3a451ef437af4dd7a9c0ce318a1c56fe"><span><div id="3a451ef437af4dd7a9c0ce318a1c56fe" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3a451ef437af4dd7a9c0ce318a1c56fe" title="📝 1. MD5 (Message-Digest Algorithm 5)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 1. <b>MD5 (Message-Digest Algorithm 5)</b></span></span></h2><ul class="notion-list notion-list-disc notion-block-29542ee0a61a4375a858b98508ec9e0e"><li><b>哈希长度</b>: 128 位（16 字节），通常表示为 32 个十六进制字符。</li></ul><ul class="notion-list notion-list-disc notion-block-6590872ebd17444da62563d1b7d7ffe8"><li><b>安全性</b>: 被认为是不安全的。MD5 已被发现存在严重的碰撞漏洞（不同的输入可以生成相同的哈希值），因此不再适用于安全敏感的应用，如数字签名或证书验证。</li></ul><ul class="notion-list notion-list-disc notion-block-ce81c7a94b4e45a5937ddef26ffab9a1"><li><b>速度</b>: 快速，但由于安全性问题，已经被大多数安全应用淘汰。</li></ul><ul class="notion-list notion-list-disc notion-block-a85606c1a21d4cad93517835f7482cd2"><li><b>常见应用</b>: 在文件完整性检查（如文件校验码）中仍有使用，但不推荐用于安全性要求高的场合。</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-a8f146e11852427fb2b360d14f87dea4" data-id="a8f146e11852427fb2b360d14f87dea4"><span><div id="a8f146e11852427fb2b360d14f87dea4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a8f146e11852427fb2b360d14f87dea4" title="📝 2. SHA-1 (Secure Hash Algorithm 1)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 2. <b>SHA-1 (Secure Hash Algorithm 1)</b></span></span></h2><ul class="notion-list notion-list-disc notion-block-7c152831dfbe4ad890e5aba40b27a53e"><li><b>哈希长度</b>: 160 位（20 字节），通常表示为 40 个十六进制字符。</li></ul><ul class="notion-list notion-list-disc notion-block-80b678e68bb9488580927f337ec6349b"><li><b>安全性</b>: 比 MD5 更安全，但仍被认为不安全。SHA-1 也存在已知的碰撞攻击（有不同的输入可以生成相同的哈希值），主要用于某些遗留系统和较老的协议中。</li></ul><ul class="notion-list notion-list-disc notion-block-af16f381863a4552b5e9a587aa92a187"><li><b>速度</b>: 比 SHA-256 更快，但由于安全问题，已逐步被淘汰。</li></ul><ul class="notion-list notion-list-disc notion-block-520cbd33a6af4eaa839df4fd290599da"><li><b>常见应用</b>: 曾广泛用于 SSL/TLS 证书、数字签名和加密协议中，但现在大部分已经转向更安全的 SHA-2 系列。</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-d3dcf10d2ffb45f6a5c1c699d2b6628a" data-id="d3dcf10d2ffb45f6a5c1c699d2b6628a"><span><div id="d3dcf10d2ffb45f6a5c1c699d2b6628a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#d3dcf10d2ffb45f6a5c1c699d2b6628a" title="📝 3. SHA-256 (Secure Hash Algorithm 256)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 3. <b>SHA-256 (Secure Hash Algorithm 256)</b></span></span></h2><ul class="notion-list notion-list-disc notion-block-5b4629f47c63419e985c4cb67b806314"><li><b>哈希长度</b>: 256 位（32 字节），通常表示为 64 个十六进制字符。</li></ul><ul class="notion-list notion-list-disc notion-block-ea7938c6ac1e4759bef1cf88c2b07cfa"><li><b>安全性</b>: 被认为是非常安全的，没有已知的有效碰撞攻击，广泛用于需要高安全性的场合。</li></ul><ul class="notion-list notion-list-disc notion-block-e3a76cc34fe3469dac0226d698828b27"><li><b>速度</b>: 相对较慢（相比于 MD5 和 SHA-1），但安全性更高。适用于大多数现代加密应用，如区块链、TLS/SSL 证书、数字签名等。</li></ul><ul class="notion-list notion-list-disc notion-block-9d99c4b772314dfdab552505d7abdbc2"><li><b>常见应用</b>: 用于加密货币（如比特币），数字签名，数据完整性校验，以及各类安全协议。</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-97fb63e32eec41e484b3cfeaf44e8009" data-id="97fb63e32eec41e484b3cfeaf44e8009"><span><div id="97fb63e32eec41e484b3cfeaf44e8009" class="notion-header-anchor"></div><a class="notion-hash-link" href="#97fb63e32eec41e484b3cfeaf44e8009" title="📝 4. SHA-512 (Secure Hash Algorithm 512)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 4. <b>SHA-512 (Secure Hash Algorithm 512)</b></span></span></h2><ul class="notion-list notion-list-disc notion-block-43b10dada45d4293977c541ebf0081de"><li><b>哈希长度</b>: 512 位（64 字节），通常表示为 128 个十六进制字符。</li></ul><ul class="notion-list notion-list-disc notion-block-f08e925b643c45fa94b546411edd4685"><li><b>安全性</b>: 与 SHA-256 同属 SHA-2 家族，安全性非常高，适用于需要极高安全性的应用。</li></ul><ul class="notion-list notion-list-disc notion-block-2f32e162f0804254972229d4e3664aaf"><li><b>速度</b>: 在 64 位系统上，SHA-512 的计算速度可能与 SHA-256 类似甚至更快，但在 32 位系统上可能稍慢。因为它的输出长度更长，因此适用于需要更长哈希值的应用场景。</li></ul><ul class="notion-list notion-list-disc notion-block-0706f6c34c1d491aad6332e1f8af97e8"><li><b>常见应用</b>: 与 SHA-256 类似，但更适合需要更长哈希值的应用。</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-804f556b5b8d4797a215de56203c9c21" data-id="804f556b5b8d4797a215de56203c9c21"><span><div id="804f556b5b8d4797a215de56203c9c21" class="notion-header-anchor"></div><a class="notion-hash-link" href="#804f556b5b8d4797a215de56203c9c21" title="🤗 总结与应用建议"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🤗 总结与应用建议</span></span></h2><ul class="notion-list notion-list-disc notion-block-59dadefc7bb84f76a0d3169929f6c5c3"><li><b>MD5</b> 和 <b>SHA-1</b>：由于已被发现存在严重的安全漏洞，不推荐用于任何安全性要求高的场合。可以用于非安全性要求的应用，如简单的文件校验。</li></ul><ul class="notion-list notion-list-disc notion-block-ee77ffbeb1664e03960ec374cef6897d"><li><b>SHA-256</b> 和 <b>SHA-512</b>：是目前广泛推荐的安全哈希算法。SHA-256 是最常用的，适合大多数安全应用。SHA-512 适用于需要更长哈希值或在 64 位系统上更高效的场合。</li></ul><div class="notion-text notion-block-dbd9edc59b8a4dae88c3888fa31bc817">如何选择：</div><ul class="notion-list notion-list-disc notion-block-8e8b6817f08840feb2273c273e114465"><li><b>文件完整性校验</b>：可以使用 MD5 或 SHA-1，但要记住它们不适合高安全性需求。</li></ul><ul class="notion-list notion-list-disc notion-block-2a281fcab4ef4fd6af8502fd8d1c1846"><li><b>密码学应用</b>：建议使用 SHA-256 或 SHA-512，确保数据的安全性。</li></ul><ul class="notion-list notion-list-disc notion-block-30f1708176394316b05df0a7a975edfd"><li><b>高安全性场景</b>：使用 SHA-512，尤其在需要极高安全性和更长哈希值的环境中。</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-000616b4b5e94c1ca08ad164cf1d8678" data-id="000616b4b5e94c1ca08ad164cf1d8678"><span><div id="000616b4b5e94c1ca08ad164cf1d8678" class="notion-header-anchor"></div><a class="notion-hash-link" href="#000616b4b5e94c1ca08ad164cf1d8678" title="📎具体实现"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📎具体实现</span></span></h2><div class="notion-text notion-block-7665c96f24a444339528f0acb66a61d6">分块读取并更新哈希计算：</div><ul class="notion-list notion-list-disc notion-block-b0764d855752482790ea9198573982f3"><li><b>节省内存</b>：对于大文件，逐块读取避免了将整个文件一次性加载到内存中，减少了内存占用。</li></ul><ul class="notion-list notion-list-disc notion-block-767f55e1e2ab475d980fca36c1b83ae9"><li><b>支持流式计算</b>：即使文件是通过网络流、实时数据流等方式传输的，也能逐块处理并计算哈希值。</li></ul><div class="notion-blank notion-block-15046cb217db4bbaa36c3df240eae523"> </div><div class="notion-callout notion-gray_background_co notion-block-27043c1d1f7f4753ad9b07e61c40197b"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">有关Notion安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~</div></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python搭建消息转发服务器]]></title>
            <link>https://blog.cslzhl.online/article/240722</link>
            <guid>https://blog.cslzhl.online/article/240722</guid>
            <pubDate>Mon, 22 Jul 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-4ddabe05d3de494fb10575faac7a3c5b"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-3d2169eefc6b497dbb7ad3299ccf48ae"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">因为服务器显卡长期被占用，等了一天多了都还没跑完，跑一个显卡监控程序并转发消息。</div></div><div class="notion-blank notion-block-0fc3fe83303b48a78da633a26ebfcab9"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-90c89a90b64645ebaae11953ce70733d" data-id="90c89a90b64645ebaae11953ce70733d"><span><div id="90c89a90b64645ebaae11953ce70733d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#90c89a90b64645ebaae11953ce70733d" title="📝 webhook服务器"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 webhook服务器</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-85a8ab59861e48668189e2d914b25099" data-id="85a8ab59861e48668189e2d914b25099"><span><div id="85a8ab59861e48668189e2d914b25099" class="notion-header-anchor"></div><a class="notion-hash-link" href="#85a8ab59861e48668189e2d914b25099" title="库安装"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">库安装</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-9f289c51eba74e7e96c52a51198d9d6f" data-id="9f289c51eba74e7e96c52a51198d9d6f"><span><div id="9f289c51eba74e7e96c52a51198d9d6f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#9f289c51eba74e7e96c52a51198d9d6f" title="创建flask应用"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">创建flask应用</span></span></h3><div class="notion-text notion-block-3d36013c34754a49b54e14624b7bd5d5">编写一个 Flask 应用来接收 webhook 请求并将消息转发到另一个目的地。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-a9d4ae629b1c4190a37c8c9b3224734a" data-id="a9d4ae629b1c4190a37c8c9b3224734a"><span><div id="a9d4ae629b1c4190a37c8c9b3224734a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a9d4ae629b1c4190a37c8c9b3224734a" title="运行服务器"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">运行服务器</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-7d4cf03e0db0444fb56424636a1374d2" data-id="7d4cf03e0db0444fb56424636a1374d2"><span><div id="7d4cf03e0db0444fb56424636a1374d2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#7d4cf03e0db0444fb56424636a1374d2" title="测试服务器"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">测试服务器</span></span></h3><div class="notion-text notion-block-dcef8493645a451ba1d649d8f3bcd97b">curl发送消息</div><div class="notion-text notion-block-b14c5626a8894bad808fe72766600a9a">python发送消息：</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-31e1a5ac6aad426bb7eefcfdf80f4363" data-id="31e1a5ac6aad426bb7eefcfdf80f4363"><span><div id="31e1a5ac6aad426bb7eefcfdf80f4363" class="notion-header-anchor"></div><a class="notion-hash-link" href="#31e1a5ac6aad426bb7eefcfdf80f4363" title="🤗 部署"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🤗 部署</span></span></h2><div class="notion-text notion-block-808fa6e11374413bb60d87adef2ebe29">对于生产环境，你可以使用更强大的 WSGI 服务器（如 Gunicorn）来运行这个 Flask 应用，并使用反向代理服务器（如 Nginx）来处理流量。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-cd47a2c7050141ff805b023af8aec549" data-id="cd47a2c7050141ff805b023af8aec549"><span><div id="cd47a2c7050141ff805b023af8aec549" class="notion-header-anchor"></div><a class="notion-hash-link" href="#cd47a2c7050141ff805b023af8aec549" title="使用 Gunicorn 启动"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">使用 Gunicorn 启动</span></span></h3><div class="notion-text notion-block-b046adc24a094f769145f7aa5d69c9f5">在这里，<code class="notion-inline-code">-w 4</code> 表示使用 4 个工作进程。</div><div class="notion-blank notion-block-4625f5803ce24201b0f20b8159a99999"> </div><div class="notion-callout notion-gray_background_co notion-block-1caa5df8b4db4153bc58a161108068a8"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">有关Notion安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~</div></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ubuntu安全管理]]></title>
            <link>https://blog.cslzhl.online/article/safe</link>
            <guid>https://blog.cslzhl.online/article/safe</guid>
            <pubDate>Thu, 27 Jun 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[ubuntu安全管理]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-4d519e9221c0453bbb6cca2cb15ef4d7"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-gray_background_co notion-block-0748172553a44df3b6b9120b225d30a8"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">这里写文章的前言：
组里服务器又被攻击了，安全问题还是很重要的，更新安全措施</div></div><div class="notion-blank notion-block-25ef2d3fa78a4c28bc8e1e25ff309fb9"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-b327a72aff844fc698d25f44e969553a" data-id="b327a72aff844fc698d25f44e969553a"><span><div id="b327a72aff844fc698d25f44e969553a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#b327a72aff844fc698d25f44e969553a" title="📝 ssh登录"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 ssh登录</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-23f1e5621c77448088d8a1d4a4ce848a" data-id="23f1e5621c77448088d8a1d4a4ce848a"><span><div id="23f1e5621c77448088d8a1d4a4ce848a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#23f1e5621c77448088d8a1d4a4ce848a" title="更改ssh端口"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">更改ssh端口</span></span></h3><div class="notion-text notion-block-6ce27e287db04236a09585b9ab648541">修改/etc/ssh/sshd_config文件,设置Port为其他端口，可避免多数问题</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-25a667832bcd465daa372e8de36c0c23" data-id="25a667832bcd465daa372e8de36c0c23"><span><div id="25a667832bcd465daa372e8de36c0c23" class="notion-header-anchor"></div><a class="notion-hash-link" href="#25a667832bcd465daa372e8de36c0c23" title="启用强密码策略"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">启用强密码策略</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-5c392fc1a41e4ebca6b6c1117f41fee3" style="list-style-type:decimal"><li>安装<code class="notion-inline-code">libpam-pwquality</code> 模块</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-2915b011edaa449d8fa91a2b4da07094" style="list-style-type:decimal"><li>配置PAM</li></ol><div class="notion-text notion-block-a9503822cb4c4083a4fb71f7d8f795e4">参数说明:</div><ul class="notion-list notion-list-disc notion-block-38ed64df13094f35a09b63d928dfd3d1"><li><code class="notion-inline-code">minlen=8</code>：密码的最小长度，默认值为 8。</li></ul><ul class="notion-list notion-list-disc notion-block-42522d5bbc5946c9a24fbacddc2934e0"><li><code class="notion-inline-code">dcredit=-1</code>：至少包含一个数字。</li></ul><ul class="notion-list notion-list-disc notion-block-45e5de7ed4d04176801b89989d02ed42"><li><code class="notion-inline-code">ucredit=-1</code>：至少包含一个大写字母。</li></ul><ul class="notion-list notion-list-disc notion-block-8870b68995874ed4a1ecd87415386884"><li><code class="notion-inline-code">lcredit=-1</code>：至少包含一个小写字母。</li></ul><ul class="notion-list notion-list-disc notion-block-20ced05e111c4699a08b06f31f46d7f1"><li><code class="notion-inline-code">ocredit=-1</code>：至少包含一个特殊字符。</li></ul><ul class="notion-list notion-list-disc notion-block-dc060167dc4f4bee8e260ffd5035ae9c"><li><code class="notion-inline-code">retry=3</code>：如果密码不符合要求，用户可以重试的次数。</li></ul><ul class="notion-list notion-list-disc notion-block-49842f02d24c4528849a1fcd51320d9f"><li>enforce_for_root 此规则对root生效</li></ul><div class="notion-text notion-block-4292aa267c624536b55341ffc23813cc">编辑PAM 配置文件 <code class="notion-inline-code">/etc/pam.d/common-password</code>，修改以下行</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-118b06e103084dcb856d76dd27190aa2" data-id="118b06e103084dcb856d76dd27190aa2"><span><div id="118b06e103084dcb856d76dd27190aa2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#118b06e103084dcb856d76dd27190aa2" title="📎 参考文章"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📎 参考文章</span></span></h2><ul class="notion-list notion-list-disc notion-block-b7ec1b41dc5546bbab6edd5fab1929f7"><li><a class="notion-link" href="https://www.ctyun.cn/zhishi/p-207296" target="_blank" rel="noopener noreferrer">linux|奇怪的知识---账号安全加固，ssh安全加固-天翼云 (ctyun.cn)</a></li></ul><div class="notion-blank notion-block-a131d541bc59489585f0f971db13c9f0"> </div><div class="notion-callout notion-gray_background_co notion-block-1fef3a1f0c7f45ff9d2e4133eb6dbebe"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">有关Notion安装或者使用上的问题，欢迎您在底部评论区留言，一起交流~</div></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ubuntu终端输出重定向]]></title>
            <link>https://blog.cslzhl.online/article/redirect</link>
            <guid>https://blog.cslzhl.online/article/redirect</guid>
            <pubDate>Sat, 15 Jun 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[终端输出的重定向]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-e541944be4ef40e3adc8ee541aa89c08"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-blank notion-block-ec4f37da827f461ea90971f3d3449d25"> </div><div class="notion-callout notion-gray_background_co notion-block-d452727231d54280abecd05ead9e6bf3"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="😀">😀</span></div><div class="notion-callout-text">终端输出的重定向指令记录</div></div><div class="notion-blank notion-block-956b08353d534d809112c21babde70a3"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-fd21a34f9389435e9a9be85c6fd9e3b6" data-id="fd21a34f9389435e9a9be85c6fd9e3b6"><span><div id="fd21a34f9389435e9a9be85c6fd9e3b6" class="notion-header-anchor"></div><a class="notion-hash-link" href="#fd21a34f9389435e9a9be85c6fd9e3b6" title="📝 标准输出重定向 &gt; 与&gt;&gt;"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝 标准输出重定向 &gt; 与&gt;&gt;</span></span></h2><ul class="notion-list notion-list-disc notion-block-92afd925ac054c2da52aafcd811219bd"><li>&gt;: 将命令的输出重定向到一个文件中，如果文件不存在，则创建该文件；如果文件已存在，则覆盖其中的内容。</li></ul><ul class="notion-list notion-list-disc notion-block-9eb702ffac504502add5b30d78f05855"><li>&gt;&gt;: 将命令的输出追加到一个文件中，如果文件不存在，则创建该文件；如果文件已存在，则在文件末尾添加输出内容。</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-97012143585c4510aaec8f972b1d5128" data-id="97012143585c4510aaec8f972b1d5128"><span><div id="97012143585c4510aaec8f972b1d5128" class="notion-header-anchor"></div><a class="notion-hash-link" href="#97012143585c4510aaec8f972b1d5128" title="🤗 管道与重定向结合"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🤗 管道与重定向结合</span></span></h2></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>