-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1250 lines (862 loc) · 45.2 KB
/
index.html
File metadata and controls
1250 lines (862 loc) · 45.2 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, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.0">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/blogimg/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/blogimg/favicon.ico">
<link rel="mask-icon" href="/images/logo.svg" color="#222">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic|Roboto Slab:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">
<script id="hexo-configurations">
var NexT = window.NexT || {};
var CONFIG = {
hostname: new URL('http://blog.cirq.me').hostname,
root: '/',
scheme: 'Gemini',
version: '7.7.0',
exturl: false,
sidebar: {"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},
copycode: {"enable":false,"show_result":false,"style":null},
back2top: {"enable":true,"sidebar":false,"scrollpercent":true},
bookmark: {"enable":false,"color":"#222","save":"auto"},
fancybox: false,
mediumzoom: false,
lazyload: false,
pangu: false,
comments: {"style":"tabs","active":null,"storage":true,"nav":null},
algolia: {
appID: '',
apiKey: '',
indexName: '',
hits: {"per_page":10},
labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
},
localsearch: {"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},
path: '',
motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}
};
</script>
<meta name="description" content="technical/leisure blog, personal website">
<meta property="og:type" content="website">
<meta property="og:title" content="CirQ House">
<meta property="og:url" content="http://blog.cirq.me/index.html">
<meta property="og:site_name" content="CirQ House">
<meta property="og:description" content="technical/leisure blog, personal website">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="cirq">
<meta name="twitter:card" content="summary">
<link rel="canonical" href="http://blog.cirq.me/">
<script id="page-configurations">
// https://hexo.io/docs/variables.html
CONFIG.page = {
sidebar: "",
isHome: true,
isPost: false
};
</script>
<title>CirQ House</title>
<noscript>
<style>
.use-motion .brand,
.use-motion .menu-item,
.sidebar-inner,
.use-motion .post-block,
.use-motion .pagination,
.use-motion .comments,
.use-motion .post-header,
.use-motion .post-body,
.use-motion .collection-header { opacity: initial; }
.use-motion .site-title,
.use-motion .site-subtitle {
opacity: initial;
top: initial;
}
.use-motion .logo-line-before i { left: initial; }
.use-motion .logo-line-after i { right: initial; }
</style>
</noscript>
</head>
<body itemscope itemtype="http://schema.org/WebPage">
<div class="container use-motion">
<div class="headband"></div>
<header class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-container">
<div class="site-meta">
<div>
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">CirQ House</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<p class="site-subtitle">I hear the sound.</p>
</div>
<div class="site-nav-toggle">
<div class="toggle" aria-label="切换导航栏">
<span class="toggle-line toggle-line-first"></span>
<span class="toggle-line toggle-line-middle"></span>
<span class="toggle-line toggle-line-last"></span>
</div>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>
</li>
<li class="menu-item menu-item-about">
<a href="/about/" rel="section"><i class="fa fa-fw fa-user"></i>关于</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="back-to-top">
<i class="fa fa-arrow-up"></i>
<span>0%</span>
</div>
<div class="reading-progress-bar"></div>
<main class="main">
<div class="main-inner">
<div class="content-wrap">
<div class="content">
<div class="posts-expand">
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2020/04/21/techniques/native-package/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2020/04/21/techniques/native-package/" class="post-title-link" itemprop="url">一次打包jar-with-native的经历</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2020-04-21 14:57:00 / 修改时间:14:58:57" itemprop="dateCreated datePublished" datetime="2020-04-21T14:57:00+08:00">2020-04-21</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/techniques/" itemprop="url" rel="index">
<span itemprop="name">techniques</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="背景"><a href="#背景" class="headerlink" title="背景"></a>背景</h2><p>最近参与一个共同项目,在里面各种划水,抱着队友的大腿,自己主动挑一些边边角角的任务去做,显得好像自己也在参与一样(笑)。落脚点依然是自己的舒适区,好听点叫“提升工程效率”,说白了就是减轻(不知道有没有人去后续维护)的后续维护者的上手负担,以及减少(减少了他们也不一定看得出来的)用户使用项目成果的难度。</p>
<p>这次的具体需求是,要把<a href="https://github.com/Z3Prover/z3" target="_blank" rel="noopener">Z3</a>的java版本打包进可执行的jar里面,使得用kotlin写的工具能够方便地调用Z3接口。Z3调用部分的代码队友已经写好了,在自己的IDE上跑起来也顺风顺水,然而打包成jar就出问题了。原因是没有将native库打包进去,使得执行jar的时候无法加载到这些库。所以这篇文章就分享一下这次打包native库的经验。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2020/04/21/techniques/native-package/#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2020/02/10/study/android-permission/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2020/02/10/study/android-permission/" class="post-title-link" itemprop="url">关于Android的minSdkVersion、targetSdkVersion和compileSdkVersion</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2020-02-10 15:23:53" itemprop="dateCreated datePublished" datetime="2020-02-10T15:23:53+08:00">2020-02-10</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2020-02-15 20:07:59" itemprop="dateModified" datetime="2020-02-15T20:07:59+08:00">2020-02-15</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/study/" itemprop="url" rel="index">
<span itemprop="name">study</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>这是全网第一万篇关于这个问题的文章了,从stackoverflow、quora、medium,到知乎、简书、csdn,每个技术人员聚集的社区里面都能搜出一堆试图说明这些“版本”的文章、问答。于是大家,不管是不是真的理解,总归是会记住这么一条“金科玉律”:</p>
<blockquote>
<p>minSdkVersion <= targetSdkVersion <= compileSdkVersion</p>
</blockquote>
<p>再细致一点的还会说到,minSdkVersion用于在应用商店中检查APK的最低运行版本,compileSdkVersion应该使用当前最新的版本,targetSdkVersion应该尽可能和compileSdkVersion保持同步。这个说法流传如此之广,以至于成了一种近乎标准答案的回答(另一个典型的例子是“进程是资源分配的最小单位,线程是cpu调度的最小单位”)。这种说法对于我来说依然是云里雾里的,所以我打算写一篇自己能看懂的文章(就是这篇)。这里不会像知乎标题党那样动辄“这一篇终于讲清楚了”,也没办法像码怪那样“答案都在源码里面”。写作的目的只是为了让自己理解,视角难免浅薄,如有错误,还望不吝指出。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2020/02/10/study/android-permission/#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2020/01/04/techniques/hexo-encrypt/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2020/01/04/techniques/hexo-encrypt/" class="post-title-link" itemprop="url">An interesting plugin: hexo-blog-encrypt</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2020-01-04 14:28:55" itemprop="dateCreated datePublished" datetime="2020-01-04T14:28:55+08:00">2020-01-04</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2020-02-11 01:32:20" itemprop="dateModified" datetime="2020-02-11T01:32:20+08:00">2020-02-11</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/techniques/" itemprop="url" rel="index">
<span itemprop="name">techniques</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
password is required to read the content
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2020/01/04/techniques/hexo-encrypt/#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2020/01/04/ctf/re/vt-rev/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2020/01/04/ctf/re/vt-rev/" class="post-title-link" itemprop="url">一次真实apk的逆向经历</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2020-01-04 11:14:14 / 修改时间:11:14:27" itemprop="dateCreated datePublished" datetime="2020-01-04T11:14:14+08:00">2020-01-04</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/ctf/" itemprop="url" rel="index">
<span itemprop="name">ctf</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/ctf/re/" itemprop="url" rel="index">
<span itemprop="name">re</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>起因是最近在工作中要对apk文件进行静态分析,发现对于进行加固的apk分析效果不甚满意。之后发现原因是这个apk进行过加固,入口被隐藏了,于是萌生出要对它进行逆向的想法。最后算是做出来了,也和老板说的一样,没什么学术价值,但很有成就感,说到底,会喜欢玩ctf也是这个道理吧。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2020/01/04/ctf/re/vt-rev/#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2019/12/17/techniques/idea-win-terminal/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2019/12/17/techniques/idea-win-terminal/" class="post-title-link" itemprop="url">在Windows JetBrains IDE中使用cmder终端</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2019-12-17 23:18:22" itemprop="dateCreated datePublished" datetime="2019-12-17T23:18:22+08:00">2019-12-17</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2020-01-04 09:10:23" itemprop="dateModified" datetime="2020-01-04T09:10:23+08:00">2020-01-04</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/techniques/" itemprop="url" rel="index">
<span itemprop="name">techniques</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>以前用ubuntu用的风生水起的时候(实际上并没有),从没考虑过给idea或者是pycharm换终端。在ubuntu上正常使用的是<a href="https://fishshell.com/" target="_blank" rel="noopener">fish</a>,稍微有那么一点geek范。但回到IDE里面,用着ubuntu自带的bash也并无不适。</p>
<p>直到开始用windows工作时,才意识到无论cmd还是powershell都极其恶心。居然就以这种状态,还坚持了大半年。后来换了<a href="https://cmder.net/" target="_blank" rel="noopener">cmder</a>,也就一并搜索并解决了换IDE终端的问题。</p>
<p>说白了就一行设置的事情,到底是为了多水一篇文章。回看发现发布上一篇竟然是一年前的事情了,不禁想起当初被年兽一语道破:“写博客不难,难的是坚持写博客。”</p>
<p>回到正题,设置路径是<code>Settings -> Tools -> Terminal -> Shell path</code>,加上一行:</p>
<p><code>"cmd.exe" /k ""C:\Program Files\cmder\vendor\init.bat""</code></p>
<p>路径也可以换成<code>%CMDER_ROOT%\vendor\init.bat</code>,但要设置环境变量。 </p>
<blockquote>
<p>永远不知道人无聊时能干出什么来</p>
</blockquote>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2019/01/11/study/x86-64-asm_2/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2019/01/11/study/x86-64-asm_2/" class="post-title-link" itemprop="url">Say hello to x86_64 Assembly学习笔记(下)</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2019-01-11 18:50:24" itemprop="dateCreated datePublished" datetime="2019-01-11T18:50:24+08:00">2019-01-11</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2019-12-17 22:53:59" itemprop="dateModified" datetime="2019-12-17T22:53:59+08:00">2019-12-17</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/study/" itemprop="url" rel="index">
<span itemprop="name">study</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>本来想只写一篇的,但是上一篇写完就想摸鱼了,于是急急忙忙发布出去,把剩下的内容留到这一篇。然而看完才发现,后面四篇的内容也不是很多。那这一篇的意义可能也就只是水多一篇博客了吧:)</p>
<p>这个教程一共有八篇文章,然而代码只给出了六个分类,看完之后发现代码少的是第5、6篇文章。这两篇文章,一篇是讲怎么在nasm下定义宏的,另一篇关于另一种汇编器gas的不同,以及诸如操作符位长这样的杂七杂八的东西,不是特别通用,也没有深入探讨,就稍微浏览一遍。作者也没有对这两篇教程写新的代码。这篇博文也就主要是最后两篇教程的内容。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2019/01/11/study/x86-64-asm_2/#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2019/01/10/study/x86-64-asm_1/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2019/01/10/study/x86-64-asm_1/" class="post-title-link" itemprop="url">Say hello to x86_64 Assembly学习笔记(上)</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2019-01-10 11:01:51" itemprop="dateCreated datePublished" datetime="2019-01-10T11:01:51+08:00">2019-01-10</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2019-12-17 22:53:59" itemprop="dateModified" datetime="2019-12-17T22:53:59+08:00">2019-12-17</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/study/" itemprop="url" rel="index">
<span itemprop="name">study</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>这一篇博客是看了GitHub上一个<a href="https://github.com/0xAX/asm" target="_blank" rel="noopener">x86_64汇编入门教程</a>之后的小总结。</p>
<p>有点忘记是是什么时候看到这个系列的教程的了,想着把它看完,毕竟也就8个part。趁着考完试先看了一大半,算是补上了关于x64汇编的一些边边角角的知识吧。</p>
<p>想起来本科时候没教汇编,之所以学完全就是冲着pwn去的,只算是学会了一些零散的知识点,但在pwn题中已经够用了(一方面是自己在pwn方面也没有很深入学习,另一方面是都是上来就IDA Pro F5,确实用不了多少汇编)。这个教程,其实也并不是很好,有很多地方并没有说明白,只能靠着以前的基础补全细节;但另一方面,这个教程也确实覆盖了基础的x64汇编了,自己也学到了以前不会的知识。所以在这里就把自己学会的零散的知识点记录一下,仅仅是自我友好型的一篇博客了。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2019/01/10/study/x86-64-asm_1/#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2018/11/20/theory/hmm/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2018/11/20/theory/hmm/" class="post-title-link" itemprop="url">隐马尔可夫模型(HMM)总结</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2018-11-20 12:21:37" itemprop="dateCreated datePublished" datetime="2018-11-20T12:21:37+08:00">2018-11-20</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2020-01-04 09:21:19" itemprop="dateModified" datetime="2020-01-04T09:21:19+08:00">2020-01-04</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/theory/" itemprop="url" rel="index">
<span itemprop="name">theory</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>学习隐马尔可夫模型(Hidden Markov Model)的起因是在一个任务中被要求实现一个viterbi算法,系统学习之后被它的简洁和强大所吸引,也因此决定要写这篇文章。</p>
<p>文章主要还是以概念为主,不会涉及算法细节,力求知识的完整性和系统性,牺牲了一定的深度。对HMM的框架做了个大概的总结,实际上也就是把博客当成了电子版的笔记本了吧。</p>
<h3 id="基本模型:假设、参数"><a href="#基本模型:假设、参数" class="headerlink" title="基本模型:假设、参数"></a>基本模型:假设、参数</h3><p>在周志华的《机器学习》中,概率图模型分为两类,一类是通过有向图定义的贝叶斯网,一类是通过无向图定义的马尔可夫网。虽然名字上会造成困扰,但实际上HMM属于贝叶斯网,因为它描述的是可观测的时序状态和潜在的马尔科夫链(Markov chain)之间的概率关系,因而是有向的链表结构。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2018/11/20/theory/hmm/#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2018/10/05/study/EffectivePython_4/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2018/10/05/study/EffectivePython_4/" class="post-title-link" itemprop="url">《Effective Python》读书笔记(四)</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2018-10-05 12:49:39" itemprop="dateCreated datePublished" datetime="2018-10-05T12:49:39+08:00">2018-10-05</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2020-01-04 09:16:38" itemprop="dateModified" datetime="2020-01-04T09:16:38+08:00">2020-01-04</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/study/" itemprop="url" rel="index">
<span itemprop="name">study</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>本文是《Effective Python 编写高质量Python代码的59个有效方法》一书的笔记的最后一篇。算是断断续续地看完这本书了,就结果来说,可能未必说得上在这一门语言上实现了什么重大认知的突破。但在这个过程中,学到了一些关于python的用法,也算是有所收获的。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2018/10/05/study/EffectivePython_4/#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-CN">
<link itemprop="mainEntityOfPage" href="http://blog.cirq.me/2018/06/06/ctf/pwn/MBE-project2/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/assets/blogimg/avatar.jpg">
<meta itemprop="name" content="cirq">
<meta itemprop="description" content="technical/leisure blog, personal website">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="CirQ House">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2018/06/06/ctf/pwn/MBE-project2/" class="post-title-link" itemprop="url">Modern Binary Exploitation - project2</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建时间:2018-06-06 13:15:16" itemprop="dateCreated datePublished" datetime="2018-06-06T13:15:16+08:00">2018-06-06</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2020-01-04 09:24:58" itemprop="dateModified" datetime="2020-01-04T09:24:58+08:00">2020-01-04</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">分类于</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/ctf/" itemprop="url" rel="index">
<span itemprop="name">ctf</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/ctf/pwn/" itemprop="url" rel="index">
<span itemprop="name">pwn</span>
</a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>The last commit in my mbe repo is Jan. 8th, after 5 months I finally crack the last challenge project2. Roughly I solve all challenges in more than one year, but I put it down to my lack of activation. However, I learn a lot from this open course and approve it to be a good source to learn pwn techniques in CTF.</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2018/06/06/ctf/pwn/MBE-project2/#more" rel="contents">
阅读全文 »
</a>
</div>
<!--/noindex-->