⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chap7-2.htm.primary

📁 加密与解密,软件加密保护技术与解决方案,看雪文档!
💻 PRIMARY
📖 第 1 页 / 共 4 页
字号:
<html>
<head>
<title>Crack Tutorial</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style/css.css" type="text/css">
<link rel="stylesheet" href="../STYLE/Css.css" type="text/css">
</head>

<body bgcolor="white" text="#000000" link="#004080" vlink="#004080" background="../image/Back.gif">
<p><a href="../catalog.htm">目录</a>>>第7章</p>
<p align="center" class="shadow1Copy"><b class="p3">第7章 Visual Basic程序</b></p>
<table width="80%" border="0" cellspacing="0" cellpadding="3" align="center" bgcolor="#bcbcbc" bordercolor="#111111" class="shadow1">
  <tr> 
    <td class="shadow1" width="26%"> 
      <div align="center"><a href="Chap7-1.htm"><font color="#FFFFFF">第一节 解释语言介绍</font></a></div>
    </td>
    <td class="shadow1" width="24%"> 
      <div align="center"><a href="Chap7-2.htm"><font color="#FFFFFF">第二节 动态跟踪分析</font></a></div>
    </td>
    <td class="shadow1" width="24%"> 
      <div align="center"><a href="Chap7-3.htm"><font color="#FFFFFF">第三节 SmartCheck操作</font></a></div>
    </td>
    <td class="shadow1" colspan="2" width="26%"> 
      <div align="center"><a href="Chap7-4.htm"><font color="#FFFFFF">第四节 拆解习题</font></a></div>
    </td>
  </tr>
</table>
<p align="center"><span class="p9"><b>第二节 动态跟踪分析</b></span></p>
<p><span class="p9"><font face="Times New Roman" color="#FF3366"><font color="#000000">一、<a href="#1">SOFTICE配制</a></font></font><font color="#000000"><u><font face="宋体"><br>
  </font></u></font></span><font color="#000000"><span class="p9"><font face="Times New Roman">二、VB&nbsp;dll</font> 
  <font face="宋体">常用函数</font></span><br>
  <span class="p9"><font face="Times New Roman">  1</font> <font face="宋体">、<a href="#21">字符处理函数</a></font></span><br>
  <span class="p9"><font color="#000000"><span class="p9"><font face="Times New Roman">  </font></span></font><font face="Times New Roman">2</font> 
  <font face="宋体">、<a href="#22">警告窗口函数</a></font><a href="#22"> </a></span><br>
  <span class="p9"><font face="Times New Roman">三、<a href="#3">VB字串格式</a></font> 
  <br>
  四、<a href="#4">oleaut32.dll<span class="p9">简介 </span></a><br>
  </span><font face="Times New Roman"><span class="p9"><span class="p9">五、<a href="#5">Visual&nbsp;Basic 
  程序比较方法</a></span></span></font><a href="#5"></a></font></p>
<p><font color="#000000"><span class="p9"><font face="Times New Roman"><u><b><font color="#FF3366"><a name="1"></a>一、SOFTICE</font></b></u></font><font color="#FF3366"><b><u><font face="宋体"> 
  配制</font> </u></b></font></span></font></p>
<p> <span class="p9"><font face="宋体" color="#000000"> 虽然大部分</font> <font face="Times New Roman" color="#000000">VB</font> 
  <font face="宋体" color="#000000">程序仍调用</font> <font face="Times New Roman" color="#000000">Win32&nbsp;API</font> 
  <font face="宋体" color="#000000">函数,但如想在</font> <font face="Times New Roman" color="#000000">VB&nbsp;dll</font> 
  <font face="宋体" color="#000000">运行库中设断的话,你就必须把</font> <font face="Times New Roman" color="#000000">VB&nbsp;dll</font> 
  <font face="宋体" color="#000000">运行库加入</font> <font face="Times New Roman" color="#000000">SOFTICE</font> 
  <font face="宋体" color="#000000">配制里去。具体你可参考第五课中的《</font> <font face="Times New Roman" color="#000000">SOFTICE</font> 
  <font face="宋体" color="#000000">安装及使用》。</font> </span></p>
<p> <span class="p9"><font face="宋体" color="#000000">下例是在</font> <font face="Times New Roman" color="#000000">win95/98</font> 
  <font face="宋体" color="#000000">下你把相关的</font> <font face="Times New Roman" color="#000000">VB&nbsp;DLL</font> 
  <font face="宋体" color="#000000">运行库加入</font> <font face="Times New Roman" color="#000000">winice.dat</font> 
  <font face="宋体" color="#000000">配制文件里。</font> <font face="Times New Roman" color="#000000">(</font> 
  <font face="宋体" color="#000000">部分</font> <font face="Times New Roman" color="#000000">)</font> 
  </span></p>
<p> </p>
<p> <span class="p9"><font face="Times New Roman" color="#000000">;</font> <font face="宋体" color="#000000">注意分号后是描述语言,不被执行。每次只装载需要的一种</font> 
  <font face="Times New Roman" color="#000000">VB&nbsp;dll</font> <font face="宋体" color="#000000">,最好不要同时装载两个以上,把要装载那种</font> 
  <font face="Times New Roman" color="#000000">VB&nbsp;dll</font> <font face="宋体" color="#000000">那一行的分号去掉,重新启动即可。另外,判断软件是何种</font> 
  <font face="Times New Roman" color="#000000">VB&nbsp;dll</font> <font face="宋体" color="#000000">有几种方法,最直接一种用</font> 
  <font face="Times New Roman" color="#000000">WDasm89</font> <font face="宋体" color="#000000">查看,还有一种方法是用十六进制工具打开程序观察。或用</font> 
  <font face="Times New Roman" color="#000000">SOFTICE</font> <font face="宋体" color="#000000">跟进去(用</font> 
  <font face="Times New Roman" color="#000000">bpx&nbsp;hmemcpy)</font> <font face="宋体" color="#000000">,稍转一圈,你观察一下调试窗口领空处会出现何种</font> 
  <font face="Times New Roman" color="#000000">VB&nbsp;DLL</font> <font face="宋体" color="#000000">即可。</font> 
  </span></p>
<table width="100%" cellspacing="0" align="center">
  <tr bgcolor="#F2FFFF"> 
    <td> 
      <p><span class="p9"><font face="Times New Roman" color="#000000">;&nbsp;EXP=c:\windows\system\msvbvm60.dll&nbsp;&nbsp;&nbsp;;&nbsp;Visual&nbsp;Basic&nbsp;6</font> 
        <br>
        </span><span class="p9"><font face="Times New Roman" color="#000000">; 
        EXP=c:\windows\system\msvbvm50.dll&nbsp;&nbsp;&nbsp;;&nbsp;Visual&nbsp;Basic&nbsp;5</font> 
        <br>
        </span><span class="p9"><font face="Times New Roman" color="#000000">;&nbsp;EXP=c:\windows\system\vb40032.dll&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;Visual&nbsp;Basic&nbsp;4(32-bit)</font> 
        <br>
        </span><span class="p9"><font face="Times New Roman" color="#000000">;&nbsp;EXP=c:\windows\system\vb40016.dll 
          ;Visual&nbsp;Basic&nbsp;4(16-bit)</font> <font face="宋体" color="#000000">较少见</font> 
        <font face="Times New Roman" color="#000000"> </font> <br>
        </span><span class="p9"><font face="Times New Roman" color="#000000">;&nbsp;EXP=c:\windows\system\vbrun300.dll&nbsp;&nbsp; 
        ;&nbsp;Visual&nbsp;Basic&nbsp;3</font> </span></p>
      <p></p>
    </td>
  </tr>
</table>
<p> <span class="p9"><font face="Times New Roman" color="#000000">&nbsp;&nbsp;</font> 
  </span><span class="p9"><font face="宋体" color="#000000">这样配制好后,重新启动,就可设</font> 
  <font face="Times New Roman" color="#000000">VB</font> <font face="宋体" color="#000000">运行库中各函数的断点了。</font></span> 
</p>
<p> <span class="p9"><font face="Times New Roman" color="#000000">--------------------------------------------------------------------------------</font> 
  </span> </p>
<p> <b><font color="#FF3366"><span class="p9"><font face="Times New Roman"><u>二、VB&nbsp;dll</u></font> 
  <u><font face="宋体">常用函数</font></u></span></font></b></p>
<p> <span class="p9"><font face="Times New Roman" color="#0000FF"><a name="21"></a>1</font> 
  <font face="宋体" color="#0000FF">、字符处理</font><font color="#0000FF">函数</font> 
  </span></p>
<p class="p9"> <span class="p9"><font face="Times New Roman" color="#000000">MultiByteToWideChar,&nbsp;rtcR8ValFromBstr,&nbsp;WideCharToMultiByte,&nbsp;__vbaStrCmp,&nbsp;__vbaStrComp,&nbsp;__vbaStrCopy,&nbsp;__vbaStrMove,&nbsp;__vbaVarTstNe&nbsp;.</font> 
  </span></p>
<p> <span class="p9"><font face="宋体" color="#000000"><b><span class="p8">注意:这些函数前的下划线</span></b></font> 
  <span class="p8"><b><font face="Times New Roman" color="#000000">__</font> <font face="宋体" color="#000000">是由两根短线</font> 
  <font face="Times New Roman" color="#000000">_</font> <font face="宋体" color="#000000">组成的,不要弄错。</font> 
  <font face="宋体" color="#000000">如果你是</font> <font face="Times New Roman" color="#000000">crack&nbsp;VB6</font> 
  <font face="宋体" color="#000000">程序,你应在断点前增加</font> <font face="Times New Roman" color="#000000">msvbvm60!</font> 
  <font face="宋体" color="#000000">。</font> </b></span></span><span class="p8"><b><font color="#000000"><span class="p9"><font face="宋体">如:</font> 
  <font face="Times New Roman">&nbsp;bpx&nbsp;msvbvm60!__vbastrcomp&nbsp;</font></span></font></b></span></p>
<p> </p>
<p> <span class="p9"><font face="宋体" color="#000000">一些常用字符串函数</font>:</span></p>
<table width="100%" cellspacing="0" bordercolorlight="#666666" bordercolordark="#FFFFFF" bgcolor="#EBEBEB" border="1">
  <tr> 
    <td width="14%"><span class="p9"><font face="Times New Roman" color="#FF3366">Val()</font></span></td>
    <td width="36%"><span class="p9"><font face="宋体" color="#000000">转换字符串为数字</font></span></td>
    <td width="12%"><span class="p9"><font face="Times New Roman" color="#FF3399">Rtrim$()</font><font face="Times New Roman" color="#000000"></font></span></td>
    <td width="38%"><span class="p9"><font face="宋体" color="#000000">去除字符串左边空格</font></span></td>
  </tr>
  <tr> 
    <td width="14%"><span class="p9"><font face="Times New Roman" color="#FF3399">Str$()</font><font face="Times New Roman" color="#000000">&nbsp;</font></span></td>
    <td width="36%"><span class="p9"><font face="宋体" color="#000000">转换数字为字符串</font></span></td>
    <td width="12%"><span class="p9"><font face="Times New Roman" color="#FF3399">Trim$()</font></span></td>
    <td width="38%"><span class="p9"><font face="宋体" color="#000000">去除字符串两边空格</font></span></td>
  </tr>
  <tr> 
    <td width="14%"><span class="p9"><font face="Times New Roman" color="#FF3399">Left$()</font><font face="Times New Roman" color="#000000">&nbsp;</font></span></td>
    <td width="36%"><span class="p9"><font face="宋体" color="#000000">按要求从左取字符。例如:</font> 
      <font face="Times New Roman" color="#000000">&nbsp;Left$(Theodolite,&nbsp;4)&nbsp;=&nbsp;&quot;Theo&quot;</font></span></td>
    <td width="12%"><span class="p9"><font face="Times New Roman" color="#FF3399">Asc()</font></span></td>
    <td width="38%"><span class="p9"><font face="Times New Roman" color="#000000">&nbsp;</font> 
      <font face="宋体" color="#000000">转换字符为</font> <font face="Times New Roman" color="#000000">ANSI</font> 
      <font face="宋体" color="#000000">编码</font> <font face="Times New Roman" color="#000000">&nbsp;.</font> 
      <font face="宋体" color="#000000">例如:</font> <font face="Times New Roman" color="#000000">Asc(&quot;A&quot;)&nbsp;=&nbsp;65</font> 
      <font color="#0000FF">注:65是ASCII码的十进制</font></span></td>
  </tr>
  <tr> 
    <td width="14%"><span class="p9"><font face="Times New Roman" color="#FF3399">Ltrim$()</font></span></td>
    <td width="36%"><span class="p9"><font face="宋体" color="#000000">去除字符串左边空格例如:</font> 
      <font face="Times New Roman" color="#000000">&nbsp;Ltrim$&nbsp;(&quot;&nbsp;Hello&nbsp;&quot;)&nbsp;=&nbsp;&quot;Hello&nbsp;&quot;</font></span></td>
    <td width="12%"><span class="p9"><font face="Times New Roman" color="#FF3399">Chr$()</font></span></td>
    <td width="38%"><span class="p9"><font face="宋体" color="#000000">转换</font> 
      <font face="Times New Roman" color="#000000">ANSI</font> <font face="宋体" color="#000000">编码为字符</font> 
      <font face="Times New Roman" color="#000000">.</font> <font face="宋体" color="#000000">例如</font> 
      <font face="Times New Roman" color="#000000">&nbsp;Chr$(65)&nbsp;=&nbsp;&quot;A&quot;</font></span></td>
  </tr>
  <tr> 
    <td width="14%"><span class="p9"><font face="Times New Roman" color="#FF6699">Right$()</font><font face="Times New Roman" color="#000000"></font></span></td>
    <td width="36%"><span class="p9"><font face="宋体" color="#000000">按要求从右取字符</font> 
      <font face="Times New Roman" color="#000000"></font></span></td>
    <td width="12%"><span class="p9"></span></td>
    <td width="38%"><span class="p9"></span></td>
  </tr>
</table>
<p class="p9">几个常用函数简介:</p>
<table width="100%" cellspacing="0" align="center">
  <tr bgcolor="#F2FFFF"> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -