-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1449 lines (933 loc) · 56.9 KB
/
Copy pathindex.html
File metadata and controls
1449 lines (933 loc) · 56.9 KB
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
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="Hexo Theme Redefine">
<meta name="author" content="HackC0der">
<!-- Completely eliminate flash of wrong theme -->
<script>
(function() {
const THEME_KEY = "REDEFINE-THEME-STATUS";
const DARK = "dark", LIGHT = "light";
// Get preferred theme
function getTheme() {
try {
const saved = localStorage.getItem(THEME_KEY);
if (saved) {
const { isDark } = JSON.parse(saved);
return isDark ? DARK : LIGHT;
}
} catch (e) {}
return matchMedia("(prefers-color-scheme: dark)").matches ? DARK : LIGHT;
}
// Apply theme to document
function applyTheme(theme) {
const isDark = theme === DARK;
const root = document.documentElement;
// Set classes for compatibility
root.classList.add(theme);
root.classList.remove(isDark ? LIGHT : DARK);
root.style.colorScheme = theme;
}
// Initial application
const theme = getTheme();
applyTheme(theme);
// Listen for system preference changes
matchMedia("(prefers-color-scheme: dark)").addEventListener("change", ({ matches }) => {
// Only update if using system preference (no localStorage entry)
if (!localStorage.getItem(THEME_KEY)) {
applyTheme(matches ? DARK : LIGHT);
}
});
// Set body classes ASAP (before DOMContentLoaded)
(function() {
const addBodyClass = () => {
const b = document.body;
if (!b) return false;
b.classList.add(theme + "-mode");
return true;
};
// Try immediately
if (addBodyClass()) return;
// Observe until body exists
const mo = new MutationObserver(() => {
if (addBodyClass()) mo.disconnect();
});
mo.observe(document.documentElement, { childList: true, subtree: true });
})();
})();
</script>
<!-- preconnect -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!--- Seo Part-->
<link rel="canonical" href="https://HackC0der.github.io/"/>
<meta name="robots" content="index,follow">
<meta name="googlebot" content="index,follow">
<meta name="revisit-after" content="1 days">
<meta name="description" content="Hexo Theme Redefine, Redefine Your Hexo Journey.">
<meta property="og:type" content="website">
<meta property="og:title" content="Hexo">
<meta property="og:url" content="https://hackc0der.github.io/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="Hexo Theme Redefine, Redefine Your Hexo Journey.">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://hackc0der.github.io/images/redefine-og.webp">
<meta property="article:author" content="John Doe">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://hackc0der.github.io/images/redefine-og.webp">
<!--- Icon Part-->
<link rel="icon" type="image/png" href="/images/%E6%A9%98%E7%8C%AB.ico" sizes="192x192">
<link rel="apple-touch-icon" sizes="180x180" href="/images/%E6%A9%98%E7%8C%AB.ico">
<meta name="theme-color" content="#A31F34">
<link rel="shortcut icon" href="/images/%E6%A9%98%E7%8C%AB.ico">
<!--- Page Info-->
<title>
HackC0der's Blog - 人间自留地
</title>
<link rel="stylesheet" href="/fonts/Chillax/chillax.css">
<!--- Inject Part-->
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/build/tailwind.css">
<link rel="stylesheet" href="/fonts/GeistMono/geist-mono.css">
<link rel="stylesheet" href="/fonts/Geist/geist.css">
<!--- Font Part-->
<link href="" rel="stylesheet">
<script src="/js/build/libs/anime.min.js"></script>
<script id="hexo-configurations">
window.config = {"hostname":"hackc0der.github.io","root":"/","language":"zh-CN","path":"search.json"};
window.theme = {"articles":{"style":{"font_size":"16px","line_height":1.5,"image_border_radius":"14px","image_alignment":"center","image_caption":false,"link_icon":true,"delete_mask":true,"title_alignment":"left","headings_top_spacing":{"h1":"2.6rem","h2":"2.2rem","h3":"1.9rem","h4":"1.6rem","h5":"1.4rem","h6":"1.3rem"}},"word_count":{"enable":true,"count":true,"min2read":true},"author_label":{"enable":true,"auto":true,"list":[]},"code_block":{"copy":true,"style":"mac","highlight_theme":{"light":"github","dark":"vs2015"},"font":{"enable":false,"family":null,"url":null}},"toc":{"enable":true,"max_depth":3,"number":false,"expand":true,"init_open":true},"copyright":{"enable":true,"default":"cc_by_nc_sa"},"lazyload":true,"pangu_js":false,"recommendation":{"enable":false,"title":"推荐阅读","limit":3,"mobile_limit":2,"placeholder":"/images/wallhaven-wqery6-light.webp","skip_dirs":[]}},"colors":{"primary":"#A31F34","secondary":null,"default_mode":"light"},"global":{"fonts":{"chinese":{"enable":true,"family":null,"url":null},"english":{"enable":false,"family":null,"url":null},"title":{"enable":false,"family":null,"url":null}},"content_max_width":"1300px","sidebar_width":"400px","hover":{"shadow":true,"scale":true},"scroll_progress":{"bar":true,"percentage":true},"website_counter":{"url":"https://cn.vercount.one/js","enable":true,"site_pv":true,"site_uv":true,"post_pv":true},"single_page":true,"preloader":{"enable":true,"custom_message":null},"side_tools":{"gear_rotation":true,"auto_expand":true},"open_graph":{"enable":true,"image":"/images/redefine-og.webp","description":"Hexo Theme Redefine, Redefine Your Hexo Journey."},"google_analytics":{"enable":false,"id":null}},"home_banner":{"enable":true,"style":"fixed","image":{"light":"/images/wallhaven-wqery6-light.webp","dark":"/images/wallhaven-wqery6-dark.webp"},"title":"What you have done does make who you are...","subtitle":{"text":["明月几时有,把酒问青天","不知天上宫阙,今夕是何年?","我欲乘风归去,又恐琼楼玉宇,高处不胜寒。","起舞弄清影,何似在人间!","转朱阁,低绮户,照无眠。","不应有恨,何事长向别时圆?","人有悲欢离合,月有阴晴圆缺,此事古难全。","但愿人长久,千里共婵娟。","我步入丛林,因为我希望活得有意义…","我希望活得深刻,汲取生命所有的精髓!","把非生命的一切全都击溃…","以免在我生命终结时,发现自己从来没有活过…"],"hitokoto":{"enable":false,"show_author":false,"api":"https://v1.hitokoto.cn"},"typing_speed":100,"backing_speed":80,"starting_delay":500,"backing_delay":1500,"loop":true,"smart_backspace":true},"text_color":{"light":"#fff","dark":"#d1d1b6"},"text_style":{"title_size":"2.8rem","subtitle_size":"1.5rem","line_height":1.2},"custom_font":{"enable":false,"family":null,"url":null},"social_links":{"enable":true,"style":"default","links":[{"icon":"fa-brands fa-github","url":"https://github.com/HackC0der"}],"qrs":[]}},"plugins":{"feed":{"enable":false},"aplayer":{"enable":false,"type":"fixed","audios":[{"name":null,"artist":null,"url":null,"cover":null,"lrc":null}]},"mermaid":{"enable":false,"version":"11.4.1","theme":{"light":"default","dark":"dark"}}},"version":"2.9.0","navbar":{"auto_hide":false,"color":{"left":"#f78736","right":"#367df7","transparency":35},"width":{"home":"1200px","pages":"1000px"},"links":{"Home":{"path":"/","icon":"fa-regular fa-house"},"CSDN":{"path":"https://blog.csdn.net/Mr_Fmnwon?type=blog","icon":"fa-sharp fa-solid fa-browser"}},"search":{"enable":false,"preload":true}},"page_templates":{"friends_column":2,"tags_style":"blur","masonry":{"batch_size":12,"initial_batch_size":24}},"home":{"sidebar":{"enable":true,"position":"left","first_item":"menu","announcement":null,"show_on_mobile":true,"links":null},"article_date_format":"auto","excerpt_length":200,"categories":{"enable":true,"limit":3},"tags":{"enable":true,"limit":3}},"footer":{"runtime":true,"icon":"<i class=\"fa-solid fa-heart fa-beat\" style=\"--fa-animation-duration: 0.5s; color: #f54545\"></i>","start":"2025/11/27 23:36:22","statistics":true,"customize":null,"icp":{"enable":false,"number":null,"url":null}},"footerStart":"2025/11/27 23:36:22","mermaid":{"style":{"light":"default","dark":"dark"}}};
window.lang_ago = {"second":"%s 秒前","minute":"%s 分钟前","hour":"%s 小时前","day":"%s 天前","week":"%s 周前","month":"%s 个月前","year":"%s 年前"};
window.i18n = {"search":"站内搜索您需要的内容...","toc":"目录","prev":"上一页","next":"下一页","prev_posts":"上一篇","next_posts":"下一篇","page":"第 %d 页","recent_posts":"最新文章","share":"分享","powered_by":"由 %s 驱动","theme":"主题","rss_feed":"RSS Feed","category":"分类","categories":"分类","tag":"标签","tags":"标签","post":"文章","posts":"文章","tagcloud":"标签云","comment":"评论","comments":"评论","top":"置顶","sticky":"置顶","go-back-home":"回到首页","masonry_loading":"照片加载中...","image_viewer":"图片查看器","close":"关闭","exif":{"title":"EXIF","cards":{"camera":"相机","lens":"镜头","exposure":"曝光","other":"其他"},"fields":{"make":"品牌","model":"机型","date_taken":"拍摄时间","lens_model":"镜头","focal_length":"焦距","focus_mode":"对焦模式","shutter":"快门","aperture":"光圈","iso":"感光度","exposure_program":"曝光程序","exposure_compensation":"曝光补偿","metering_mode":"测光模式","flash":"闪光灯","white_balance":"白平衡","latitude":"纬度","longitude":"经度","altitude":"海拔"},"status":{"loading":"加载中...","no_exif":"无 EXIF 信息","library_missing":"EXIF 库未加载","image_source_missing":"图片地址不可用","unavailable":"EXIF 不可用(可能被 CORS 阻止或缺少元数据)","flag_unavailable":"EXIF 不可用"}},"home":"首页","archive":"归档","archives":"归档","about":"关于","links":"链接","link":"链接","friends":"友情链接","friend":"友情链接","timeline":"时间轴","shuoshuo":"说说","bookmarks":"书签","site_uv":"访问人数","site_pv":"总访问量","read_more":"阅读全文","wordcount":"字","min2read":"分钟","changelog":"更新日志","status":"状态","runtime":"博客已运行","days":"天","hours":"小时","minutes":"分钟","seconds":"秒","optimized_by":"并由 Evan 进行优化","rights":"版权所有","site_posts":"共撰写了 %s 篇文章","site_wordcount":"共 %s 字","copyright":{"title":"标题","author":"作者","link":"链接","create_time":"创建于","update_time":"更新于","license_title":"版权声明","license_content":"本文章采用 %s 进行许可。","all_rights_reserved":"版权所有 © %s,禁止转载。","public_domain":"本文为公有领域作品,可自由转载、引用。"},"ago":{"second":"%s 秒前","minute":"%s 分钟前","hour":"%s 小时前","day":"%s 天前","week":"%s 周前","month":"%s 个月前","year":"%s 年前"},"create_time":"创建","update_time":"更新","expired":"这篇文章最后更新于 %s 天前,内容可能已经过时。"};
window.data = {"masonry":false};
</script>
<!--- Fontawesome Part-->
<link rel="stylesheet" href="/fontawesome/fontawesome.min.css">
<link rel="stylesheet" href="/fontawesome/brands.min.css">
<link rel="stylesheet" href="/fontawesome/solid.min.css">
<link rel="stylesheet" href="/fontawesome/regular.min.css">
<meta name="generator" content="Hexo 8.1.1"></head>
<body>
<div class="progress-bar-container">
<span class="scroll-progress-bar"></span>
<span class="pjax-progress-bar"></span>
<!-- <span class="swup-progress-icon">-->
<!-- <i class="fa-solid fa-circle-notch fa-spin"></i>-->
<!-- </span>-->
</div>
<style>
:root {
--preloader-background-color: #fff;
--preloader-text-color: #000;
}
@media (prefers-color-scheme: dark) {
:root {
--preloader-background-color: #202124;
--preloader-text-color: #fff;
}
}
@media (prefers-color-scheme: light) {
:root {
--preloader-background-color: #fff;
--preloader-text-color: #000;
}
}
@media (max-width: 600px) {
.ml13 {
font-size: 2.6rem !important; /* Adjust this value as needed */
}
}
.preloader {
display: flex;
flex-direction: column;
gap: 1rem; /* Tailwind 'gap-4' is 1rem */
align-items: center;
justify-content: center;
position: fixed;
padding: 12px;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100vw;
height: 100vh; /* 'h-screen' is 100% of the viewport height */
background-color: var(--preloader-background-color);
z-index: 1100; /* 'z-[1100]' sets the z-index */
transition: opacity 0.2s ease-in-out;
}
.ml13 {
font-size: 3.2rem;
/* text-transform: uppercase; */
color: var(--preloader-text-color);
letter-spacing: -1px;
font-weight: 500;
font-family: 'Chillax-Variable', sans-serif;
text-align: center;
}
.ml13 .word {
display: inline-flex;
flex-wrap: wrap;
white-space: nowrap;
}
.ml13 .letter {
display: inline-block;
line-height: 1em;
}
</style>
<div class="preloader">
<h2 class="ml13">
HackC0der's Blog
</h2>
<script>
var textWrapper = document.querySelector('.ml13');
// Split text into words
var words = textWrapper.textContent.trim().split(' ');
// Clear the existing content
textWrapper.innerHTML = '';
// Wrap each word and its letters in spans
words.forEach(function(word) {
var wordSpan = document.createElement('span');
wordSpan.classList.add('word');
wordSpan.innerHTML = word.replace(/\S/g, "<span class='letter'>$&</span>");
textWrapper.appendChild(wordSpan);
textWrapper.appendChild(document.createTextNode(' ')); // Add space between words
});
var animation = anime.timeline({ loop: true })
.add({
targets: '.ml13 .letter',
translateY: [20, 0],
translateZ: 0,
opacity: [0, 1],
filter: ['blur(5px)', 'blur(0px)'],
easing: "easeOutExpo",
duration: 1200,
delay: (el, i) => 300 + 20 * i,
})
.add({
targets: '.ml13 .letter',
translateY: [0, -20],
opacity: [1, 0],
filter: ['blur(0px)', 'blur(5px)'],
easing: "easeInExpo",
duration: 1000,
delay: (el, i) => 15 * i,
complete: function() {
hidePreloader();
}
}, '-=700');
let themeStatus = JSON.parse(localStorage.getItem('REDEFINE-THEME-STATUS'))?.isDark;
// If the theme status is not found in local storage, check the preferred color scheme
if (themeStatus === undefined || themeStatus === null) {
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
themeStatus = 'dark';
} else {
themeStatus = 'light';
}
}
// Now you can use the themeStatus variable in your code
if (themeStatus) {
document.documentElement.style.setProperty('--preloader-background-color', '#202124');
document.documentElement.style.setProperty('--preloader-text-color', '#fff');
} else {
document.documentElement.style.setProperty('--preloader-background-color', '#fff');
document.documentElement.style.setProperty('--preloader-text-color', '#000');
}
window.addEventListener('load', function () {
setTimeout(hidePreloader, 5000); // Call hidePreloader after 5000 milliseconds if not already called by animation
});
function hidePreloader() {
var preloader = document.querySelector('.preloader');
preloader.style.opacity = '0';
setTimeout(function () {
preloader.style.display = 'none';
}, 200);
}
</script>
</div>
<main class="page-container" id="swup">
<style>
.home-banner-container {
background: none !important;
}
.home-article-item,
.sidebar-links,
.sidebar-content,
a.page-number,
a.extend,
.sidebar-links .links:hover,
.right-bottom-tools,
footer.footer {
background-color: var(--background-color-transparent-80) !important;
}
.right-bottom-tools:hover,
a.page-number:hover,
a.extend:hover {
background-color: var(--primary-color) !important;
}
.site-info,
.home-article-sticky-label {
background-color: var(--background-color-transparent-15) !important;
}
.home-article-sticky-label {
backdrop-filter: none !important;
}
</style>
<div class="home-banner-background transition-fade fixed top-0 left-0 w-screen h-screen scale-125 sm:scale-110 box-border will-change-transform bg-cover">
<img src="/images/wallhaven-wqery6-light.webp" alt="home-banner-background" class="w-full h-full object-cover dark:hidden">
<img src="/images/wallhaven-wqery6-dark.webp" alt="home-banner-background" class="w-full h-full object-cover hidden dark:block">
</div>
<div class="home-banner-container flex justify-center items-center transition-fade relative">
<div class="content mt-8 flex flex-col justify-center items-center transition-fade-down">
<div class="description flex flex-col justify-center items-center w-screen font-medium text-center"
>
What you have done does make who you are...
<p><i id="subtitle"></i></p>
</div>
<div class="absolute bottom-0.5 flex flex-row justify-between max-w-[1340px] items-center w-full px-8 sm:px-12">
<div class="flex p-3 bg-gray-300/50 dark:bg-gray-500/40 backdrop-blur-lg border border-white/20 dark:border-gray-500/30 group rounded-full cursor-pointer flex justify-center items-center aspect-square h-full shadow-redefine-flat hover:shadow-redefine-flat-hover transition-shadow" onclick="scrollToMain()" >
<i class="fa-solid fa-arrow-down fa-fw fa-lg group-hover:translate-y-1 transition-transform"></i>
</div>
<div class="social-contacts px-6 py-3 bg-gray-300/50 dark:bg-gray-500/40 backdrop-blur-lg border border-white/20 dark:border-gray-500/30 shadow-redefine-flat rounded-full flex flex-row gap-3 items-center">
<span class="social-contact-item">
<a target="_blank" href="https://github.com/HackC0der">
<i class="fa-brands fa-github fa-fw fa-lg"></i>
</a>
</span>
</div>
</div>
</div>
<style>
/* Mobile-specific QR code styles */
.qr-toggle-item.qr-active .qr-popup {
visibility: visible !important;
opacity: 1 !important;
transform: translateY(0) !important;
}
/* Prevent button from staying in focus/hover state on mobile */
@media (hover: none) and (pointer: coarse) {
.qr-toggle-item:focus,
.qr-toggle-item:hover {
background-color: transparent;
}
.qr-toggle-item .qr-trigger:focus,
.qr-toggle-item .qr-trigger:hover {
background-color: transparent;
color: inherit;
}
/* Only show active state when explicitly toggled */
.qr-popup {
visibility: hidden !important;
opacity: 0 !important;
}
}
</style>
</div>
<div class="main-content-container flex flex-col justify-between min-h-dvh">
<div class="main-content-header">
<header class="navbar-container px-6 md:px-12">
<div class="navbar-content transition-navbar has-home-banner">
<div class="left">
<a class="logo-title" href="/">
<h1>
HackC0der's Blog
</h1>
</a>
</div>
<div class="right">
<!-- PC -->
<div class="desktop">
<ul class="navbar-list">
<li class="navbar-item">
<!-- Menu -->
<a class="active"
href="/"
>
<i class="fa-regular fa-house fa-fw"></i>
首页
</a>
<!-- Submenu -->
</li>
<li class="navbar-item">
<!-- Menu -->
<a class=""
target="_blank" rel="noopener" href="https://blog.csdn.net/Mr_Fmnwon?type=blog"
>
<i class="fa-sharp fa-solid fa-browser fa-fw"></i>
CSDN
</a>
<!-- Submenu -->
</li>
</ul>
</div>
<!-- Mobile -->
<div class="mobile">
<div class="icon-item navbar-bar">
<div class="navbar-bar-middle"></div>
</div>
</div>
</div>
</div>
<!-- Mobile sheet -->
<div class="navbar-drawer h-dvh w-full absolute top-0 left-0 bg-background-color flex flex-col justify-between">
<ul class="drawer-navbar-list flex flex-col px-4 justify-center items-start">
<li class="drawer-navbar-item text-base my-1.5 flex flex-col w-full">
<a class="py-1.5 px-2 flex flex-row items-center justify-between gap-1 hover:!text-primary active:!text-primary text-2xl font-semibold group border-b border-border-color hover:border-primary w-full active"
href="/"
>
<span>
首页
</span>
<i class="fa-regular fa-house fa-sm fa-fw"></i>
</a>
</li>
<li class="drawer-navbar-item text-base my-1.5 flex flex-col w-full">
<a class="py-1.5 px-2 flex flex-row items-center justify-between gap-1 hover:!text-primary active:!text-primary text-2xl font-semibold group border-b border-border-color hover:border-primary w-full "
target="_blank" rel="noopener" href="https://blog.csdn.net/Mr_Fmnwon?type=blog"
>
<span>
CSDN
</span>
<i class="fa-sharp fa-solid fa-browser fa-sm fa-fw"></i>
</a>
</li>
</ul>
<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">9</div>
<div class="label text-third-text-color text-sm">标签</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">0</div>
<div class="label text-third-text-color text-sm">分类</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">24</div>
<div class="label text-third-text-color text-sm">文章</div>
</a>
</div>
</div>
<div class="window-mask"></div>
</header>
</div>
<div class="main-content-body transition-fade-up">
<div class="home-sidebar-container">
<div class="sticky-container sticky">
<div class="sidebar-content" >
<div class="avatar flex justify-center">
<img src="/images/redefine-avatar.svg">
</div>
<div class="author flex flex-col justify-center my-2.5 mx-0">
<div class="name">HackC0der</div>
<div class="label">Lv3</div>
</div>
<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">9</div>
<div class="label text-third-text-color text-sm">标签</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">0</div>
<div class="label text-third-text-color text-sm">分类</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">24</div>
<div class="label text-third-text-color text-sm">文章</div>
</a>
</div>
</div>
</div>
</div>
<div class="main-content">
<div class="home-content-container">
<ul class="home-article-list">
<li class="home-article-item">
<div class="flex flex-col gap-5 px-7 pb-7 pt-7">
<h3 class="home-article-title">
<a href="/2026/07/21/Linux-Kernel-PWN%20Cross-Cache%20UAF/">
[Linux-Kernel-PWN] Cross-Cache UAF
</a>
</h3>
<div class="home-article-content markdown-body">
题目分析经过一定结构体还原与逆向
123456789101100000000 struct file // sizeof=0xD800000000 {00000000 __int64 a[25];000000C8 struct my_book book;000000D8 };00000000 struct my_book // sizeof=0x10000...
</div>
<div class="home-article-meta-info-container">
<div class="home-article-meta-info">
<span><i class="fa-solid fa-calendars"></i>
<span class="home-article-date" data-date="Tue Jul 21 2026 22:54:00 GMT+0800">
2026-07-21
</span>
</span>
<span class="home-article-tag">
<i class="fa-solid fa-tags"></i>
<ul>
<li>
<a href="/tags/Linux-Kernel-PWN/">Linux Kernel PWN</a>
</li>
</ul>
</span>
</div>
<a href="/2026/07/21/Linux-Kernel-PWN%20Cross-Cache%20UAF/">阅读全文<span class="seo-reader-text">[Linux-Kernel-PWN] Cross-Cache UAF</span> <i class="fa-solid fa-angle-right"></i></a>
</div>
</div>
</li>
<li class="home-article-item">
<div class="flex flex-col gap-5 px-7 pb-7 pt-7">
<h3 class="home-article-title">
<a href="/2026/07/11/PWN_WAF/">
[AWD PWN通防工具] pwn_waf
</a>
</h3>
<div class="home-article-content markdown-body">
发现一个 AWD 抄流量反打的开源工具,特来学习一下~
pwn_waf
i0gan/pwn_waf: This is a simple network firewall for pwn challenges of ctf awd competition, light and simple code.There is no dependence, the log format is ...
</div>
<div class="home-article-meta-info-container">
<div class="home-article-meta-info">
<span><i class="fa-solid fa-calendars"></i>
<span class="home-article-date" data-date="Sat Jul 11 2026 17:30:00 GMT+0800">
2026-07-11
</span>
</span>
<span class="home-article-tag">
<i class="fa-solid fa-tags"></i>
<ul>
<li>
<a href="/tags/CTF-PWN/">CTF-PWN</a>
</li>
<li>
|
<a href="/tags/AWD/">AWD</a>
</li>
</ul>
</span>
</div>
<a href="/2026/07/11/PWN_WAF/">阅读全文<span class="seo-reader-text">[AWD PWN通防工具] pwn_waf</span> <i class="fa-solid fa-angle-right"></i></a>
</div>
</div>
</li>
<li class="home-article-item">
<div class="flex flex-col gap-5 px-7 pb-7 pt-7">
<h3 class="home-article-title">
<a href="/2026/07/11/%E5%9F%BA%E4%BA%8Exinetd%E9%83%A8%E7%BD%B2pwn%E9%A2%98/">
基于xinetd部署pwn题
</a>
</h3>
<div class="home-article-content markdown-body">
参考学习 基于xinetd部署pwn题(百分百搭成并且可以nc靶场地址)_ctfd部署pwn题-CSDN博客
克隆 xinetd 仓库
1git clone https://github.com/Eadom/ctf_xinetd
更换题目文件
123456789101112╭─ ~/workplace/github_repos/Repos/ctf_xinetd on master ...
</div>
<div class="home-article-meta-info-container">
<div class="home-article-meta-info">
<span><i class="fa-solid fa-calendars"></i>
<span class="home-article-date" data-date="Sat Jul 11 2026 17:00:00 GMT+0800">
2026-07-11
</span>
</span>
<span class="home-article-tag">
<i class="fa-solid fa-tags"></i>
<ul>
<li>
<a href="/tags/CTF-PWN/">CTF-PWN</a>
</li>
</ul>
</span>
</div>
<a href="/2026/07/11/%E5%9F%BA%E4%BA%8Exinetd%E9%83%A8%E7%BD%B2pwn%E9%A2%98/">阅读全文<span class="seo-reader-text">基于xinetd部署pwn题</span> <i class="fa-solid fa-angle-right"></i></a>
</div>
</div>
</li>
<li class="home-article-item">
<div class="flex flex-col gap-5 px-7 pb-7 pt-7">
<h3 class="home-article-title">
<a href="/2026/06/23/Linux-Kernel-PWN%EF%BC%88%E5%8D%81%EF%BC%89sys_clone/">
[Linux-Kernel-PWN] clone trace
</a>
</h3>
<div class="home-article-content markdown-body">
Linux 下:
fork()、vfork() 全部是封装过的 clone 系统调用;
clone() 是最原始、参数最全的底层接口,用来创建进程 / 轻量级进程(线程)。
fork()关键 clone 标志1clone(CLONE_CHILD_CLEARTID | CLONE_CHILD_SETTID | SIGCHLD, NULL);
核心特性
完整拷贝地址空间(写时复制...
</div>
<div class="home-article-meta-info-container">
<div class="home-article-meta-info">
<span><i class="fa-solid fa-calendars"></i>
<span class="home-article-date" data-date="Tue Jun 23 2026 10:49:00 GMT+0800">
2026-06-23
</span>
</span>
<span class="home-article-tag">
<i class="fa-solid fa-tags"></i>
<ul>
<li>
<a href="/tags/Linux-Kernel-PWN/">Linux Kernel PWN</a>
</li>
</ul>
</span>
</div>
<a href="/2026/06/23/Linux-Kernel-PWN%EF%BC%88%E5%8D%81%EF%BC%89sys_clone/">阅读全文<span class="seo-reader-text">[Linux-Kernel-PWN] clone trace</span> <i class="fa-solid fa-angle-right"></i></a>
</div>
</div>
</li>
<li class="home-article-item">
<div class="flex flex-col gap-5 px-7 pb-7 pt-7">
<h3 class="home-article-title">
<a href="/2026/06/23/Linux-Kernel-PWN%EF%BC%88%E5%8D%81%E4%B8%80%EF%BC%89Cross-Cache%20Overflow/">
[Linux-Kernel-PWN] Cross-Cache Overflow
</a>
</h3>
<div class="home-article-content markdown-body">
题目分析init_module123castaway_dev = 255; // 次要设备号(MISC_DYNAMIC_MINOR=255表示动态分配)castaway = (__int64)"castaway"; // 设备名称p_castaway_fops = (__int64)&castaway_fops; // 指向文件操作函数表
这...
</div>
<div class="home-article-meta-info-container">
<div class="home-article-meta-info">
<span><i class="fa-solid fa-calendars"></i>
<span class="home-article-date" data-date="Tue Jun 23 2026 08:31:00 GMT+0800">
2026-06-23
</span>
</span>
<span class="home-article-tag">
<i class="fa-solid fa-tags"></i>
<ul>
<li>
<a href="/tags/Linux-Kernel-PWN/">Linux Kernel PWN</a>
</li>
</ul>
</span>
</div>
<a href="/2026/06/23/Linux-Kernel-PWN%EF%BC%88%E5%8D%81%E4%B8%80%EF%BC%89Cross-Cache%20Overflow/">阅读全文<span class="seo-reader-text">[Linux-Kernel-PWN] Cross-Cache Overflow</span> <i class="fa-solid fa-angle-right"></i></a>
</div>
</div>
</li>
<li class="home-article-item">
<div class="flex flex-col gap-5 px-7 pb-7 pt-7">
<h3 class="home-article-title">
<a href="/2026/06/16/Linux-Kernel-PWN%EF%BC%88%E4%B9%9D%EF%BC%89%E9%A1%B5%E7%BA%A7%E5%86%85%E5%AD%98%E5%8D%A0%E4%BD%8D%E4%B8%8E%E5%A0%86%E9%A3%8E%E6%B0%B4/">
[Linux-Kernel-PWN] 页级堆风水(setsockopt)
</a>
</h3>
<div class="home-article-content markdown-body">
linux 命名空间基本概念Linux 命名空间(Namespaces)是内核级别的一种资源隔离技术,它让一组进程看到的系统资源视图与其他进程组互相独立。这是容器(如 Docker、Podman、LXC)实现轻量级虚拟化的核心机制。每个命名空间将某种全局系统资源包装成抽象层,进程可以“置身”于特定命名空间中,认为自己在独占该资源。不同命名空间里的进程互不干扰,即使这些资源实际由同一宿主机管理...
</div>
<div class="home-article-meta-info-container">
<div class="home-article-meta-info">
<span><i class="fa-solid fa-calendars"></i>
<span class="home-article-date" data-date="Tue Jun 16 2026 21:33:00 GMT+0800">
2026-06-16
</span>
</span>
<span class="home-article-tag">
<i class="fa-solid fa-tags"></i>
<ul>
<li>
<a href="/tags/Linux-Kernel-PWN/">Linux Kernel PWN</a>
</li>
</ul>
</span>
</div>
<a href="/2026/06/16/Linux-Kernel-PWN%EF%BC%88%E4%B9%9D%EF%BC%89%E9%A1%B5%E7%BA%A7%E5%86%85%E5%AD%98%E5%8D%A0%E4%BD%8D%E4%B8%8E%E5%A0%86%E9%A3%8E%E6%B0%B4/">阅读全文<span class="seo-reader-text">[Linux-Kernel-PWN] 页级堆风水(setsockopt)</span> <i class="fa-solid fa-angle-right"></i></a>
</div>
</div>
</li>
<li class="home-article-item">
<div class="flex flex-col gap-5 px-7 pb-7 pt-7">
<h3 class="home-article-title">
<a href="/2026/05/29/Linux-Kernel-PWN%EF%BC%88%E5%85%AB%EF%BC%89Kernel-Freelist%E5%8A%AB%E6%8C%81/">
[Linux-Kernel-PWN] Kernel-Freelist劫持
</a>
</h3>
<div class="home-article-content markdown-body">
参考:
freelist 劫持 - CTF Wiki
从 RWCTF2022 Digging into kernel 1 & 2 学内核提权方法 · BeaCox’s Blog
RWCTF2022 - Digging into kernel (Exploit via Freelist-Hijack)文件分析123╭─ ~/workplace/pwn/RWCTF2022-Di...
</div>
<div class="home-article-meta-info-container">
<div class="home-article-meta-info">
<span><i class="fa-solid fa-calendars"></i>