<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>软件技术栈 &#8211; 编码无悔 /  Intent &amp; Focused</title>
	<atom:link href="https://www.codelast.com/tag/%e8%bd%af%e4%bb%b6%e6%8a%80%e6%9c%af%e6%a0%88/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codelast.com</link>
	<description>最优化之路</description>
	<lastBuildDate>Tue, 29 Sep 2026 06:54:03 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>[原创] 有些Windows软件的技术栈真的好老</title>
		<link>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e6%9c%89%e4%ba%9bwindows%e8%bd%af%e4%bb%b6%e7%9a%84%e6%8a%80%e6%9c%af%e6%a0%88%e7%9c%9f%e7%9a%84%e5%a5%bd%e8%80%81/</link>
					<comments>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e6%9c%89%e4%ba%9bwindows%e8%bd%af%e4%bb%b6%e7%9a%84%e6%8a%80%e6%9c%af%e6%a0%88%e7%9c%9f%e7%9a%84%e5%a5%bd%e8%80%81/#respond</comments>
		
		<dc:creator><![CDATA[learnhard]]></dc:creator>
		<pubDate>Tue, 29 Sep 2026 06:54:03 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[AxMath]]></category>
		<category><![CDATA[移植Linux]]></category>
		<category><![CDATA[软件技术栈]]></category>
		<guid isPermaLink="false">https://www.codelast.com/?p=14273</guid>

					<description><![CDATA[<section data-tool="markdown2wechat编辑器" data-website="https://aizhuanqian.com" id="nice" style="font-size: 16px; padding: 0px 10px; line-height: 1.6; letter-spacing: 0px; word-break: break-word; overflow-wrap: break-word; font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;">
<h1 data-tool="mdnice编辑器" style="margin-top: 30px; margin-bottom: 15px; padding: 0px; font-size: 24px;">
	<span class="content">有些Windows软件的技术栈真的好老</span></h1>
<blockquote data-tool="mdnice编辑器" style="font-size: 0.9em; overflow: auto; border-left: 3px solid rgba(0, 0, 0, 0.4); background: rgba(0, 0, 0, 0.05); color: rgb(106, 115, 125); padding: 10px 10px 10px 20px; margin-bottom: 20px; margin-top: 20px;">
<p style="font-size: 16px; padding-top: 8px; padding-bottom: 8px; margin: 0px; color: black; line-height: 26px;">
		一个 2025 年 7 月发布的安装包，拆开一看，内核停留在 2008 年。</p>
</blockquote>
<h2 data-tool="mdnice编辑器" style="margin-top: 30px; margin-bottom: 15px; padding: 0px; font-size: 22px;">
	<span class="content">1、起因：只是想看看能不能搬到 Linux</span></h2>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	事情很简单。我手上有一个 Windows 安装包 <code style="font-size: 14px; word-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: #1e6bb8; background-color: rgba(27,31,35,.05); font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; word-break: break-all;">AxMath_Setup_Win_20250713_EN.exe</code>（AxMath，一款小众的数学公式编辑器），我是它的正版注册用户，但我想着能不能在Ubuntu下，用非Wine的方式、非虚拟机的方式使用它呢？这就涉及把它移植到Ubuntu的问题了&#8212;&#8212;如果它是基于Electron之类跨平台的框架开发的，那还真有可能。</p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	文件名里写着 20250713，也就是 2025 年 7 月发布的版本。</p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	所以就把它拆包看看。<br />
	<span id="more-14273"></span></p>
<h2 data-tool="mdnice编辑器" style="margin-top: 30px; margin-bottom: 15px; padding: 0px; font-size: 22px;">
	<span class="content">2、拆开之后：考古现场</span></h2>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	安装包是 NSIS 自解压格式，用 <code style="font-size: 14px; word-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: #1e6bb8; background-color: rgba(27,31,35,.05); font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; word-break: break-all;">7z</code> 一把就解开了：</p>
<pre class="custom" data-tool="mdnice编辑器" style="margin-top: 10px; margin-bottom: 10px;">
<code class="hljs" style="display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px; -webkit-overflow-scrolling: touch;">7z&#160;x&#160;AxMath_Setup_Win_20250713_EN.exe&#160;-o&#160;extracted
</code></pre>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	里面的东西很有意思：</p>
<pre class="custom" data-tool="mdnice编辑器" style="margin-top: 10px; margin-bottom: 10px;">
<code class="hljs" style="display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px; -webkit-overflow-scrolling: touch;">AxMath.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;主程序
AxSnap.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;截图/OCR&#160;工具
Register.exe&#160;&#160;&#160;&#160;&#160;&#160;授权注册
AxLaTeX.dll&#160;&#160;&#160;&#160;&#160;&#160;&#160;LaTeX&#160;渲染
AxBDH.dll&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Office&#160;桥接
Microsoft.VC90.MFC/mfc90u.dll&#160;&#160;&#160;&#160;&#160;&#160;&#8592;&#160;注意这个
gdiplus.assembly/GdiPlus.dll
libeay32.dll&#160;/&#160;ssleay32.dll&#160;/&#160;libcurl.dll
</code></pre>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	<code style="font-size: 14px; word-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: #1e6bb8; background-color: rgba(27,31,35,.05); font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; word-break: break-all;">Microsoft.VC90.MFC</code> 这个目录名就是线索：<strong style="font-weight: bold;">VC90 = Visual C++ 2008</strong>。也就是说，这个 2025 年的软件，跑在 2008 年的运行时上。<br />
	<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a></p>&#8230; <a href="https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e6%9c%89%e4%ba%9bwindows%e8%bd%af%e4%bb%b6%e7%9a%84%e6%8a%80%e6%9c%af%e6%a0%88%e7%9c%9f%e7%9a%84%e5%a5%bd%e8%80%81/" class="read-more">Read More </a></section>]]></description>
										<content:encoded><![CDATA[<section data-tool="markdown2wechat编辑器" data-website="https://aizhuanqian.com" id="nice" style="font-size: 16px; padding: 0px 10px; line-height: 1.6; letter-spacing: 0px; word-break: break-word; overflow-wrap: break-word; font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;">
<h1 data-tool="mdnice编辑器" style="margin-top: 30px; margin-bottom: 15px; padding: 0px; font-size: 24px;">
	<span class="content">有些Windows软件的技术栈真的好老</span></h1>
<blockquote data-tool="mdnice编辑器" style="font-size: 0.9em; overflow: auto; border-left: 3px solid rgba(0, 0, 0, 0.4); background: rgba(0, 0, 0, 0.05); color: rgb(106, 115, 125); padding: 10px 10px 10px 20px; margin-bottom: 20px; margin-top: 20px;">
<p style="font-size: 16px; padding-top: 8px; padding-bottom: 8px; margin: 0px; color: black; line-height: 26px;">
		一个 2025 年 7 月发布的安装包，拆开一看，内核停留在 2008 年。</p>
</blockquote>
<h2 data-tool="mdnice编辑器" style="margin-top: 30px; margin-bottom: 15px; padding: 0px; font-size: 22px;">
	<span class="content">1、起因：只是想看看能不能搬到 Linux</span></h2>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	事情很简单。我手上有一个 Windows 安装包 <code style="font-size: 14px; word-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: #1e6bb8; background-color: rgba(27,31,35,.05); font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; word-break: break-all;">AxMath_Setup_Win_20250713_EN.exe</code>（AxMath，一款小众的数学公式编辑器），我是它的正版注册用户，但我想着能不能在Ubuntu下，用非Wine的方式、非虚拟机的方式使用它呢？这就涉及把它移植到Ubuntu的问题了&mdash;&mdash;如果它是基于Electron之类跨平台的框架开发的，那还真有可能。</p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	文件名里写着 20250713，也就是 2025 年 7 月发布的版本。</p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	所以就把它拆包看看。<br />
	<span id="more-14273"></span></p>
<h2 data-tool="mdnice编辑器" style="margin-top: 30px; margin-bottom: 15px; padding: 0px; font-size: 22px;">
	<span class="content">2、拆开之后：考古现场</span></h2>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	安装包是 NSIS 自解压格式，用 <code style="font-size: 14px; word-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: #1e6bb8; background-color: rgba(27,31,35,.05); font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; word-break: break-all;">7z</code> 一把就解开了：</p>
<pre class="custom" data-tool="mdnice编辑器" style="margin-top: 10px; margin-bottom: 10px;">
<code class="hljs" style="display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px; -webkit-overflow-scrolling: touch;">7z&nbsp;x&nbsp;AxMath_Setup_Win_20250713_EN.exe&nbsp;-o&nbsp;extracted
</code></pre>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	里面的东西很有意思：</p>
<pre class="custom" data-tool="mdnice编辑器" style="margin-top: 10px; margin-bottom: 10px;">
<code class="hljs" style="display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px; -webkit-overflow-scrolling: touch;">AxMath.exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;主程序
AxSnap.exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;截图/OCR&nbsp;工具
Register.exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;授权注册
AxLaTeX.dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LaTeX&nbsp;渲染
AxBDH.dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Office&nbsp;桥接
Microsoft.VC90.MFC/mfc90u.dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&larr;&nbsp;注意这个
gdiplus.assembly/GdiPlus.dll
libeay32.dll&nbsp;/&nbsp;ssleay32.dll&nbsp;/&nbsp;libcurl.dll
</code></pre>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	<code style="font-size: 14px; word-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: #1e6bb8; background-color: rgba(27,31,35,.05); font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; word-break: break-all;">Microsoft.VC90.MFC</code> 这个目录名就是线索：<strong style="font-weight: bold;">VC90 = Visual C++ 2008</strong>。也就是说，这个 2025 年的软件，跑在 2008 年的运行时上。<br />
	<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a></p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	再用 <code style="font-size: 14px; word-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: #1e6bb8; background-color: rgba(27,31,35,.05); font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; word-break: break-all;">objdump</code> 一验，实锤：</p>
<section class="table-container" data-tool="mdnice编辑器" style="overflow-x: auto;">
<table>
<thead>
<tr style="border: 0; border-top: 1px solid #ccc; background-color: white;">
<th style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; text-align: left; background-color: rgb(240, 240, 240); min-width: 85px;">
				项目</th>
<th style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; text-align: left; background-color: rgb(240, 240, 240); min-width: 85px;">
				实测值</th>
<th style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; text-align: left; background-color: rgb(240, 240, 240); min-width: 85px;">
				含义</th>
</tr>
</thead>
<tbody style="border: 0;">
<tr style="border: 0; border-top: 1px solid #ccc; background-color: white;">
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				PE 架构</td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				PE32 (x86)</td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<strong style="font-weight: bold;">32 位</strong></td>
</tr>
<tr style="border: 0; border-top: 1px solid #ccc; background-color: #F8F8F8;">
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				MajorLinkerVersion</td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<strong style="font-weight: bold;">9.0</strong></td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				Visual Studio<strong style="font-weight: bold;">2008</strong> 的链接器</td>
</tr>
<tr style="border: 0; border-top: 1px solid #ccc; background-color: white;">
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				附带运行库</td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<code>mfc90u.dll</code></td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				MFC 9.0 = VC++ 2008</td>
</tr>
<tr style="border: 0; border-top: 1px solid #ccc; background-color: #F8F8F8;">
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				主程序时间戳</td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<strong style="font-weight: bold;">2025-07-13</strong></td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				编译日期很新</td>
</tr>
<tr style="border: 0; border-top: 1px solid #ccc; background-color: white;">
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				捆绑 OpenSSL</td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<strong style="font-weight: bold;">1.0.2d（2015-07-09）</strong></td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				早已 EOL</td>
</tr>
<tr style="border: 0; border-top: 1px solid #ccc; background-color: #F8F8F8;">
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				捆绑 libcurl</td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<strong style="font-weight: bold;">7.45.0（2015）</strong></td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				十年前的东西</td>
</tr>
</tbody>
</table>
</section>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	一边是 2025 年的时间戳，一边是 2008 年的工具链和 2015 年的第三方库。</p>
<h2 data-tool="mdnice编辑器" style="margin-top: 30px; margin-bottom: 15px; padding: 0px; font-size: 22px;">
	<span class="content">3、2025年的软件版本竟然还是32位的</span></h2>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	很多人的第一反应是：2025年的版本还是32位的？但对这类软件来说，这几乎是必然的。</p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	<strong style="font-weight: bold;">3.1 迁移成本和收益不成比例</strong> 一个 MFC 老代码库要从 32 位迁到 64 位、从 VC9 迁到新工具链，构建脚本、第三方依赖、COM 注册&hellip;&hellip;全都得动。而 32 位程序在 64 位 Windows 上靠 WOW64 照样跑，用户完全无感，对小软件团队来说没动力迁移。</p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	<strong style="font-weight: bold;">3.2 Office 加载项的&quot;位数枷锁&quot;</strong> AxMath 的核心价值是嵌进 Word / Excel / WPS。它的 COM 组件必须和宿主 Office 的位数一致，而 32 位 Office / WPS 装机量巨大&mdash;&mdash;跟着做 32 位最省事。解包里能看到一堆加载项：</p>
<pre class="custom" data-tool="mdnice编辑器" style="margin-top: 10px; margin-bottom: 10px;">
<code class="hljs" style="display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px; -webkit-overflow-scrolling: touch;">AxMath.dotm&nbsp;&nbsp;&nbsp;&rarr;&nbsp;Word（含&nbsp;VBA&nbsp;宏）
AxMath.xlam&nbsp;&nbsp;&nbsp;&rarr;&nbsp;Excel
AxMath.ppam&nbsp;&nbsp;&nbsp;&rarr;&nbsp;PowerPoint
WPS/STARTUP/AxMath.dotm&nbsp;&rarr;&nbsp;WPS
</code></pre>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	<strong style="font-weight: bold;">3.3 轻量应用根本用不上 64 位的好处</strong> 一个公式编辑器，内存占用远不到 2GB。64 位最大的优势（大内存寻址）在这儿毫无意义。<br />
	<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a></p>
<h2 data-tool="mdnice编辑器" style="margin-top: 30px; margin-bottom: 15px; padding: 0px; font-size: 22px;">
	<span class="content">4、安全问题</span></h2>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	技术栈老，本身只是&quot;不优雅&quot;。但当我们把范围从&quot;好不好看&quot;换成&quot;安不安全&quot;，问题就严肃了。</p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	<strong style="font-weight: bold;">4.1 授权走的是明文 HTTP</strong> <code style="font-size: 14px; word-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: #1e6bb8; background-color: rgba(27,31,35,.05); font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; word-break: break-all;">Register.exe</code> 里的联网地址是（注意是 UTF-16 宽字符存的，普通搜索搜不到）：</p>
<pre class="custom" data-tool="mdnice编辑器" style="margin-top: 10px; margin-bottom: 10px;">
<code class="hljs" style="display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px; -webkit-overflow-scrolling: touch;">http://www.axmath.cn:6150/@@@&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&larr;&nbsp;授权服务器
http://121.199.3.143:6150/@@@&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&larr;&nbsp;硬编码备用&nbsp;IP
</code></pre>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	激活码、机器指纹，就这么明文发出去了。在公共 WiFi 下，同网段的攻击者抓个包就能拿到激活码&mdash;&mdash;不需要任何漏洞利用技巧。</p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	<strong style="font-weight: bold;">4.2 2015 年的 OpenSSL 1.0.2d</strong> 这个版本之后修的所有 CVE 它都带着。比如 CVE-2016-2107（AES-NI padding oracle），中间人可以利用它解密 HTTPS 会话&mdash;&mdash;也就是说，&quot;用了 HTTPS&quot;在这个版本上并不等于安全。</p>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	<strong style="font-weight: bold;">4.3 承载漏洞的库没开内存防护</strong></p>
<section class="table-container" data-tool="mdnice编辑器" style="overflow-x: auto;">
<table>
<thead>
<tr style="border: 0; border-top: 1px solid #ccc; background-color: white;">
<th style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; text-align: left; background-color: rgb(240, 240, 240); min-width: 85px;">
				文件</th>
<th style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; text-align: left; background-color: rgb(240, 240, 240); min-width: 85px;">
				DllCharacteristics</th>
<th style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; text-align: left; background-color: rgb(240, 240, 240); min-width: 85px;">
				含义</th>
</tr>
</thead>
<tbody style="border: 0;">
<tr style="border: 0; border-top: 1px solid #ccc; background-color: white;">
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<code>Register.exe</code></td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				0x8140</td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				ASLR + DEP</td>
</tr>
<tr style="border: 0; border-top: 1px solid #ccc; background-color: #F8F8F8;">
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<code>libcurl.dll</code></td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				0x0140</td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				ASLR + DEP</td>
</tr>
<tr style="border: 0; border-top: 1px solid #ccc; background-color: white;">
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<code>libeay32.dll</code></td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<strong style="font-weight: bold;">0x0000</strong></td>
<td style="border-style: solid; border-color: rgb(204, 204, 204); padding: 5px 10px; min-width: 85px;">
				<strong style="font-weight: bold;">无 ASLR、无 DEP</strong></td>
</tr>
</tbody>
</table>
</section>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	名词解释：</p>
<ul data-tool="mdnice编辑器" style="margin-top: 8px; margin-bottom: 8px; padding-left: 25px;">
<li>
<section style="margin-top: 5px; margin-bottom: 5px; line-height: 26px; color: rgb(1, 1, 1);"><strong style="font-weight: bold; color: black;">ASLR</strong>（Address Space Layout Randomization，地址空间布局随机化）：每次程序启动时，把代码、数据、DLL 等加载到随机的内存地址。这样攻击者就无法预知某个函数或数据的固定地址，构造可靠的利用会变得困难。</section>
</li>
<li>
<section style="margin-top: 5px; margin-bottom: 5px; line-height: 26px; color: rgb(1, 1, 1);"><strong style="font-weight: bold; color: black;">DEP</strong>（Data Execution Prevention，数据执行保护，即 NX）：把内存里的数据区标记为&quot;不可执行&quot;。即使攻击者把恶意代码写进了内存，CPU 也会拒绝执行它，从而挡掉一大类&quot;写入即执行&quot;的攻击。</section>
</li>
</ul>
<p data-tool="mdnice编辑器" style="padding-top: 8px; padding-bottom: 8px; margin: 0px; line-height: 26px;">
	一旦 libcurl（7.45.0 存在越界写类漏洞，如 CVE-2016-8617）或 OpenSSL 触发内存破坏，这个&quot;裸奔&quot;的 DLL 会让利用门槛大幅降低。<br />
	<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
	<span style="color: rgb(255, 0, 0);">➤➤</span> 版权声明 <span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;<br />
	转载需注明出处：<u><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><em><span style="color: rgb(0, 0, 255);"><strong><span style="font-family: arial, helvetica, sans-serif;">codelast.com</span></strong></span></em></a></u>&nbsp;<br />
	感谢关注我的微信公众号（微信扫一扫）：<br />
	<img decoding="async" alt="wechat qrcode of codelast" src="https://www.codelast.com/codelast_wechat_qr_code.jpg" style="color: rgb(77, 77, 77); font-size: 13px; width: 200px; height: 200px;" /><br />
	以及我的微信视频号：</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 9px; outline: 0px; padding: 0px; color: rgb(77, 77, 77);">
	<img decoding="async" alt="" src="https://www.codelast.com/wechat_shipinhao_qr_code.jpg" style="text-align: center; width: 200px; height: 199px;" /></p>
</section>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e6%9c%89%e4%ba%9bwindows%e8%bd%af%e4%bb%b6%e7%9a%84%e6%8a%80%e6%9c%af%e6%a0%88%e7%9c%9f%e7%9a%84%e5%a5%bd%e8%80%81/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
