我十分喜欢瞎弄我的计算机。特别是win98,所以十天装一次系统很平常。
但是我也发现不少秘密^-^
下面是在windows98下自动启动程序的10种方法。
1. autostart 文件
c:\windows\start menu\programs\startup {chinese/english}
在注册表中的位置:
hkey_current_user\software\microsoft\windows\currentversion\explorer\shell
folders startup="c:\windows\start menu\programs\startup"
所以它将很容易被程序更改
2. win.ini
[windows]
load=file.exe
run=file.exe
3. system.ini [boot]
shell=explorer.exe file.exe
4. c:\windows\winstart.bat
看似平常,但每次都重新启动
5. registry键
[hkey_local_machine\software\microsoft\windows\currentversion\runservices]
[hkey_local_machine\software\microsoft\windows\currentversion\runservicesonce]
[hkey_local_machine\software\microsoft\windows\currentversion\run]
[hkey_local_machine\software\microsoft\windows\currentversion\runonce]
[hkey_current_user\software\microsoft\windows\currentversion\run]
[hkey_current_user\software\microsoft\windows\currentversion\runonce]
[hkey_current_user\software\microsoft\windows\currentversion\runservices]
6. c:\windows\wininit.ini
一旦运行就被windows删除,安装的setup程序常用
example: (content of wininit.ini)
[rename]
nul=c:\windows\picture.exe
例子:将c:\windows\picture.exe设置为nul, 表示删除它,完全隐蔽的执行!
7. autoexec.bat
在dos下每次自启动
8. registry shell spawning (使用过subseven吗?看看吧)
[hkey_classes_root\exefile\shell\open\command] @="\"%1\" %*"
[hkey_classes_root\comfile\shell\open\command] @="\"%1\" %*"
[hkey_classes_root\batfile\shell\open\command] @="\"%1\" %*"
[hkey_classes_root\htafile\shell\open\command] @="\"%1\" %*"
[hkey_classes_root\piffile\shell\open\command] @="\"%1\" %*"
[hkey_local_machine\software\classes\batfile\shell\open\command] @="\"%1\"
%*"
[hkey_local_machine\software\classes\comfile\shell\open\command] @="\"%1\"
%*"
[hkey_local_machine\software\classes\exefile\shell\open\command] @="\"%1\"
%*"
[hkey_local_machine\software\classes\htafile\shell\open\command] @="\"%1\"
%*"
[hkey_local_machine\software\classes\piffile\shell\open\command] @="\"%1\"
%*"
这些"%1 %*"需要被赋值, 如果将其改为 "server.exe %1 %*",server.exe将在每次启动时被执行,这些exe/pif/com/bat/hta等文件都可被执行
9. icq .net
[hkey_current_user\software\mirabilis\icq\agent\apps\test]
"path"="test.exe"
"startup"="c:\\test"
"parameters"=""
"enable"="yes"
[hkey_current_user\software\mirabilis\icq\agent\apps\
当icq发现网络连接时,将被执行(我使用的icq2000b的键值有所不同,但您可以自行查找) 9. 杂项说明找找以下的键值:
[hkey_local_machine\software\classes\shellscrap]
@="scrap object" "nevershowext"=""
nevershowext 键 可以隐藏shs文件的扩展名.shs
如果你将一个文件改名为:"abc.jpg.shs" 它只显示"abc.jpg"
如果你的注册表里有很多nevershowext键值,删除他们。
注意:
这些方法不能全部适应win2k,但您可以自行检测. 如有什么地方不对,还希望各位高手指教。
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器