-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
656 lines (342 loc) · 16.5 KB
/
index.html
File metadata and controls
656 lines (342 loc) · 16.5 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
<!DOCTYPE html>
<html lang>
<head><meta name="generator" content="Hexo 3.9.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta name="description" content="爱生活,爱代码">
<link rel="alternate" href="/atom.xml" title="WeeklyAlgo">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=2.1.0">
<link rel="canonical" href="http://weeklyalgo.codes/">
<meta name="description" content="爱生活,爱代码">
<meta property="og:type" content="website">
<meta property="og:title" content="WeeklyAlgo">
<meta property="og:url" content="http://weeklyalgo.codes/index.html">
<meta property="og:site_name" content="WeeklyAlgo">
<meta property="og:description" content="爱生活,爱代码">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="WeeklyAlgo">
<meta name="twitter:description" content="爱生活,爱代码">
<link rel="stylesheet" type="text/css" href="/css/style.css?v=2.1.0">
<link rel="stylesheet" type="text/css" href="/lib/fancybox/jquery.fancybox.css">
<title> WeeklyAlgo </title>
</head>
<body>
<div class="container">
<header id="header" class="header"><div class="logo-wrapper">
<a href="/." class="logo">WeeklyAlgo</a>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item">
<a class="menu-item-link" href="/">
首页
</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="/archives/">
归档
</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="/categories">
分类
</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="/about">
关于
</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="/flinks">
友链
</a>
</li>
</ul>
</nav>
<div class="mobile-navbar">
<div class="mobile-header">
<div class="mobile-header-logo">
<a href="/." class="logo">WeeklyAlgo</a>
</div>
<div class="mobile-header-icon">
<span></span>
<span></span>
<span></span>
</div>
</div>
<nav class="mobile-menu">
<a class="mobile-menu-item" href="/">
首页
</a>
<a class="mobile-menu-item" href="/archives/">
归档
</a>
<a class="mobile-menu-item" href="/categories">
分类
</a>
<a class="mobile-menu-item" href="/about">
关于
</a>
<a class="mobile-menu-item" href="/flinks">
友链
</a>
</nav>
</div>
</header>
<main id="main" class="main">
<div class="content-wrapper">
<div id="content" class="content">
<section id="posts" class="posts">
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2019/07/01/hello-world/">Hello Weeklyalgo</a>
</h1>
<div class="post-meta">
<span class="post-time">
2019年7月1日
</span>
</div>
</header>
<div class="post-content">
<p>欢迎来到<a href="#">Weeklyalgo</a>!</p>
<h3 id="What-Why-How"><a href="#What-Why-How" class="headerlink" title="What, Why, How,"></a>What, Why, How,</h3><p>这里是一个记录算法等知识,以及各种问题见解的博客。<br>
<div class="read-more">
<a href="/2019/07/01/hello-world/" class="read-more-link">阅读更多</a>
</div>
</p></div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2018/11/30/ubuntu-bits-complie-bits-assembly/">Complie 32bits assembly on Ubuntu 64bits</a>
</h1>
<div class="post-meta">
<span class="post-time">
2018年11月30日
</span>
</div>
</header>
<div class="post-content">
<p>欢迎来到<a href="#">Weeklyalgo</a>!</p>
<h3 id="What-Why-How"><a href="#What-Why-How" class="headerlink" title="What, Why, How,"></a>What, Why, How,</h3><p>这里是一个记录算法等知识,以及各种问题见解的博客。<br>
<div class="read-more">
<a href="/2018/11/30/ubuntu-bits-complie-bits-assembly/" class="read-more-link">阅读更多</a>
</div>
</p></div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2017/08/03/a simple tutorial of configuring v2ray/">关于v2ray科学上网的简单配置过程</a>
</h1>
<div class="post-meta">
<span class="post-time">
2017年8月3日
</span>
</div>
</header>
<div class="post-content">
<p>本教程<strong>服务器OS</strong>,<strong>客户端OS</strong>分别使用<strong>Debian 8</strong>和<strong>ubuntu 16.04</strong></p>
<p>由于v2ray给的文档有些比较复杂,所以这里简化一下步骤</p>
<div class="read-more">
<a href="/2017/08/03/a simple tutorial of configuring v2ray/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2017/07/16/Reverse Engineer a stripped binary/">Reverse Engineer a stripped binary</a>
</h1>
<div class="post-meta">
<span class="post-time">
2017年7月16日
</span>
</div>
</header>
<div class="post-content">
<h1 id="逆向分析静态编译并裁减了符号表的二进制文件"><a href="#逆向分析静态编译并裁减了符号表的二进制文件" class="headerlink" title="逆向分析静态编译并裁减了符号表的二进制文件"></a>逆向分析静态编译并裁减了符号表的二进制文件</h1><p>做题时遇到了这类文件,记录记录恢复函数名过程。<br>
<div class="read-more">
<a href="/2017/07/16/Reverse Engineer a stripped binary/" class="read-more-link">阅读更多</a>
</div>
</p></div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2017/07/15/Community plan/">社区开发规划</a>
</h1>
<div class="post-meta">
<span class="post-time">
2017年7月15日
</span>
</div>
</header>
<div class="post-content">
<h1 id="前端规划"><a href="#前端规划" class="headerlink" title="前端规划"></a>前端规划</h1><p>我的想法是:前端目前不用框架,只写纯静态页面。这里指的纯静态页面,不代表只是HTML,可能会使用模版或其它基于HTML的技术。</p>
<p><strong>为什么不用框架:</strong></p>
<p>一、因为它们的服务端渲染目前还不够成熟,开发中肯定会遇到各种问题,从而拖慢开发速度。为了尽可能以最短时间开发出来,所以暂时不用,但不代表以后不用。</p>
<p>二、现在前后端的技术栈还不明确,使用Vue或React开发,组件之间相互依赖,甚至共享数据,改变了一个地方,会影响到多个组件,不是很适合。</p>
<p>三、开发社区的目的之一,是为了将新技术用到实践中去,所以以后肯定会有多处功能和效果的改动,以便实践新技术。而组件化的开发模式,局限性太大,目的性太强,不能很好的适应改变。而HTML是基础,能适应任何变化。</p>
<p><strong>具体的开发细节,我打算按照以下来完成:</strong><br>
<div class="read-more">
<a href="/2017/07/15/Community plan/" class="read-more-link">阅读更多</a>
</div>
</p></div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2017/07/12/About framework and learning/">关于框架和学习方式</a>
</h1>
<div class="post-meta">
<span class="post-time">
2017年7月12日
</span>
</div>
</header>
<div class="post-content">
<h1 id="关于框架"><a href="#关于框架" class="headerlink" title="关于框架"></a>关于框架</h1><p>想了好几天React和Vue的区别,直到现在也没弄清楚两者到底有什么本质上的不同。期间也问了几个技术不错的小伙伴,得到的回复完全不是我期待的答案。网络上,很多人用React、Vue写项目,我真的很怀疑是否有这个必要?这些人有想过React适合什么类型的项目,用来解决什么问题了吗?还是只是盲目跟风,因为它火,所以我要用?</p>
<p>对于框架的选择,虽然跟随流行趋势是个不错的做法。但是在这个浮躁的阶段,任何框架感觉都不可全信。原本好好的技术领域,因为这些所谓的框架之争,到处搞营销,坑了一批又一批人。</p>
<p>还是仔细分析项目的架构,选择合适的框架,比盲从地跟随潮流更有用。<br>
<div class="read-more">
<a href="/2017/07/12/About framework and learning/" class="read-more-link">阅读更多</a>
</div>
</p></div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2017/06/13/macOS Kernel Debug/">macOS Kernel Debug</a>
</h1>
<div class="post-meta">
<span class="post-time">
2017年6月13日
</span>
</div>
</header>
<div class="post-content">
<h1 id="macOS内核/驱动调试"><a href="#macOS内核/驱动调试" class="headerlink" title="macOS内核/驱动调试"></a>macOS内核/驱动调试</h1><p>之前做题时遇到了这种需要进入调试内核模式的题,来回顾记录下过程。<br>
<div class="read-more">
<a href="/2017/06/13/macOS Kernel Debug/" class="read-more-link">阅读更多</a>
</div>
</p></div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2017/06/04/Dump ELF With Format String Vulnerability/">Dump ELF With Format String Vulnerability</a>
</h1>
<div class="post-meta">
<span class="post-time">
2017年6月4日
</span>
</div>
</header>
<div class="post-content">
<h1 id="使用格式化串攻击来dump服务器上的程序"><a href="#使用格式化串攻击来dump服务器上的程序" class="headerlink" title="使用格式化串攻击来dump服务器上的程序"></a>使用格式化串攻击来dump服务器上的程序</h1><p>之前一直以为fmt能泄漏的的就是canary了,直到这次pwnhub遇到没有给样本程序的pwn比赛。这里先泄漏程序,再去分析程序写exp,拿到服务器权限。<br>
<div class="read-more">
<a href="/2017/06/04/Dump ELF With Format String Vulnerability/" class="read-more-link">阅读更多</a>
</div>
</p></div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2017/05/07/execute shellcode with mmap and mprotect/">execute shellcode with mmap and mprotect</a>
</h1>
<div class="post-meta">
<span class="post-time">
2017年5月7日
</span>
</div>
</header>
<div class="post-content">
<h1 id="利用mmap和mprotect来任意执行shellcode"><a href="#利用mmap和mprotect来任意执行shellcode" class="headerlink" title="利用mmap和mprotect来任意执行shellcode"></a>利用mmap和mprotect来任意执行shellcode</h1><p>此前一直只了解了下原理,没有实际执行过,结果遇到题目后花时间去查它们的详细参数,因此这里记录总结下。</p>
<div class="read-more">
<a href="/2017/05/07/execute shellcode with mmap and mprotect/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
<article class="post">
<header class="post-header">
<h1 class="post-title">
<a class="post-link" href="/2017/05/04/operation not permitted with root/">operation not permitted with root</a>
</h1>
<div class="post-meta">
<span class="post-time">
2017年5月4日
</span>
</div>
</header>
<div class="post-content">
<h1 id="operation-not-permitted"><a href="#operation-not-permitted" class="headerlink" title="operation not permitted"></a>operation not permitted</h1><p>在Mac下root权限操作仍旧得到”operation not permitted”提示</p>
<p>重启按住<code>Command+R</code>进入恢复模式<br><code>csrutil disable</code><br>再重启进入系统即可解决。<br>详细原因是…</p>
<blockquote>
<ul>
<li>by hook</li>
</ul>
</blockquote>
<div class="read-more">
<a href="/2017/05/04/operation not permitted with root/" class="read-more-link">阅读更多</a>
</div>
</div>
</article>
</section>
<nav class="pagination">
<a class="next" href="/page/2/">
<span class="next-text">下一页</span>
<i class="iconfont icon-right"></i>
</a>
</nav>
</div>
</div>
</main>
<footer id="footer" class="footer">
<div class="social-links">
<a href="https://github.com/weeklyalgo4groups" class="iconfont icon-github" title="github"></a>
</div>
<div class="copyright">
<span class="power-by">
由 <a class="hexo-link" href="https://hexo.io/">Hexo</a> 强力驱动
</span>
<span class="theme-info">
主题 -
<a class="theme-link" href="https://github.com/ahonn/hexo-theme-even">Even</a>
</span>
<span class="copyright-year">
©
2017 -
2019
<span class="author">weeklyalgo.codes</span>
</span>
</div>
</footer>
<div class="back-to-top" id="back-to-top">
<i class="iconfont icon-up"></i>
</div>
</div>
<script type="text/javascript">
var duoshuoQuery = {short_name:"weeklyalgo"};
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.id = 'duoshuo-script';
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<script type="text/javascript" src="/lib/jquery/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="/lib/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript" src="/js/src/even.js?v=2.1.0"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=2.1.0"></script>
</body>
</html>