-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
276 lines (237 loc) · 38.2 KB
/
index.html
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
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>h4m5t's Blog - love is good</title><meta name="author" content="h4m5t"><meta name="copyright" content="h4m5t"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="人生得意需尽欢">
<meta property="og:type" content="website">
<meta property="og:title" content="h4m5t's Blog">
<meta property="og:url" content="http://h4m5t.github.io/index.html">
<meta property="og:site_name" content="h4m5t's Blog">
<meta property="og:description" content="人生得意需尽欢">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="http://h4m5t.github.io/img/touxiang.jpg">
<meta property="article:author" content="h4m5t">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://h4m5t.github.io/img/touxiang.jpg"><link rel="shortcut icon" href="/img/icon-H.png"><link rel="canonical" href="http://h4m5t.github.io/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
root: '/',
algolia: undefined,
localSearch: {"path":"/search.xml","preload":false,"languages":{"hits_empty":"找不到您查询的内容:${query}"}},
translate: undefined,
noticeOutdate: undefined,
highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '天',
date_suffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: undefined,
lightbox: 'fancybox',
Snackbar: undefined,
source: {
justifiedGallery: {
js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
}
},
isPhotoFigcaption: false,
islazyload: true,
isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
title: 'h4m5t\'s Blog',
isPost: false,
isHome: true,
isHighlightShrink: false,
isToc: false,
postUpdate: '2023-11-05 11:49:43'
}</script><noscript><style type="text/css">
#nav {
opacity: 1
}
.justified-gallery img {
opacity: 1
}
#recent-posts time,
#post-meta time {
display: inline !important
}
</style></noscript><script>(win=>{
win.saveToLocal = {
set: function setWithExpiry(key, value, ttl) {
if (ttl === 0) return
const now = new Date()
const expiryDay = ttl * 86400000
const item = {
value: value,
expiry: now.getTime() + expiryDay,
}
localStorage.setItem(key, JSON.stringify(item))
},
get: function getWithExpiry(key) {
const itemStr = localStorage.getItem(key)
if (!itemStr) {
return undefined
}
const item = JSON.parse(itemStr)
const now = new Date()
if (now.getTime() > item.expiry) {
localStorage.removeItem(key)
return undefined
}
return item.value
}
}
win.getScript = url => new Promise((resolve, reject) => {
const script = document.createElement('script')
script.src = url
script.async = true
script.onerror = reject
script.onload = script.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
script.onload = script.onreadystatechange = null
resolve()
}
document.head.appendChild(script)
})
win.activateDarkMode = function () {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
}
}
win.activateLightMode = function () {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
}
}
const t = saveToLocal.get('theme')
if (t === 'dark') activateDarkMode()
else if (t === 'light') activateLightMode()
const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
if (asideStatus === 'hide') {
document.documentElement.classList.add('hide-aside')
} else {
document.documentElement.classList.remove('hide-aside')
}
}
const detectApple = () => {
if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
document.documentElement.classList.add('apple')
}
}
detectApple()
})(window)</script><link rel="stylesheet" href="/css/background.css"><meta name="generator" content="Hexo 6.3.0"><link rel="alternate" href="/atom.xml" title="h4m5t's Blog" type="application/atom+xml">
</head><body><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "/img/loading.gif" data-lazy-src="/img/touxiang.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">76</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">30</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">11</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('https://fastly.jsdelivr.net/gh/jerryc127/[email protected]/top_img/index.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">h4m5t's Blog</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">h4m5t's Blog</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/h4m5t" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="https://www.zhihu.com/people/h4m5t" target="_blank" title="Zhihu"><i class="fab fa-zhihu"></i></a><a class="social-icon" href="https://twitter.com/h4m5t" target="_blank" title="Twitter"><i class="fab fa-twitter"></i></a><a class="social-icon" href="https://medium.com/@h4m5t" target="_blank" title="Medium"><i class="fab fa-medium"></i></a><a class="social-icon" href="/atom.xml" target="_blank" title="RSS"><i class="fas fa-rss"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/2023/11/05/wechatGPT/" title="ChatGPT 接入微信实践"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="/2023/11/05/wechatGPT/GPTlogo.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="ChatGPT 接入微信实践"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/11/05/wechatGPT/" title="ChatGPT 接入微信实践">ChatGPT 接入微信实践</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-11-05T03:24:03.000Z" title="发表于 2023-11-05 11:24:03">2023-11-05</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/blog/">blog</a></span></div><div class="content">ChatGPT 接入微信实践安装参考:https://github.com/zhayujie/chatgpt-on-wechat
12345git clone https://github.com/zhayujie/chatgpt-on-wechatcd chatgpt-on-wechat/pip3 install -r requirements.txtpip3 install -r requirements-optional.txt
修改配置文件:
12cp config-template.json config.jsonvim config.json
123456789101112131415161718192021222324252627282930313233343536{ "open_ai_api_key": "sk-", "model": "gpt-3.5-turbo", "channel_type": "wx", "ope ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2023/09/23/xray/" title="xray之以CVE-2023-42442为例POC编写"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="https://fastly.jsdelivr.net/gh/jerryc127/CDN/img/material-2.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="xray之以CVE-2023-42442为例POC编写"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/09/23/xray/" title="xray之以CVE-2023-42442为例POC编写">xray之以CVE-2023-42442为例POC编写</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-09-23T09:43:58.000Z" title="发表于 2023-09-23 17:43:58">2023-09-23</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%BC%8F%E6%B4%9E/">漏洞</a></span></div><div class="content">xray下载社区版下载和使用
注意下载新版的,旧版可能无法加载自定义POC
https://github.com/chaitin/xray/releases
使用方法查看help
xray_windows_amd64.exe webscan --help
1234567891011121314151617181920212223242526272829Version: 1.9.11/eb0c331d/COMMUNITYNAME: xray - A powerful scanner engine [https://docs.xray.cool]USAGE: [global options] command [command options] [arguments...]COMMANDS: webscan, ws Run a webscan task servicescan, ss Run a service scan task subdomain, sd Run a subdomain task poclint, pl, lint ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/06/23/waf/" title="WAF"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="/2023/06/23/waf/waf.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="WAF"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/06/23/waf/" title="WAF">WAF</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-06-23T03:25:00.000Z" title="发表于 2023-06-23 11:25:00">2023-06-23</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%AE%89%E5%85%A8/">安全</a></span></div><div class="content">WAF概念介绍WAF概念WAF的产品形态WAF部署模式开源WAF</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2023/06/07/firefox-and-bat/" title="Firefox安装证书的几种方式"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="https://blog.mozilla.org/opendesign/files/2019/06/FX_Design_Blog_Header_1400x770.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Firefox安装证书的几种方式"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/06/07/firefox-and-bat/" title="Firefox安装证书的几种方式">Firefox安装证书的几种方式</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-06-07T12:55:44.000Z" title="发表于 2023-06-07 20:55:44">2023-06-07</time></span></div><div class="content">Firefox安装证书的几种方式Firefox安装证书的几种方式。
关于bat脚本bat脚本中的变量类型12345678910111213141516171819202122@echo offset regPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersionset regKey=ProgramFilesDirset regValue= set Value1="ww"reg query %regPath% >nul 2>nulif %errorlevel%==0 ( echo Registry key %regPath% exists. for /f "tokens=2*" %%a in ('reg query %regPath% /v %regKey% ^| findstr /i %regKey%') do ( if "%regValue%"=="" ( ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/05/20/SOC%E5%92%8CSIEM%E5%BB%BA%E8%AE%BE/" title="SOC和SIEM建设"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="/2023/05/20/SOC%E5%92%8CSIEM%E5%BB%BA%E8%AE%BE/1.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="SOC和SIEM建设"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/05/20/SOC%E5%92%8CSIEM%E5%BB%BA%E8%AE%BE/" title="SOC和SIEM建设">SOC和SIEM建设</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-05-20T12:38:47.000Z" title="发表于 2023-05-20 20:38:47">2023-05-20</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%AE%89%E5%85%A8/">安全</a></span></div><div class="content">SOC和SIEM建设待更。
引用图片方法1
引用图片方法2:
设置封面图片的几种方式:
直接引用同名文件夹
引用/img下的图片
加入超链接
</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2023/01/01/2023%E5%B9%B4%E5%B1%95%E6%9C%9B/" title="2023年展望"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="https://dg.static.pil0txia.com/gallery/kimi_no_na_wa/S00125-12345511.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="2023年展望"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/01/01/2023%E5%B9%B4%E5%B1%95%E6%9C%9B/" title="2023年展望">2023年展望</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-01-01T14:46:01.000Z" title="发表于 2023-01-01 22:46:01">2023-01-01</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%84%9F%E6%82%9F/">感悟</a></span></div><div class="content">2022年总结整个2022年过的比较压抑,无休止的封控,每天一次不停的核酸,最多的时候一天三次。直到12月突然放开,侥幸成为部门倒数第二个阳🐏的人,也算跑进了决赛圈。今天身体快恢复了,总体感觉就是中等感冒,并无大碍。
基地提供了很好的环境,享受了最好的图书馆,静下心来度过了大半年时光。22年的考研以失败告终(准确来讲,是21年考的),该做的准备都做了,奈何实力不够,差十几分未过线。身边很多朋友二战的,我也很遗憾,但不得不向前走了。
回到学校,大四下,便开始准备面试。最多的时候一天四轮面试,面的麻木了。到三月底,拿了七八个offer,选了个还算可以的就匆匆结束了。
然后又进入一段极其压抑痛苦的时光,选了一个比较前沿的密码学课题,原理难懂,实验更难,指导老师的压迫感比童年最大的阴影-钢琴老师来的还强。还好有热心学长帮忙指导,最后也顺利毕业了。
离开学校已有半年时间,没有太多留恋,或许再回去已是很多年之后了吧。
在家乡,度过了美好的暑期,那是人生少有的一段最轻松的时光。前一次是高考之后,后一次大概是退休吧。
7月底独自一人南下深圳,正式成为一名打工人。
打工半年,2022结束。
2023年 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2022/12/31/hello-hexo/" title="Hello hexo"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="/img/1.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hello hexo"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/12/31/hello-hexo/" title="Hello hexo">Hello hexo</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-30T16:00:00.000Z" title="发表于 2022-12-31 00:00:00">2022-12-31</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/blog/">blog</a></span></div><div class="content">Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Clean1$ hexo clean
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment
</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2022/12/26/burpsuite/" title="Mac下 安装BurpsuiteProfession"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="https://isorepublic.com/wp-content/uploads/2023/04/iso-republic-ocean-female-surfer-1100x733.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Mac下 安装BurpsuiteProfession"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/12/26/burpsuite/" title="Mac下 安装BurpsuiteProfession">Mac下 安装BurpsuiteProfession</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-26T13:22:14.000Z" title="发表于 2022-12-26 21:22:14">2022-12-26</time></span></div><div class="content">Mac下安装BP Profession背景之前用的注册机现在不能使用了,需要换新的。
原来:https://github.com/TrojanAZhen/BurpSuitePro-2.1
现用:https://github.com/h3110w0r1d-y/BurpLoaderKeygen
安装先到官网下载安装。
https://portswigger.net/burp/releases
按往常一样,将jar包放到Burpsuite app同级目录下,
运行:
1cd /Applications/Burp\ Suite\ Professional.app/Contents/Resources/app && "/Applications/Burp Suite Professional.app/Contents/Resources/jre.bundle/Contents/Home/bin/java" "--add-opens=java.desktop/javax.swing=ALL-UNNAMED" "--add-open ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2022/12/04/%E5%8D%9A%E5%AE%A2%E8%BF%81%E7%A7%BB/" title="博客迁移"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="https://cdn.staticaly.com/gh/Trrrrw/image-hosting@master/images/Loading-1.gif" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="博客迁移"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/12/04/%E5%8D%9A%E5%AE%A2%E8%BF%81%E7%A7%BB/" title="博客迁移">博客迁移</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-04T14:23:50.000Z" title="发表于 2022-12-04 22:23:50">2022-12-04</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/blog/">blog</a></span></div><div class="content">
为什么迁移博客之前的博客用了快三年,有一些小问题,另外发现有些图片失效了,甚至给我换了广告,不能忍。
而且速度很慢,准备换个框架,整体迁移一下。
以前用的是Jekyll,一个小众主题,很简洁,有语言翻译功能,手机端做的也不错。但是可扩展性差,用的人少,功能不完善。
需求当前需求:
支持RSS
支持外链,GitHub,知乎等
支持查看运行时间,访问总次数。
支持归档,时间倒序排列。
支持转发到微信,qq,Twitter
相关文章推荐
写公告
长远需求:
评论
弹出聊天框
插入广告
支持打赏
寻找框架主题主流静态框架有三种:
Tab1Tab2Tab3HexoHugoJekyll
最终决定用hexo
框架:https://github.com/hexojs/hexo
主题:butterfly
此框架国内用的多,有问题方便查找,主题功能完善,看了别人的demo,特别惊艳。
可以满足我需要的所有需求。
缺点是不方便多端编辑,需要在本地生成之后上传所有文件。不像之前的Jekyll,只上传一个md文件就够了。
迁移进度
框架迁移
post迁移
调整格式为hexo格 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2022/12/01/%E5%9B%BE%E7%89%87%E6%B5%8B%E8%AF%95/" title="图片测试"><img class="post_bg" src= "/img/loading.gif" data-lazy-src="https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-COVER.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="图片测试"></a></div><div class="recent-post-info"><a class="article-title" href="/2022/12/01/%E5%9B%BE%E7%89%87%E6%B5%8B%E8%AF%95/" title="图片测试">图片测试</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-01T14:12:21.000Z" title="发表于 2022-12-01 22:12:21">2022-12-01</time></span></div><div class="content">ss
加入图片测试:
touxiang:
</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/#content-inner">2</a><span class="space">…</span><a class="page-number" href="/page/8/#content-inner">8</a><a class="extend next" rel="next" href="/page/2/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "/img/loading.gif" data-lazy-src="/img/touxiang.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">h4m5t</div><div class="author-info__description">人生得意需尽欢</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">76</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">30</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">11</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/h4m5t"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/h4m5t" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="https://www.zhihu.com/people/h4m5t" target="_blank" title="Zhihu"><i class="fab fa-zhihu"></i></a><a class="social-icon" href="https://twitter.com/h4m5t" target="_blank" title="Twitter"><i class="fab fa-twitter"></i></a><a class="social-icon" href="https://medium.com/@h4m5t" target="_blank" title="Medium"><i class="fab fa-medium"></i></a><a class="social-icon" href="/atom.xml" target="_blank" title="RSS"><i class="fas fa-rss"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">Welcome! <br> 我的微信:DAaron666<br> 安全技术交流群753267126 <br> 网安考研交流群244768497 <br></div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/11/05/wechatGPT/" title="ChatGPT 接入微信实践">ChatGPT 接入微信实践</a><time datetime="2023-11-05T03:24:03.000Z" title="发表于 2023-11-05 11:24:03">2023-11-05</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/09/23/xray/" title="xray之以CVE-2023-42442为例POC编写">xray之以CVE-2023-42442为例POC编写</a><time datetime="2023-09-23T09:43:58.000Z" title="发表于 2023-09-23 17:43:58">2023-09-23</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/06/23/waf/" title="WAF">WAF</a><time datetime="2023-06-23T03:25:00.000Z" title="发表于 2023-06-23 11:25:00">2023-06-23</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/06/07/firefox-and-bat/" title="Firefox安装证书的几种方式">Firefox安装证书的几种方式</a><time datetime="2023-06-07T12:55:44.000Z" title="发表于 2023-06-07 20:55:44">2023-06-07</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/05/20/SOC%E5%92%8CSIEM%E5%BB%BA%E8%AE%BE/" title="SOC和SIEM建设">SOC和SIEM建设</a><time datetime="2023-05-20T12:38:47.000Z" title="发表于 2023-05-20 20:38:47">2023-05-20</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
<i class="fas fa-folder-open"></i>
<span>分类</span>
<a class="card-more-btn" href="/categories/" title="查看更多">
<i class="fas fa-angle-right"></i></a>
</div>
<ul class="card-category-list" id="aside-cat-list">
<li class="card-category-list-item "><a class="card-category-list-link" href="/categories/CTF/"><span class="card-category-list-name">CTF</span><span class="card-category-list-count">4</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/blog/"><span class="card-category-list-name">blog</span><span class="card-category-list-count">20</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/web/"><span class="card-category-list-name">web</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%89%8D%E7%AB%AF/"><span class="card-category-list-name">前端</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%AE%89%E5%85%A8/"><span class="card-category-list-name">安全</span><span class="card-category-list-count">14</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%AF%86%E7%A0%81%E5%AD%A6/"><span class="card-category-list-name">密码学</span><span class="card-category-list-count">4</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%84%9F%E6%82%9F/"><span class="card-category-list-name">感悟</span><span class="card-category-list-count">4</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%B8%97%E9%80%8F/"><span class="card-category-list-name">渗透</span><span class="card-category-list-count">11</span></a></li>
</ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/Desktop/" style="font-size: 1.2em; color: rgb(78, 79, 105)">Desktop</a><a href="/tags/Git/" style="font-size: 1.15em; color: rgb(162, 84, 133)">Git</a><a href="/tags/GitHub/" style="font-size: 1.15em; color: rgb(75, 9, 139)">GitHub</a><a href="/tags/Win10/" style="font-size: 1.2em; color: rgb(108, 31, 45)">Win10</a><a href="/tags/Chrome/" style="font-size: 1.15em; color: rgb(85, 17, 4)">Chrome</a><a href="/tags/hack/" style="font-size: 1.2em; color: rgb(198, 172, 134)">hack</a><a href="/tags/%E4%BA%91%E8%AE%A1%E7%AE%97/" style="font-size: 1.15em; color: rgb(55, 96, 108)">云计算</a><a href="/tags/%E5%A4%A7%E6%95%B0%E6%8D%AE/" style="font-size: 1.15em; color: rgb(151, 180, 99)">大数据</a><a href="/tags/%E4%BA%91%E5%AE%89%E5%85%A8/" style="font-size: 1.15em; color: rgb(177, 185, 112)">云安全</a><a href="/tags/%E4%BF%A1%E6%81%AF%E5%AE%89%E5%85%A8/" style="font-size: 1.15em; color: rgb(25, 59, 43)">信息安全</a><a href="/tags/CTF/" style="font-size: 1.25em; color: rgb(73, 51, 121)">CTF</a><a href="/tags/web/" style="font-size: 1.45em; color: rgb(179, 33, 153)">web</a><a href="/tags/%E5%89%8D%E7%AB%AF/" style="font-size: 1.25em; color: rgb(111, 173, 173)">前端</a><a href="/tags/linux/" style="font-size: 1.15em; color: rgb(161, 144, 84)">linux</a><a href="/tags/%E5%AE%89%E5%85%A8/" style="font-size: 1.4em; color: rgb(199, 103, 177)">安全</a><a href="/tags/%E6%BC%8F%E6%B4%9E/" style="font-size: 1.3em; color: rgb(124, 102, 156)">漏洞</a><a href="/tags/%E6%B8%97%E9%80%8F/" style="font-size: 1.35em; color: rgb(74, 49, 71)">渗透</a><a href="/tags/python/" style="font-size: 1.15em; color: rgb(47, 169, 118)">python</a><a href="/tags/%E7%AE%97%E6%B3%95/" style="font-size: 1.2em; color: rgb(26, 26, 22)">算法</a><a href="/tags/Other/" style="font-size: 1.15em; color: rgb(126, 93, 33)">Other</a><a href="/tags/leetcode/" style="font-size: 1.15em; color: rgb(2, 100, 133)">leetcode</a><a href="/tags/%E9%9D%A2%E8%AF%95/" style="font-size: 1.35em; color: rgb(184, 162, 131)">面试</a><a href="/tags/%E6%95%B0%E8%AE%BA/" style="font-size: 1.15em; color: rgb(169, 83, 70)">数论</a><a href="/tags/%E5%AF%86%E7%A0%81%E5%AD%A6/" style="font-size: 1.2em; color: rgb(175, 127, 133)">密码学</a><a href="/tags/blog/" style="font-size: 1.25em; color: rgb(149, 174, 188)">blog</a><a href="/tags/Github/" style="font-size: 1.15em; color: rgb(156, 177, 5)">Github</a><a href="/tags/WAF/" style="font-size: 1.15em; color: rgb(178, 134, 153)">WAF</a><a href="/tags/SIEM/" style="font-size: 1.15em; color: rgb(14, 38, 99)">SIEM</a><a href="/tags/SOC/" style="font-size: 1.15em; color: rgb(198, 13, 127)">SOC</a><a href="/tags/ChatGPT/" style="font-size: 1.15em; color: rgb(187, 18, 147)">ChatGPT</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span><a class="card-more-btn" href="/archives/" title="查看更多">
<i class="fas fa-angle-right"></i></a></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/11/"><span class="card-archive-list-date">2023年11月</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/09/"><span class="card-archive-list-date">2023年09月</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/06/"><span class="card-archive-list-date">2023年06月</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/05/"><span class="card-archive-list-date">2023年05月</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/01/"><span class="card-archive-list-date">2023年01月</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/12/"><span class="card-archive-list-date">2022年12月</span><span class="card-archive-list-count">4</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/08/"><span class="card-archive-list-date">2022年08月</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/03/"><span class="card-archive-list-date">2022年03月</span><span class="card-archive-list-count">1</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">76</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2022-11-28T16:00:00.000Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">64.4k</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2023-11-05T03:49:43.269Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://fastly.jsdelivr.net/gh/jerryc127/[email protected]/top_img/index.jpg')"><div id="footer-wrap"><div class="copyright">©2020 - 2023 By h4m5t</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span> 数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script>function subtitleType () {
if (true) {
window.typed = new Typed("#subtitle", {
strings: ["人生得意须尽欢,莫使金樽空对月。","醉后不知天在水,满船清梦压星河。"],
startDelay: 300,
typeSpeed: 150,
loop: true,
backSpeed: 50
})
} else {
document.getElementById("subtitle").innerHTML = '人生得意须尽欢,莫使金樽空对月。'
}
}
if (true) {
if (typeof Typed === 'function') {
subtitleType()
} else {
getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
}
} else {
subtitleType()
}</script></div><script id="canvas_nest" defer="defer" color="0,0,255" opacity="0.7" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script><script id="click-heart" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/click-heart.min.js" async="async" mobile="false"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>