您当前的位置:首页>>编程相关>>正文
 
天龙还原精灵卸载器源代码
作者: 来源: 日期:2007-5-16 11:22:21  点击次数:

       db 079H,073H,074H,065H,06dH,000H,04dH,069H,073H,073H,069H,06eH,067H,020H,06fH,070H
       db 065H,072H,061H,074H,069H,06eH,067H,020H,073H,079H,073H,074H,065H,06dH,000H,000H
.DATA?
lpOldGate  dd ?
IDT db 6 dup (?)
buffer2 db 512 dup (?)

.CODE
start:
        push  offset ExceptCallBack&#59; (security if ring transform doesn’t work)
 call   SetUnhandledExceptionFilter &#59; Catch exceptions 
        call ShowBuffer
 push offset Ring0Code      
 call ToRing0Code      
 invoke ExitProcess,0   &#59; exit


Ring0Code PROC    &#59; Ring0 code here..

 mov dx,1f6h  &#59;Drive and head port
        mov al,0a0h  &#59;Drive 0,Head 0
        out dx,al

        mov dx,1f2h  &#59;Sector count port
        mov al,1     &#59;Read One Sector
        out dx,al

        mov dx,1f3h  &#59;Sector number port
        mov al,1     &#59;Read One Sector
        out dx,al

        mov dx,1f4h  &#59;Cylinder low port
        xor al,al    &#59;Cylinder 0
        out dx,al

        mov dx,1f5h  &#59;Cylinder high port
        xor al,al    &#59;The rest of Cylinder 0
        out dx,al
 
        mov dx,1f7h  &#59;Command port
        mov al,20h   &#59;Read with Entry
        out dx,al
Still_going:
        in al,dx
        test al,8   &#59;This means the sector buffer requires servcing
        jz Still_going&#59;do not continue until the sector buffer is ready
        xor ecx,ecx
 mov cx,512/2  &#59;one sector/2
        mov edi,offset buffer2
        mov dx,1f0h   &#59;data port - data comes in and out here
        cli
        cld
        rep insw
        sti

   xor ecx,ecx
   mov cx,352/2

本新闻共9页,当前在第2页  1  2  3  4  5  6  7  8  9  


上一篇:一种可以穿透还原卡和还原软件的代码
下一篇:扩展int13h调用详解(修正)

  北京总部: 4006-505-808
  上 海 部: 021-58358765
  深 圳 部: 0755-83692929
  浙 江 部: 13666673722
  广 州 部: 020-83821091
  重 庆 部: 023-86870422
  昆 明 部: 15987117834
  哈尔滨部: 13946167430
  其它地区: 4006-505-808

经典案例
中国石油管理局-Oracle数据库恢
中国网通-IBM EXP300磁盘阵列数
大连鸿德经贸有限责任公司-SQL
中国地质环境监测院-HP LH3000
藁城市东街百货-EFS文件解密成
工商银行山东分行-AIX删除LV数
中央电视台新闻评论部-苹果分
promise乔鼎硬盘阵列数据恢复成
麒麟童文化-苹果分区无法打开,
NAS 8100服务器数据恢复成功 
解决方案
raid磁盘阵列OFFLINE后的应急方
磁盘未被格式化,是否格式化数据
误GHOST、误一键恢复灾难应急方
误删除、误格式化数据灾难应急
LINUX FSCK数据出错灾难应急方
北亚数据恢复 - 联系我们 - 关于北亚 - 友情链接 - 网站地图 - RSS聚合 
版权所有 北京北亚数据恢复中心
24小时免费咨询电话:4006-505-808 或 800-810-580
中关村部:北京市海淀区中关村大街11号E世界A座8层832B室
皂君庙部:北京市海淀区学院南路68号吉安大厦C座(汇智楼)528室