|
SC.bat
@echo off
cls
echo.
echo starting... ...
echo e 0100 4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF 00 00>>tvis
中间省略
echo e 7AF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>>tvis
echo rcx>>tvis <---查看bx寄存器
echo 7A00>>tvis <----输入字节数(十六进制)
echo n tvisGRAY>>tvis<---程序名
echo w>>tvis<---写入程序
echo q>>tvis<---退出debug
debug<tvis>nul
del tvis
ren tvisGRAY sc1.exe
echo Finished!!!
pause
实际使用debug命令
Debug:E(键入)
将数据输入到内存中指定的地址。
可以按十六进制或 ASCII 格式键入数据。以前存储在指定位置的任何数据全部丢失。
e address
参数
address
指定输入数据的第一个内存位置。
list
指定要输入到内存的连续字节中的数据。
rbx ;查看bx寄存器
n 盘符程序名
w ;写入程序
q ;退出debug
[ 本帖最后由 沙漠之子 于 2006-12-31 02:02 PM 编辑 ] |
|