-
Notifications
You must be signed in to change notification settings - Fork 5
/
dns-protocol.html
570 lines (418 loc) · 23.6 KB
/
dns-protocol.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
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>DNS协议 – KINGX</title>
<meta name="description" content="DNS Protocol">
<meta name="keywords" content="protocol">
<!-- Twitter Cards -->
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://kingx.me/images/">
<meta name="twitter:title" content="DNS协议">
<meta name="twitter:description" content="DNS Protocol">
<meta name="twitter:creator" content="@https://twitter.com/KINGX_CN">
<!-- Open Graph -->
<meta property="og:locale" content="en_US">
<meta property="og:type" content="article">
<meta property="og:title" content="DNS协议">
<meta property="og:description" content="DNS Protocol">
<meta property="og:url" content="https://kingx.me/dns-protocol.html">
<meta property="og:site_name" content="KINGX">
<link rel="canonical" href="https://kingx.me/dns-protocol.html">
<link href="https://kingx.me/feed.xml" type="application/atom+xml" rel="alternate" title="KINGX Feed">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- For all browsers -->
<link rel="stylesheet" href="https://kingx.me/assets/css/main.css">
<!-- Webfonts -->
<link href="//fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic" rel="stylesheet" type="text/css">
<meta http-equiv="cleartype" content="on">
<!-- Load Modernizr -->
<script src="https://kingx.me/assets/js/vendor/modernizr-2.6.2.custom.min.js"></script>
<!-- Icons -->
<!-- 16x16 -->
<link rel="shortcut icon" href="https://kingx.me/favicon.ico">
<!-- 32x32 -->
<link rel="shortcut icon" href="https://kingx.me/favicon.png">
<!-- 57x57 (precomposed) for iPhone 3GS, pre-2011 iPod Touch and older Android devices -->
<link rel="apple-touch-icon-precomposed" href="https://kingx.me/images/apple-touch-icon-precomposed.png">
<!-- 72x72 (precomposed) for 1st generation iPad, iPad 2 and iPad mini -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://kingx.me/images/apple-touch-icon-72x72-precomposed.png">
<!-- 114x114 (precomposed) for iPhone 4, 4S, 5 and post-2011 iPod Touch -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="https://kingx.me/images/apple-touch-icon-114x114-precomposed.png">
<!-- 144x144 (precomposed) for iPad 3rd and 4th generation -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://kingx.me/images/apple-touch-icon-144x144-precomposed.png">
<style type="text/css">body {background-image:url(https://kingx.me/images/triangular.png);}</style>
</head>
<body id="post" >
<!--[if lt IE 9]><div class="upgrade"><strong><a href="http://whatbrowser.org/">Your browser is quite old!</strong> Why not upgrade to a different browser to better enjoy this site?</a></div><![endif]-->
<nav id="dl-menu" class="dl-menuwrapper" role="navigation">
<button class="dl-trigger">Open Menu</button>
<ul class="dl-menu">
<li><a href="https://kingx.me/">Home</a></li>
<li>
<a href="#">About</a>
<ul class="dl-submenu">
<li>
<img src="https://kingx.me/images/avatar.jpg" alt="KINGX photo" class="author-photo">
<h4>KINGX</h4>
<p>What is Security</p>
</li>
<li><a href="https://kingx.me/about/"><span class="btn btn-inverse">Learn More</span></a></li>
<li>
<a href="mailto:root#kingx.me"><i class="fa fa-fw fa-envelope"></i> Email</a>
</li>
<li>
<a href="https://twitter.com/KINGX_CN"><i class="fa fa-fw fa-twitter"></i> Twitter</a>
</li>
<li>
<a href="https://weibo.com/u/1624430122"><i class="fa fa-fw fa-weibo"></i> Weibo</a>
</li>
<li>
<a href="https://github.com/KINGX-Code"><i class="fa fa-fw fa-github"></i> GitHub</a>
</li>
</ul><!-- /.dl-submenu -->
</li>
<!-- <li>
<a href="#">Posts</a>
<ul class="dl-submenu">
<li><a href="https://kingx.me/posts/">All Posts</a></li>
<li><a href="https://kingx.me/tags/">All Tags</a></li>
</ul>
</li> -->
<li><a href="https://kingx.me/latest-events/" >Security Incidents</a></li>
<li><a href="https://kingx.me/latest-vulns/" >Vulnerabilities</a></li>
<li><a href="https://kingx.me/pentest-tools/" >Red Team</a></li>
<li><a href="https://kingx.me/cheatsheet/" >CheatSheet</a></li>
<li><a href="https://kingx.me/stop-learning/" >Stop Learning</a></li>
<li><a href="https://kingx.me/posts/" >Archives</a></li>
<li><a href="https://kingx.me/tags/" >Tags</a></li>
<li><a href="https://kingx.me/links/" >Links</a></li>
<li><a href="https://kingx.me/feed.xml" >RSS</a></li>
</ul><!-- /.dl-menu -->
</nav><!-- /.dl-menuwrapper -->
<div id="main" role="main">
<article class="hentry">
<header class="header-title">
<div class="header-title-wrap">
<h1 class="entry-title"><a href="https://kingx.me/dns-protocol.html" rel="bookmark" title="DNS协议">DNS协议</a></h1>
<h2><span class="entry-date date published"><time datetime="2017-07-11T00:00:00-04:00">July 11, 2017, KINGX</time></span></h2>
<p class="entry-reading-time">
<i class="fa fa-clock-o"></i>
Reading time ~3 minutes
<span id="busuanzi_container_page_pv">
/ Page View <span id="busuanzi_value_page_pv">0</span> / Site Visitor <span id="busuanzi_value_site_uv">0</span>
</span>
</p><!-- /.entry-reading-time -->
</div><!-- /.header-title-wrap -->
</header>
<div class="entry-content">
<span class="entry-tags" style="color:red;font-size:13px;margin-bottom: 0px;">「声明:本博客中涉及到的相关漏洞均为官方已经公开并修复的漏洞,涉及到的安全技术也仅用于企业安全建设和安全对抗研究。本文仅限业内技术研究与讨论,严禁用于非法用途,否则产生的一切后果自行承担。」</span>
<h1 id="0x01-前言">0x01 前言</h1>
<p>RFC1035文档:<a href="https://tools.ietf.org/html/rfc1035">https://tools.ietf.org/html/rfc1035</a></p>
<p>使用DNS作为RESTWeb服务的发现机制
https://www.oschina.net/translate/rest-discovery-dns?print</p>
<p>DNS协议分析
http://www.cnblogs.com/549294286/p/5172448.html</p>
<p>一些DNS介绍也可以参考这个论文
http://www.docin.com/p-1127048201.html</p>
<p>顶级域名:
https://www.iana.org/domains/root/db</p>
<h2 id="名词说明">名词说明</h2>
<p><strong>LABEL</strong> - 域名中的每一节,如:label.label.label 。</p>
<p>允许的字符范围为:字母、-、数字。Tips: 有些例外,比如DNS发现服务的PTR中会包含下划线,如: _udp.C</p>
<p><strong>NAMES</strong> - 域名名称。</p>
<p><strong>MESSAGE</strong> - DNS消息数据包,如请求包、响应包等。</p>
<p><strong>RR</strong> - ResourceRecord(资源记录),表示一条DNS记录。在DNS消息数据包中,有多处会包含RR记录。比如:响应类型的DNS消息数据包中Answer部分,包含了多个ResourceRecord资源记录,作为对DNS请求中的问题的回答。</p>
<h2 id="大小限制">大小限制</h2>
<p>一些对象和参数在DNS中存在大小限制。如下:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>labels 63 octets or less
names 255 octets or less
TTL positive values of a signed 32 bit number.
UDP messages 512 octets or less
</code></pre></div></div>
<h1 id="0x02-domain-name-space-和-rr-的定义">0x02 Domain Name Space 和 RR 的定义</h1>
<h2 id="name-space">Name Space</h2>
<p>域名均使用一个label序列来表示,如:xxx.yyy.com。每个label最前面,会有一个八位字节来表示这个label的长度,如:xxx表示为 3xxx。每个域名都以空label结束,也就是使用一个值为0的长度字节为终结。表示长度的八位字节,前两位必须为0,剩下只有6位,这样就限制了每个label最大长度为63个字节。</p>
<p>简单实现下,域名的总长度(label字节 和 表示label长度的字节)限制为最多255个字节。</p>
<p>虽然label可以包含任意8bit的值,但还是强烈建议使用本文中推荐的语法,来兼容现有的主机命名约定。</p>
<h2 id="rr的定义resource-record">RR的定义(Resource Record)</h2>
<h3 id="格式">格式</h3>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code> 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| |
/ /
/ NAME /
| |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| TYPE |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| CLASS |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| TTL |
| |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| RDLENGTH |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--|
/ RDATA /
/ /
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
</code></pre></div></div>
<table>
<thead>
<tr>
<th>字段</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>NAME</td>
<td>an owner name, i.e., the name of the node to which this resource record pertains.</td>
</tr>
<tr>
<td>TYPE</td>
<td>两个八位字节</td>
</tr>
<tr>
<td>CLASS</td>
<td>两个八位字节</td>
</tr>
<tr>
<td>TTL</td>
<td>32位有符号整型</td>
</tr>
<tr>
<td>RDLENGTH</td>
<td>无符号16位整型。表示了RDATA的长度。</td>
</tr>
<tr>
<td>RDATA</td>
<td>可变长度的资源描述字符串。这个信息的格式,随着ResourceRecord的TYPE和CLASS而变化。</td>
</tr>
</tbody>
</table>
<h3 id="type-取值范围">TYPE 取值范围</h3>
<p>TYPE字段出现在ResourceRecord记录中。 这些类型是QTYPEs的一个子集。</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>TYPE value and meaning
A 1 a host address
NS 2 an authoritative name server
MD 3 a mail destination (Obsolete - use MX)
MF 4 a mail forwarder (Obsolete - use MX)
CNAME 5 the canonical name for an alias
SOA 6 marks the start of a zone of authority
MB 7 a mailbox domain name (EXPERIMENTAL)
MG 8 a mail group member (EXPERIMENTAL)
MR 9 a mail rename domain name (EXPERIMENTAL)
NULL 10 a null RR (EXPERIMENTAL)
WKS 11 a well known service description
PTR 12 引导至一个规范名称(Canonical Name)。与 CNAME 记录不同,DNS“不会”进行进程,只会传回名称。最常用来运行反向 DNS 查找,其他用途包括引作 DNS-SD
HINFO 13 host information
MINFO 14 mailbox or mail list information
MX 15 mail exchange
TXT 16 text strings
AFSDB 18 (Andrew File System)数据库核心的位置,于域名以外的 AFS 客户端常用来联系 AFS 核心。这个记录的子类型是被过时的的 DCE/DFS(DCE Distributed File System)所使用。
AAAA 28 传回一个 128 比特的 IPv6 地址,最常用于映射主机名称到 IP 地址
SRV 33 Server Selection
APL 42 指定地址列表的范围,例如:CIDR 格式为各个类型的地址(试验性)。
</code></pre></div></div>
<h3 id="qtype-取值范围">QTYPE 取值范围</h3>
<p>QTYPE字段出现在DNS请求的Question部分。QTYPES是TYPEs的超集。另外, 还定义了如下QTYPEs:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>AXFR 252 A request for a transfer of an entire zone
MAILB 253 A request for mailbox-related records (MB, MG or MR)
MAILA 254 A request for mail agent RRs (Obsolete - see MX)
* 255 A request for all records
</code></pre></div></div>
<h3 id="class-取值范围">CLASS 取值范围</h3>
<p>CLASS字段出现在ResourceRecord记录中,定义了如下CLASS的助记符和值:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>IN 1 the Internet
CS 2 the CSNET class (Obsolete - used only for examples in
some obsolete RFCs)
CH 3 the CHAOS class
HS 4 Hesiod [Dyer 87]
</code></pre></div></div>
<h3 id="qclass-取值范围">QCLASS 取值范围</h3>
<p>QCLASS字段出现在请求的Question部分中。QCLASS是CLASS的超集。除了合法的CLASS取值之外,QCLASS还定义了如下值:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>* 255 any class
</code></pre></div></div>
<h1 id="0x03-message">0x03 Message</h1>
<h2 id="message-格式">Message 格式</h2>
<p>所有DNS协议的通信都包含在message格式中<sup id="fnref:1"><a href="#fn:1" class="footnote">1</a></sup>。message的顶层结构分为5个部分。某些情况下,有的部分可以为空。</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>+---------------------+
| Header |
+---------------------+
| Question | the question for the name server
+---------------------+
| Answer | RRs answering the question
+---------------------+
| Authority | RRs pointing toward an authority
+---------------------+
| Additional | RRs holding additional information
+---------------------+
</code></pre></div></div>
<p>Header部分为必须结构,Header中也指定了消息中包含了剩下的哪几部分。并指定了消息类型(请求还是响应、标准请求或者其他opcode)。</p>
<p>Question部分包含了向NameServer请求的问题描述,这些描述字段有:请求类型 (QTYPE), 请求 class (QCLASS), 请求域名 (QNAME)。</p>
<p>剩下三个部分结构相同:多个RR(Resource Record)连接组成的列表(可能为空)。</p>
<ol>
<li>Answer 部分包含了针对请求问题的响应内容,同样为一个或多个RR记录组成的列表。</li>
<li>Authority 部分包含了RR记录指向权威的NS域名服务器。</li>
<li>Additional 部分包含了与请求相关答案的RR记录,但这不是严格的答案。</li>
</ol>
<h2 id="question-格式">Question 格式</h2>
<p>Question部分用来承载DNS请求中的问题内容。这个部分包含 QDCOUNT 项(QDCOUNT在Message的Header中,通常为1), 每一项的格式为:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code> 1 1 1 1 1 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| |
/ QNAME /
/ /
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| QTYPE |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| QCLASS |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
</code></pre></div></div>
<table>
<thead>
<tr>
<th>字段</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>QNAME</td>
<td>a domain name represented as a sequence of labels, where each label consists of a length octet followed by that number of octets. The domain name terminates with the zero length octet for the null label of the root. Note that this field may be an odd number of octets; no padding is used.</td>
</tr>
<tr>
<td>QTYPE</td>
<td>a two octet code which specifies the type of the query.The values for this field include all codes valid for a TYPE field, together with some more general codes which can match more than one type of RR.</td>
</tr>
<tr>
<td>QCLASS</td>
<td>a two octet code that specifies the class of the query.For example, the QCLASS field is IN for the Internet.</td>
</tr>
</tbody>
</table>
<h2 id="answer">Answer</h2>
<p>一个响应包含多条内容,如响应多个IPv6地址。
问题为A请求,响应中也可能是多种其他类型的响应记录。</p>
<h1 id="0x04-域名命名">0x04 域名命名</h1>
<p>顶级域 TLD Top-level Domain</p>
<p>顶级域主要分4类:</p>
<ul>
<li>国家及地区顶级域</li>
<li>通用顶级域</li>
<li>基础建设顶级域(.arpa<以美国军方arpa网命名>,过去曾包括在“通用顶级域”内)
1987年RFC1034
2000年arpa被重新定义为:Address and Routing Parameter Area</以美国军方arpa网命名></li>
<li>测试顶级域(例如繁体的 http://例子.测试/ 及简体的 http://例子.测试/</li>
</ul>
<p>https://www.zhihu.com/question/21310402</p>
<p>顶级域名:
https://www.iana.org/domains/root/db</p>
<h1 id="0x05-dns反向解析---arpa">0x05 DNS反向解析 - arpa</h1>
<p>https://stackoverflow.com/questions/23981098/how-forward-and-reverse-dns-works</p>
<p>infrastructure top-level domain
基础建设顶级域(.arpa<以美国军方arpa网命名>,过去曾包括在“通用顶级域”内)
1987年RFC1034
2000年arpa被重新定义为:Address and Routing Parameter Area</以美国军方arpa网命名></p>
<p>arpa also contains the domains for reverse domain name resolution in-addr.arpa and ip6.arpa for IPv4 and IPv6, respectively.</p>
<h1 id="0x06-public-suffix-list">0x06 Public Suffix List</h1>
<p>https://publicsuffix.org/list/public_suffix_list.dat</p>
<h1 id="0x07-akadnsnet-等一系列dns负载均衡">0x07 akadns.net 等一系列DNS负载均衡?</h1>
<p>https://answers.yahoo.com/question/index?qid=20060806160840AAykHcT
https://en.wikipedia.org/wiki/Load_balancing_%28computing%29</p>
<h1 id="0x07-服务发现">0x07 服务发现</h1>
<p>使用DNS作为RESTWeb服务的发现机制
https://www.oschina.net/translate/rest-discovery-dns?print</p>
<h1 id="reference">Reference</h1>
<div class="footnotes">
<ol>
<li id="fn:1">
<p>http://www.cnblogs.com/pied/p/3571055.html <a href="#fnref:1" class="reversefootnote">↩</a></p>
</li>
</ol>
</div>
<footer class="entry-meta">
<span class="entry-tags" style="color:black;font-size:13px;margin-bottom: 0px;">欢迎订阅我的微信公众号</span>
<img src="/images/secengine.jpg" alt="welcome subscribe"/>
<span class="entry-tags"><a href="https://kingx.me/tags/#protocol" title="Pages tagged protocol" class="tag"><span class="term">protocol</span></a></span>
<div class="social-share">
<ul class="socialcount socialcount-small inline-list">
<li class="weibo"><a href="http://service.weibo.com/share/share.php?title=分享KINGX的文章《DNS协议》&url=https://kingx.me/dns-protocol.html&source=bookmark" title="Share on Weibo" target="_blank"><span class="count"><i class="fa fa-weibo"></i> WEIBO</span></a></li>
<li class="facebook"><a href="https://www.facebook.com/sharer/sharer.php?u=https://kingx.me/dns-protocol.html" title="Share on Facebook"><span class="count"><i class="fa fa-facebook-square"></i> Like</span></a></li>
<li class="twitter"><a href="https://twitter.com/intent/tweet?text=https://kingx.me/dns-protocol.html" title="Share on Twitter"><span class="count"><i class="fa fa-twitter-square"></i> Tweet</span></a></li>
<li class="googleplus"><a href="https://plus.google.com/share?url=https://kingx.me/dns-protocol.html" title="Share on Google Plus"><span class="count"><i class="fa fa-google-plus-square"></i> +1</span></a></li>
</ul>
</div><!-- /.social-share -->
<!--
<div class="ds-share" data-thread-key="/dns-protocol" data-title="DNS协议" data-images="" data-content="DNS协议" data-url="https://kingx.me/dns-protocol.html">
<div class="ds-share-inline">
<ul class="ds-share-icons-16">
<li data-toggle="ds-share-icons-more"><a class="ds-more" href="javascript:void(0);">分享到:</a></li>
<li><a class="ds-weibo" href="javascript:void(0);" data-service="weibo">微博</a></li>
<li><a class="ds-qzone" href="javascript:void(0);" data-service="qzone">QQ空间</a></li>
<li><a class="ds-qqt" href="javascript:void(0);" data-service="qqt">腾讯微博</a></li>
<li><a class="ds-wechat" href="javascript:void(0);" data-service="wechat">微信</a></li>
</ul>
<div class="ds-share-icons-more">
</div>
</div>
</div>
-->
</footer>
</div><!-- /.entry-content -->
<div class="read-more">
<div class="read-more-header">
<a href="https://kingx.me/spark-programming-handbook.html" class="read-more-btn">Read More</a>
</div><!-- /.read-more-header -->
<div class="read-more-content">
<h3><a href="https://kingx.me/Patch-log4j.html" title="Log4j 严重漏洞修复方案参考 CVE-2021-44228">Log4j 严重漏洞修复方案参考 CVE-2021-44228</a></h3>
<p>CVE-2021-44228 <a href="https://kingx.me/Patch-log4j.html">Continue reading</a></p>
</div><!-- /.read-more-content -->
<div class="read-more-list">
<div class="list-item">
<h4><a href="https://kingx.me/Thinking-about-the-RedTeam-Engagement.html" title="浅谈大规模红蓝对抗攻与防">浅谈大规模红蓝对抗攻与防</a></h4>
<span>Published on October 12, 2020</span>
</div><!-- /.list-item -->
<div class="list-item">
<h4><a href="https://kingx.me/Exploit-FastJson-Without-Reverse-Connect.html" title="Java动态类加载,当FastJson遇到内网">Java动态类加载,当FastJson遇到内网</a></h4>
<span>Published on December 31, 2019</span>
</div><!-- /.list-item -->
</div><!-- /.read-more-list -->
</div><!-- /.read-more -->
</article>
</div><!-- /#main -->
<div class="footer-wrapper">
<footer role="contentinfo">
<span>© 2023 KINGX. Powered by Jekyll using the HPSTR Theme.</span>
</footer>
</div><!-- /.footer-wrapper -->
<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>-->
<!-- <script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="https://kingx.me/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="https://kingx.me/assets/js/scripts.min.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
if(location.host=="kingx.me"){
hm.src = "https://hm.baidu.com/hm.js?d11d8512e0bc6992b9c9bbf2d266ce31";
}else if(location.host=="kingx.sinaapp.com"){
hm.src = "https://hm.baidu.com/hm.js?d1b3dbd97b73868454f102755fdf51ba";
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!-- Busuanzi Analytics -->
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
</body>
</html>