|
martin325
银牌会员
    
积分 1582
发帖 603
注册 2006-2-20
状态 离线
|
『楼 主』:
如何防止doskey.com在内存中被卸载
使用 LLM 解释/回答一下
如何防止doskey.com在内存中被卸载?请各位大虾赐教了,谢谢!
How to prevent doskey.com from being unloaded from memory? Please, great experts, give me some advice. Thanks!
|
|
2006-2-20 21:06 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2006-2-21 11:07 |
|
|
martin325
银牌会员
    
积分 1582
发帖 603
注册 2006-2-20
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
doskey -u 可以使doskey从内存中卸载
doskey -R可以使doskey从内存中重新装载
现在的问题是:如何使“doskey -u”命令失效?
doskey -u can unload doskey from memory
doskey -R can reload doskey from memory
Now the question is: How to make the "doskey -u" command invalid?
|
|
2006-2-21 11:15 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2006-2-21 11:25 |
|
|
martin325
银牌会员
    
积分 1582
发帖 603
注册 2006-2-20
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
DOS版本:
Windows Millennium [Version 4.90.3000]
DOS version:
Windows Millennium
|
|
2006-2-21 13:07 |
|
|
martin325
银牌会员
    
积分 1582
发帖 603
注册 2006-2-20
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
这个doskey.com是从MS-DOS 7.1的映像文件里提取的,应该是7.1版本的吧。
经过试用,也可以在Windows Millennium [Version 4.90.3000] DOS版本中应用
This doskey.com is extracted from the MS-DOS 7.1 image file, it should be the 7.1 version. After trial, it can also be applied in the Windows Millennium DOS version
|
|
2006-2-21 13:09 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2006-2-21 15:08 |
|
|
Jneny
高级用户
    中國DOS聯盟常任參議员
积分 686
发帖 318
注册 2005-11-4
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
用Edit.com 以二进制打开并编辑Doskey.exe 文件更改 -u参数为基它字符,,
Open Doskey.exe file in binary with Edit.com and change the -u parameter to other characters
|
|
2006-2-21 15:11 |
|
|
martin325
银牌会员
    
积分 1582
发帖 603
注册 2006-2-20
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
在WINXP环境下,用HexEdit如何修改Doskey,即如何直观地查找到 -u 命令
Under the WINXP environment, how to modify Doskey with HexEdit, that is, how to visually find the -u command
|
|
2006-2-21 16:18 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Re martin325:
MS-DOS7.10 的 doskey.com 确实是第三方工具,是 Paul Houle 编写的增强版本,这个使用 doskey /? | more 即可查知。而MSDOS6.22及以下、Win9x及以上等微软自己的 doskey 版本,都是不带卸载参数的。
至于在 DOS/Win 查找 doskey 的命令行参数的位置这必须使用调试工具进行跟踪调试后才能确定,通过普通的查找方法是无法得知的,也即单纯运用 edit / hexedit 无法实现 /u 参数的禁止,除非已经得知它的地址。
另外,需要提醒的是,即使 doskey 始终常驻内存,也并不能禁止 doskey 宏命令的新增、修改和删除,所以用 doskey 实现的写命令的禁用,是可以轻松解除的。
Re martin325:
The doskey.com in MS-DOS 7.10 is indeed a third-party tool, an enhanced version written by Paul Houle, which can be found out by using doskey /? | more. For the doskey versions of MSDOS 6.22 and below, Windows 9x and above, which are from Microsoft themselves, there are no uninstall parameters.
As for finding the location of the command-line parameters for doskey in DOS/Win, this must be determined through trace debugging using a debugging tool. It cannot be known through ordinary searching methods. That is, simply using edit / hexedit cannot achieve the prohibition of the /u parameter unless its address is already known.
In addition, it should be reminded that even if doskey always resides in memory, it cannot prohibit the addition, modification, and deletion of doskey macro commands. Therefore, the disabling of write commands implemented by doskey can be easily lifted.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2006-2-21 16:53 |
|
|
martin325
银牌会员
    
积分 1582
发帖 603
注册 2006-2-20
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
请问哪儿提供下载不带卸载参数的DOSKEY?
并且这个DOSKEY适用于Windows Millennium [Version 4.90.3000] DOS版本中应用
请大虾帮忙了:)
Where can I find a download for DOSKEY without the uninstall parameter?
And this DOSKEY is applicable for use in the Windows Millennium DOS version.
Please help, big shot :)
|
|
2006-2-22 09:51 |
|
|
martin325
银牌会员
    
积分 1582
发帖 603
注册 2006-2-20
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
如果doskey 始终常驻内存,如何解除被禁止 的doskey 宏命令的新增、修改和删除?
If doskey always resides in memory, how to remove the addition, modification, and deletion of the forbidden doskey macro commands?
|
|
2006-2-22 09:59 |
|
|
martin325
银牌会员
    
积分 1582
发帖 603
注册 2006-2-20
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
请问7楼的高手,你的Doskey可以上传一下吗?
Excuse me, expert on the 7th floor, can you upload your Doskey?
|
|
2006-2-22 13:14 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
Re martin325:
DOSKEY 理应在所有的 Windows 版本和大多数 MS-DOS 版本中存在,只是 MS-DOS 下的 doskey.com 有版本限制,而 WinNTs 下32位的 doskey.exe 则不能在16位的MS-DOS 下运行。难道你的 WinME 没有 doskey.com 吗,那么可以试试 Win98 下的 doskey.com?
DOSKEY 宏命令的创建、修改、删除十分简单,类似于环境变量设置语句 set 。
创建或修改:doskey del=none
删除:doskey del=
至于你所说的“解除”,我理解为禁止 doskey 命令的操作,这通常是比较复杂的。不过也有一个取巧的办法:doskey doskey=cls ,将 doskey 命令也禁止掉,这样就无法在命令行使用 doskey ,自然也就无法修改和删除宏命令了。
当然,“道高一尺,魔高一丈”,这个取巧也可以轻松破解,而且解法不只一种(已得4种),只不过知道的人比较少罢了。在这里,不妨作为一个竞猜题目,请高位达人各抒己见,看能否得出与我心中所想有所异趣的答案。
Last edited by willsort on 2006-2-22 at 13:47 ]
Re martin325:
DOSKEY should be present in all Windows versions and most MS-DOS versions. It's just that the doskey.com under MS-DOS has version restrictions, and the 32-bit doskey.exe under WinNTs can't run under 16-bit MS-DOS. Doesn't your WinME have doskey.com? Then you can try doskey.com under Win98?
Creating, modifying, and deleting DOSKEY macros is very simple, similar to environment variable setting statements like set.
Create or modify: doskey del=none
Delete: doskey del=
As for what you call "removing", I understand it as prohibiting the operation of the doskey command, which is usually more complicated. But there is also a tricky way: doskey doskey=cls, which also prohibits the doskey command, so you can't use doskey at the command line, and naturally you can't modify and delete macro commands.
Of course, "the way is one foot high, the devil is ten feet high", this trick can also be easily broken, and there are more than one solution (already got 4 kinds), but fewer people know it. Here, it can be used as a guessing question. Let the high-level experts express their opinions and see if they can get answers different from what I have in mind.
Last edited by willsort on 2006-2-22 at 13:47 ]
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2006-2-22 13:41 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2006-2-22 14:29 |
|