?? lesson1531.htm
字號(hào):
<font face="宋體" color="#000000">這次你將看到許多函數(shù),如</font> <font face="Times New Roman" color="#000000">Asc and Mid...</font>
<font face="宋體" color="#000000">,所以長(zhǎng)度是</font> <font face="Times New Roman" color="#000000">9</font>
<font face="宋體" color="#000000">位。</font> <br>
</span><span class="p9"><font face="宋體" color="#000000">光標(biāo)在</font> <font face="Times New Roman" color="#000000">Command1_Click</font>
<font face="宋體" color="#000000">一行,選擇</font> <font face="Times New Roman" color="#000000">"Show All Events"</font>
</span> <br>
<br>
</span><span class="p9"><font face="Times New Roman" color="#000000">1) Mid$(String:"999999999", long:1, VARIANT:Integer:1)</font>
<br>
</span><span class="p9"><font face="Times New Roman" color="#000000">**</font>
<font face="宋體" color="#000000">這意味著,取出你序列號(hào)的第一個(gè)字符。</font></span> <br>
<span class="p9"><font face="Times New Roman" color="#000000">2) __vbaVarTstNe(VARIANT:Const Double:9, VARIANT:String:"3")...</font>
<br>
</span><span class="p9"><font face="宋體" color="#000000">“</font> <font face="Times New Roman" color="#000000">3</font>
<font face="宋體" color="#000000">”是從哪來(lái)的?它同序列號(hào)的第一字符</font> <font face="Times New Roman" color="#000000">9</font>
<font face="宋體" color="#000000">比較。</font> <br>
</span><span class="p9"><font face="Times New Roman" color="#000000">**__vbaVarTstNe </font>
<font face="宋體" color="#000000">意味著不同變量進(jìn)行比較,看其是否相等。</font> <br>
</span><span class="p9"><font face="宋體" color="#000000">因此我們假設(shè)第一字符是</font>
<font face="Times New Roman" color="#000000">3.</font></span> <br>
<span class="p9"><font face="宋體" color="#000000">然后重輸入</font> <font face="Times New Roman" color="#000000">"399999999"</font>
<font face="宋體" color="#000000">重復(fù)上面的步驟,你將會(huì)看到更多的內(nèi)容。</font> <br>
</span><span class="p9"><font face="宋體" color="#000000">這次在第一個(gè)</font>
<font face="Times New Roman" color="#000000">__VbaVarTstNe</font> <font face="宋體" color="#000000">后面,將看到下面這行:</font>
</span> <br>
<span class="p9"><font face="Times New Roman" color="#000000">Mid$(String:"399999999", long:2, VARIANT:Integer:1)</font>
<br>
</span><span class="p9"><font face="Times New Roman" color="#000000">**</font>
<font face="宋體" color="#000000">意味著取出第二個(gè)字符</font> <font face="Times New Roman" color="#000000"> "9"</font>
<br>
</span><span class="p9"><font face="宋體" color="#000000">往下在其附近尋找:</font>
<br>
</span><span class="p9"><font face="Times New Roman" color="#000000">__vbaVarTstNe(VARIANT:Const Double:9, VARIANT:String:"0")...</font>
<br>
</span><span class="p9"><font face="宋體" color="#000000">神秘?cái)?shù)字</font>
<font face="Times New Roman" color="#000000">"0" </font>
<font face="宋體" color="#000000">出現(xiàn),這就是第二個(gè)字符。</font> <br>
</span><span class="p9"><font face="宋體" color="#000000">因此重復(fù)以上操作輸入</font>
<font face="Times New Roman" color="#000000">"309999999"</font>
<font face="宋體" color="#000000">,一直將</font> <font face="Times New Roman" color="#000000">9</font>
<font face="宋體" color="#000000">個(gè)數(shù)字全找出。</font> <br>
</span><span class="p9"><font face="宋體" color="#000000">最后序列號(hào)是:</font>
<font face="Times New Roman" color="#000000">301674501</font> </span></p>
<p> </p>
</td>
</tr>
</table>
</div>
<div id="KB7Parent" class="parent"> <b><span class="p9">習(xí)題七</span></b><span class="p9"><a href="javascript:if(confirm('http://toye.dihou.org/vb-exercises-07.zip \n\n這個(gè)文件不能通過(guò) Teleport Pro 取回, 因?yàn)?沒(méi)有遇到方案的文件類(lèi)型說(shuō)明. \n\n你想從服務(wù)器打開(kāi)它嗎?'))window.location='http://toye.dihou.org/vb-exercises-07.zip'" tppabs="http://toye.dihou.org/vb-exercises-07.zip">vb-exercises-07</a>
Code保護(hù);難度:易</span>
<p><a href="#" onClick="expandIt('KB7'); return false" class="p9"><b>習(xí)題七 </b>我要看答案</a>
</p>
</div>
<div id="KB7Child" class="child">
<table width="100%" align="center" cellspacing="0">
<tr bgcolor="#EFEFEF">
<td height="28"><span class="p9"><font face="宋體" color="#000000">類(lèi)型</font>
<font face="Times New Roman" color="#000000">: Visual Basic 5</font>
<br>
<font face="宋體" color="#000000">工具</font> <font face="Times New Roman" color="#000000">:SmartCheck</font>
<br>
<font face="宋體" color="#000000">在</font> <font face="Times New Roman" color="#000000">SmartCheck</font>
<font face="宋體" color="#000000">下運(yùn)行該程序,在你輸入字符于注冊(cè)框前,看看</font> <font face="Times New Roman" color="#000000">SmartCheck</font>
<font face="宋體" color="#000000">主窗口,會(huì)發(fā)現(xiàn)</font> <font face="Times New Roman" color="#000000"> Crackmefrm_Load</font>
<font face="宋體" color="#000000">,我們應(yīng)有隨時(shí)觀看</font> <font face="Times New Roman" color="#000000">SmartCheck</font>
<font face="宋體" color="#000000">的習(xí)慣。</font><br>
<font face="宋體" color="#000000">展開(kāi)</font> <font face="Times New Roman" color="#000000">Crackmefrm_Load</font>
<font face="宋體" color="#000000">:</font> <font face="Times New Roman" color="#000000">Double (3.15751e+008) -> Long (315751288)</font>
<br>
<font face="Times New Roman" color="#000000">Ok...</font> <font face="宋體" color="#000000">這里較特殊,我們很少在輸入序列號(hào)前看到數(shù)字,我們先記下。</font>
<br>
<font face="宋體" color="#000000">鍵入</font> <font face="Times New Roman" color="#000000">"123456789"</font>
<font face="宋體" color="#000000">點(diǎn)擊</font> <font face="Times New Roman" color="#000000">"Check".</font>
<br>
<font face="宋體" color="#000000">然后展開(kāi)</font> <font face="Times New Roman" color="#000000">Checkcmd_Click</font>
<br>
<br>
<font face="Times New Roman" color="#000000">Double(-1.92294e+008)->Double(-1.92294e+008)</font>
<br>
<font face="Times New Roman" color="#000000">Ok.</font> <font face="宋體" color="#000000">數(shù)字</font>
<font face="Times New Roman" color="#000000"> -1.92294e+008</font>
<font face="宋體" color="#000000">從哪里來(lái)</font> <font face="Times New Roman" color="#000000">??? </font>
<br>
<font face="Times New Roman" color="#000000">(</font> <font face="宋體" color="#000000">這時(shí),開(kāi)動(dòng)我們的第六感覺(jué),想想</font>
<font face="Times New Roman" color="#000000">????)</font> <br>
<font face="宋體" color="#000000">用</font> <font face="Times New Roman" color="#000000">"123456789" </font>
<font face="宋體" color="#000000">減</font> <font face="Times New Roman" color="#000000"> 315751288 </font>
<font face="宋體" color="#000000">,將得到:</font> <font face="Times New Roman" color="#000000"> -19229449</font>
<font face="宋體" color="#000000">,然后轉(zhuǎn)換成雙精度實(shí)數(shù)</font> <font face="Times New Roman" color="#000000">-1.92294e+008</font>
<br>
<font face="宋體" color="#000000">你們?cè)囈幌骆I入</font> <font face="Times New Roman" color="#000000">315751288</font>
<font face="宋體" color="#000000">。</font> <br>
<font face="宋體" color="#000000">哈</font> <font face="Times New Roman" color="#000000">..</font>
<font face="宋體" color="#000000">成功,我總感覺(jué)</font> <font face="Times New Roman" color="#000000">crack</font>
<font face="宋體" color="#000000">有時(shí)想搞偵破一樣,去猜,去試,再去驗(yàn)證</font> <font face="Times New Roman" color="#000000">.......</font>
<br>
<font face="宋體" color="#000000">這時(shí)你再次展開(kāi)</font> <font face="Times New Roman" color="#000000">Checkcmd_Click</font>
<font face="宋體" color="#000000">,會(huì)看到:</font> <br>
<font face="Times New Roman" color="#000000">String("315751288")-> Double(3.15751e+008)</font>
</span></td>
</tr>
</table>
</div>
<div id="KB8Parent" class="parent"> <b><span class="p9">習(xí)題八</span></b><span class="p9"><a href="javascript:if(confirm('http://toye.dihou.org/vb-exercises-08.zip \n\n這個(gè)文件不能通過(guò) Teleport Pro 取回, 因?yàn)?沒(méi)有遇到方案的文件類(lèi)型說(shuō)明. \n\n你想從服務(wù)器打開(kāi)它嗎?'))window.location='http://toye.dihou.org/vb-exercises-08.zip'" tppabs="http://toye.dihou.org/vb-exercises-08.zip">vb-exercises-08</a>
Name/Code;難度:易</span>
<p><a href="#" onClick="expandIt('KB8'); return false" class="p9"><b>習(xí)題八</b>
我要看答案 </a> </p>
</div>
<div id="KB8Child" class="child">
<table width="100%" align="center" cellspacing="0">
<tr bgcolor="#EFEFEF">
<td height="28">
<p> <font face="宋體" color="#000000"><span class="p9">工具:</span></font>
<span class="p9"><font face="Times New Roman" color="#000000">SmartCheck</font>
<br>
<font face="宋體" color="#000000">用</font> <font face="Times New Roman" color="#000000">SmartCheck</font>
<font face="宋體" color="#000000">裝載該程序,迅速輸入姓名和序列號(hào),最好快點(diǎn),然后關(guān)閉程序(可按</font>
<font face="Times New Roman" color="#000000">SmartCheck</font> <font face="宋體" color="#000000">綠按鈕)?,F(xiàn)在你會(huì)發(fā)現(xiàn)許多</font>
<font face="Times New Roman" color="#000000">"Timer1_Timer"</font>
<font face="宋體" color="#000000">,不要管它,在</font> <font face="Times New Roman" color="#000000">"Show errors and specific Events"</font>
<font face="宋體" color="#000000">模式下,查找特殊的地方。</font> <br>
<font face="宋體" color="#000000">你會(huì)發(fā)現(xiàn)幾個(gè)</font> <font face="Times New Roman" color="#000000">"PWSerialTxt_Change". </font>
<font face="宋體" color="#000000">點(diǎn)擊</font> <font face="Times New Roman" color="#000000">"+",</font>
<font face="宋體" color="#000000">去看到:</font> <br>
<font face="Times New Roman" color="#000000">PWSerialTxt_Change</font>
<br>
<font face="Times New Roman" color="#000000">PWNameTxt.Text </font>
<font face="宋體" color="#000000">得到姓名的第一字符</font> <br>
<font face="Times New Roman" color="#000000">PWNameTxt.Text</font> <br>
<font face="Times New Roman" color="#000000">PWNameTxt.Text</font> <br>
<font face="Times New Roman" color="#000000">Left(VARIANT:String"Volatili...", long:1)</font>
<br>
<font face="Times New Roman" color="#000000">Right(VARIANT:String:"V", long1)</font>
<br>
<font face="Times New Roman" color="#000000">Asc(String:"V") returns Integer:86</font>
<br>
<font face="Times New Roman" color="#000000">Right(VARIANT:Integer:86, long:2</font>
<br>
<font face="Times New Roman" color="#000000">PWNameTxt.Text</font> <br>
<font face="Times New Roman" color="#000000">Left(VARIANT:String"Volatili...", long:2)</font>
<br>
<font face="Times New Roman" color="#000000">Right(VARIANT:String:"Vo", long:1)</font>
<br>
<font face="Times New Roman" color="#000000">Asc(String:"o")returns Integer:111</font>
<br>
<font face="Times New Roman" color="#000000">Right(VARIANT:Integer:111, long:2)</font>
<br>
<font face="Times New Roman" color="#000000">*** 切斷部分***</font>
<br>
<font face="Times New Roman" color="#000000">Left(VARIANT:ByRef String:"21160508...", long:10) ....</font>
<font face="宋體" color="#000000">這里正確的序列號(hào)</font> <br>
<font face="宋體" color="#000000">大家咸興趣可仔細(xì)分析這段算法:姓名換算成序列號(hào)。</font> </span></p>
</td>
</tr>
</table>
</div>
<div id="KB9Parent" class="parent"> <a href="#" onClick="expandIt('KB9'); return false">
</a></div>
<script language='JavaScript'>
if (NS4) {
firstEl = "KB1Parent";
firstInd = getIndex(firstEl);
arrange();
}
</script>
<span class="p8"><span class="p9"> </span></span> <br>
<table width="80%" border="1" cellspacing="0" cellpadding="0" align="center" bgcolor="#99CCFF" bordercolorlight="#99CCFF" bordercolordark="#99CCFF">
<tr>
<td width="82%" class="p8" height="34">Copyright @看雪 2000 All rights reserved
<a href="mailto:toye@126.com">與我聯(lián)系</a></td>
<td width="10%" class="p9" height="34"><a href="index.htm" tppabs="http://toye.dihou.org/index.htm">返回<br>
首頁(yè)</a></td>
<td width="8%" class="p8" height="34"><a href="molu.htm" tppabs="http://toye.dihou.org/molu.htm" class="p9">返回<br>
目錄</a></td>
</tr>
</table>
<p> </p>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -