-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1315 lines (785 loc) · 144 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
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>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
<link rel="dns-prefetch" href="https://www.wchhlbt.cn">
<title>wchhlbt-个人小站</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:type" content="website">
<meta property="og:title" content="wchhlbt-个人小站">
<meta property="og:url" content="https://www.wchhlbt.cn/index.html">
<meta property="og:site_name" content="wchhlbt-个人小站">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<link rel="alternative" href="/atom.xml" title="wchhlbt-个人小站" type="application/atom+xml">
<link rel="icon" href="/img/favicon.ico">
<link rel="stylesheet" type="text/css" href="/./main.0cf68a.css">
<style type="text/css">
#container.show {
background: linear-gradient(200deg,#a0cfe4,#e8c37e);
}
</style>
</head>
<body>
<div id="container" q-class="show:isCtnShow">
<canvas id="anm-canvas" class="anm-canvas"></canvas>
<div class="left-col" q-class="show:isShow">
<div class="overlay" style="background: #FFB6C1"></div>
<div class="intrude-less">
<header id="header" class="inner">
<a href="/" class="profilepic">
<img src="/img/whiteback.png" class="js-avatar">
</a>
<hgroup>
<h1 class="header-author"><a href="/">wchhlbt</a></h1>
</hgroup>
<p class="header-subtitle">走最远的路 看最美的风景</p>
<nav class="header-menu">
<ul>
<li><a href="/">主页</a></li>
<li><a href="/tags/%E9%9A%8F%E7%AC%94/">随笔</a></li>
</ul>
</nav>
<nav class="header-smart-menu">
<a q-on="click: openSlider(e, 'innerArchive')" target="_self" href="javascript:void(0)">所有文章</a>
<a q-on="click: openSlider(e, 'friends')" target="_self" href="javascript:void(0)">友链</a>
<a q-on="click: openSlider(e, 'aboutme')" target="_self" href="javascript:void(0)">关于我</a>
</nav>
<nav class="header-nav">
<div class="social">
<a class="github" target="_blank" href="https://github.com/wchhlbt" title="github"><i class="icon-github"></i></a>
<a class="weibo" target="_blank" href="#" title="weibo"><i class="icon-weibo"></i></a>
<a class="rss" target="_blank" href="#" title="rss"><i class="icon-rss"></i></a>
<a class="zhihu" target="_blank" href="#" title="zhihu"><i class="icon-zhihu"></i></a>
</div>
</nav>
</header>
</div>
</div>
<div class="mid-col" q-class="show:isShow,hide:isShow|isFalse">
<nav id="mobile-nav">
<div class="overlay js-overlay" style="background: #FFB6C1"></div>
<div class="btnctn js-mobile-btnctn">
<div class="slider-trigger list" q-on="click: openSlider(e)"><i class="icon icon-sort"></i></div>
</div>
<div class="intrude-less">
<header id="header" class="inner">
<div class="profilepic">
<img src="/img/whiteback.png" class="js-avatar">
</div>
<hgroup>
<h1 class="header-author js-header-author">wchhlbt</h1>
</hgroup>
<p class="header-subtitle"><i class="icon icon-quo-left"></i>走最远的路 看最美的风景<i class="icon icon-quo-right"></i></p>
<nav class="header-nav">
<div class="social">
<a class="github" target="_blank" href="https://github.com/wchhlbt" title="github"><i class="icon-github"></i></a>
<a class="weibo" target="_blank" href="#" title="weibo"><i class="icon-weibo"></i></a>
<a class="rss" target="_blank" href="#" title="rss"><i class="icon-rss"></i></a>
<a class="zhihu" target="_blank" href="#" title="zhihu"><i class="icon-zhihu"></i></a>
</div>
</nav>
<nav class="header-menu js-header-menu">
<ul style="width: 50%">
<li style="width: 50%"><a href="/">主页</a></li>
<li style="width: 50%"><a href="/tags/%E9%9A%8F%E7%AC%94/">随笔</a></li>
</ul>
</nav>
</header>
</div>
<div class="mobile-mask" style="display:none" q-show="isShow"></div>
</nav>
<div id="wrapper" class="body-wrap">
<div class="menu-l">
<div class="canvas-wrap">
<canvas data-colors="#eaeaea" data-sectionHeight="100" data-contentId="js-content" id="myCanvas1" class="anm-canvas"></canvas>
</div>
<div id="js-content" class="content-ll">
<article id="post-2021-l3hctf-lambda" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2021/11/18/2021-l3hctf-lambda/">2021 L3HCTF Misc lambda WP</a>
</h1>
<a href="/2021/11/18/2021-l3hctf-lambda/" class="archive-article-date">
<time datetime="2021-11-18T08:02:26.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2021-11-18</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>开局一个pcap数据包,flag在哪全靠猜~</p>
<p>两天只做了一道题,不过还是挺有收获的。顺便纪念一下第一次在大型CTF比赛中拿到带血的flag~</p>
<a class="article-more-a" href="/2021/11/18/2021-l3hctf-lambda/#more">more >></a>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color4">CTF</a>
</li>
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color5">Misc</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2021/11/18/2021-l3hctf-lambda/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<article id="post-auto-upload-images-in-typora" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2021/11/18/auto-upload-images-in-typora/">配置typora实现图片自动上传</a>
</h1>
<a href="/2021/11/18/auto-upload-images-in-typora/" class="archive-article-date">
<time datetime="2021-11-18T07:34:13.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2021-11-18</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>以前每次写blog都需要自己手动上传图片,再复制链接粘回来。这次花点时间我们把这个过程自动化,这样写blog就更轻松了。(才不是因为懒…</p>
<a class="article-more-a" href="/2021/11/18/auto-upload-images-in-typora/#more">more >></a>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color3">折腾</a>
</li>
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color5">blog</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2021/11/18/auto-upload-images-in-typora/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<article id="post-python-encode" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2021/09/06/python-encode/">python实现CTF中的编码转换</a>
</h1>
<a href="/2021/09/06/python-encode/" class="archive-article-date">
<time datetime="2021-09-06T03:22:59.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2021-09-06</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>梳理python语言中的字符串编码与解码问题,包括字符串与其二进制、十六进制的转化方法。</p>
<a class="article-more-a" href="/2021/09/06/python-encode/#more">more >></a>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color2">python</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2021/09/06/python-encode/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<article id="post-pandas" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2021/09/02/pandas/">pandas基础语法整理</a>
</h1>
<a href="/2021/09/02/pandas/" class="archive-article-date">
<time datetime="2021-09-02T08:26:31.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2021-09-02</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>平时的数据分析的时候经常需要用到pandas,简单整理一下pandas基础语法,方便查找。</p>
<a class="article-more-a" href="/2021/09/02/pandas/#more">more >></a>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color2">python</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2021/09/02/pandas/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<article id="post-easyflask" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2021/07/05/easyflask/">2021虎符CTF决赛 EasyFlask Writeup</a>
</h1>
<a href="/2021/07/05/easyflask/" class="archive-article-date">
<time datetime="2021-07-05T13:20:11.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2021-07-05</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>Buuoj刷题记录 2021/07/05</p>
<a class="article-more-a" href="/2021/07/05/easyflask/#more">more >></a>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color4">CTF</a>
</li>
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color4">Web</a>
</li>
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color1">Buuoj</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2021/07/05/easyflask/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<article id="post-leetcode-1209" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2021/03/26/leetcode-1209/">leetcode 1209</a>
</h1>
<a href="/2021/03/26/leetcode-1209/" class="archive-article-date">
<time datetime="2021-03-26T04:05:41.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2021-03-26</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>给你一个字符串 s,「k 倍重复项删除操作」将会从 s 中选择 k 个相邻且相等的字母,并删除它们,使被删去的字符串的左侧和右侧连在一起。</p>
<p>你需要对 s 重复进行无限次这样的删除操作,直到无法继续为止。</p>
<p>在执行完所有删除操作后,返回最终得到的字符串。</p>
<p><a href="https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string-ii" target="_blank" rel="noopener">https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string-ii</a></p>
<a class="article-more-a" href="/2021/03/26/leetcode-1209/#more">more >></a>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color5">algorithm</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2021/03/26/leetcode-1209/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<article id="post-XSS-study" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2020/10/09/XSS-study/">XSS 学习</a>
</h1>
<a href="/2020/10/09/XSS-study/" class="archive-article-date">
<time datetime="2020-10-09T03:04:06.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2020-10-09</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>记录和总结XSS攻击学习过程。</p>
<a class="article-more-a" href="/2020/10/09/XSS-study/#more">more >></a>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color4">CTF</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2020/10/09/XSS-study/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<article id="post-docker-tutorial" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2020/10/07/docker-tutorial/">Docker入门及CodiMD搭建</a>
</h1>
<a href="/2020/10/07/docker-tutorial/" class="archive-article-date">
<time datetime="2020-10-07T09:54:10.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2020-10-07</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>这篇文章记录了docker的一些常用指令备忘以及利用镜像搭建一个Markdown协作平台的实例。</p>
<a class="article-more-a" href="/2020/10/07/docker-tutorial/#more">more >></a>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color3">折腾</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2020/10/07/docker-tutorial/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<article id="post-CTFHUB-Web方向题解" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2020/09/17/CTFHUB-Web%E6%96%B9%E5%90%91%E9%A2%98%E8%A7%A3/">CTFHUB Web方向题解</a>
</h1>
<a href="/2020/09/17/CTFHUB-Web%E6%96%B9%E5%90%91%E9%A2%98%E8%A7%A3/" class="archive-article-date">
<time datetime="2020-09-17T03:41:13.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2020-09-17</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>记录一下在CTFHUB上面刷题和学习过程。欢迎大家分享交流~</p>
<a class="article-more-a" href="/2020/09/17/CTFHUB-Web%E6%96%B9%E5%90%91%E9%A2%98%E8%A7%A3/#more">more >></a>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color4">CTF</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2020/09/17/CTFHUB-Web%E6%96%B9%E5%90%91%E9%A2%98%E8%A7%A3/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<article id="post-requests库学习" class="article article-type-post article-index" itemscope itemprop="blogPost">
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2020/06/28/requests%E5%BA%93%E5%AD%A6%E4%B9%A0/">requests库学习</a>
</h1>
<a href="/2020/06/28/requests%E5%BA%93%E5%AD%A6%E4%B9%A0/" class="archive-article-date">
<time datetime="2020-06-28T13:07:29.000Z" itemprop="datePublished"><i class="icon-calendar icon"></i>2020-06-28</time>
</a>
<!-- 添加代码 -->
</header>
<div class="article-entry" itemprop="articleBody">
<p>当requests库get方法得到的网页乱码时,可以修改文本编码进行显示。</p>
<figure class="highlight python"><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">r = s.get(<span class="string">'https://thos.tsinghua.edu.cn'</span>)</span><br><span class="line">r.encoding = <span class="string">'gbk'</span></span><br></pre></td></tr></table></figure>
<p>如何拦截requests发的包?</p>
<p>我们可以配置代理,让Burpsuite拦截我们发出的报文。需要注意的是这里因为采用了Burpsuite的代理,这个证书是不被信任的,所以我们需要采用verify=False这个参数,来忽略证书验证这个环节。</p>
<figure class="highlight python"><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">proxies = {</span><br><span class="line"><span class="string">"https"</span>: <span class="string">"http://127.0.0.1:8080"</span></span><br><span class="line">}</span><br><span class="line">r = s.post(url, data = login_data, proxies = proxies, verify=<span class="literal">False</span>)</span><br></pre></td></tr></table></figure>
</div>
<div class="article-info article-info-index">
<div class="article-tag tagcloud">
<i class="icon-price-tags icon"></i>
<ul class="article-tag-list">
<li class="article-tag-list-item">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="js-tag article-tag-list-link color3">折腾</a>
</li>
</ul>
</div>
<p class="article-more-link">
<a class="article-more-a" href="/2020/06/28/requests%E5%BA%93%E5%AD%A6%E4%B9%A0/">展开全文 >></a>
</p>
<div class="clearfix"></div>
</div>
</div>
</article>
<aside class="wrap-side-operation">
<div class="mod-side-operation">
<div class="jump-container" id="js-jump-container" style="display:none;">
<a href="javascript:void(0)" target="_blank" rel="noopener" class="mod-side-operation__jump-to-top">
<i class="icon-font icon-back"></i>
</a>
<div id="js-jump-plan-container" class="jump-plan-container" style="top: -11px;">
<i class="icon-font icon-plane jump-plane"></i>
</div>
</div>
</div>
</aside>
<nav id="page-nav">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/2/">Next &raquo;</a>
</nav>
</div>
</div>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info">
<div class="footer-left">
© 2022 wchhlbt