Board logo

标题: 批处理室附件收集专用帖[2009-02-11] [打印本页]

作者: namejm     时间: 2006-12-23 02:21    标题: 批处理室附件收集专用帖[2009-02-11]

  有感于散落在联盟里本版面的附件太多,并且很多是网上难以搜索到的好东西,特在此收集散落在 本版 的各种有价值的附件的链接。对发表在此的收集帖,将酌情加分奖励,请各位踊跃参与。

  一、有价值的附件包括但不限于:
  1、DOS增强型软件;
  2、脚本代码压缩包;

  二、帖子格式:
  第一行:序号、附件名(可自行命名)、简介及上传时间;
  第二行:附件所在帖子的链接地址、附件在该帖子中的楼层数。

      示例:

  Quote:
1、 HIDECMD.rar:以隐藏窗口的方式运行批处理。
  http://www.cn-dos.net/forum/viewthread.php?tid=22552 (6F)

2、 XCACLS.rar:设置高级NTFS权限的工具。
  http://www.cn-dos.net/forum/viewthread.php?tid=25902 (顶楼)

  三、注意事项:
  1、为了方便查询和管理,请按照示范格式张贴收集到的链接;
  2、发收集帖前,请注意是否和已发的帖子内容重复;若有重复,请勿再次张贴;
  3、为了做到专帖专用,请勿跟与主题内容关系不紧密的帖子(讨论附件具体优缺点的除外),否则,将不经公示而直接删除回帖;恶意灌水者将作 扣分+删帖 处理

─────────────────────────────────────────
借用本帖,以文件名为序,收集整理本版的第三方命令行工具,望 namejm 兄勿怪。
如果哪位朋友发现下面的链接失效,请联系我,多谢!
by HAT @ 2008-10-10


ATTR.COM:为特殊文件夹(比如以点结尾的文件夹)设置属性
http://www.cn-dos.net/forum/viewthread.php?tid=23112#pid139591

autorunsc.exe:著名系统辅助工具autoruns的命令行版本
http://www.cn-dos.net/forum/viewthread.php?tid=32346#pid214738

Base64.bat(debug版):Base64加密工具
http://www.cn-dos.net/forum/viewthread.php?tid=27000#pid169053

Base64.bat(纯算法版):Base64加密工具
http://www.cn-dos.net/forum/viewthread.php?tid=27000#pid169109

Base64.exe(1.00):Base64加密工具
http://www.cn-dos.net/forum/view ... mp;page=3#pid304015

bat2com.exe:可以把bat转换成com的工具
http://www.cn-dos.net/forum/viewthread.php?tid=21355

bat2exec.exe(1.5):可以把bat转换成exe的工具
http://www.cn-dos.net/forum/viewthread.php?tid=28891

change.exe:一个以命令行方式处理对文件的修改工具
http://www.cn-dos.net/forum/view ... mp;page=3#pid288018

CheckISO.exe(1.0):检查.iso文件是否有效的工具
http://www.cn-dos.net/forum/view ... mp;page=4#pid306524

choice.exe:接受并返回用户选择的外部命令
http://www.cn-dos.net/forum/viewthread.php?tid=43369#pid302912

curl.exe (7.19.0):一个利用URL语法在命令行方式下工作的文件传输工具
http://www.cn-dos.net/forum/view ... mp;page=3#pid303473

decovbe.vbs:解密经过Windows Script Encoder加密的VBS代码
http://www.cn-dos.net/forum/view ... mp;page=4#pid312200

DELTREE.EXE:快速删除目录的命令
http://www.cn-dos.net/forum/viewthread.php?tid=25592#pid158253

DevCon.exe:可以替代设备管理器的命令行实用工具
http://www.cn-dos.net/forum/viewthread.php?tid=40861#pid282542

exe2bat.exe:可以把exe转换成的bat工具
http://www.cn-dos.net/forum/viewthread.php?tid=38870

find.exe(4.1):能够以多种方式进行文件查找的UnxUtils工具
http://www.cn-dos.net/forum/viewthread.php?tid=43655#pid305109

gawk.exe:格式化文本处理工具
http://www.cn-dos.net/forum/viewthread.php?tid=31098#pid205571

gray.exe:禁用CMD窗口的关闭按钮的工具
http://www.cn-dos.net/forum/viewthread.php?tid=42899#pid298384

HIDECMD.EXE:以隐藏窗口的方式运行批处理
http://www.cn-dos.net/forum/viewthread.php?tid=22552#pid137149

HtoX32c.exe:命令行下网页转文本的超强工具
http://www.cn-dos.net/forum/viewthread.php?tid=25122###

ipseccmd.exe(1.5):屏蔽指定端口的工具
http://www.cn-dos.net/forum/view ... mp;page=4#pid305568

knlsc(1.3):一个查找隐藏服务的小程序
http://www.cn-dos.net/forum/viewthread.php?tid=27389

Listdlls.exe(2.25):显示系统加载的DLL文件的名称和路径等信息的工具
http://www.cn-dos.net/forum/view ... mp;page=3#pid303475

MakeCAB.exe:微软提供的制作CAB的文件的工具
http://www.cn-dos.net/forum/view ... mp;page=3#pid303475

math.exe(2.34):强大的数学计算工具
http://www.cn-dos.net/forum/view ... mp;page=3#pid303925

MD5.exe(2.0):计算MD5值的工具
http://www.cn-dos.net/forum/viewthread.php?tid=22941#pid137911

MD5.vbs:计算MD5值的工具
http://www.cn-dos.net/forum/view ... p;page=2#pid=303952

mtee.exe(2.0):把输出的文本保存成ANSI格式或者Unicod格式
http://www.cn-dos.net/forum/viewthread.php?tid=23054#pid161583

nbtscan.exe(1.0.35):对指定网段主机进行批量快速扫描的工具
http://www.cn-dos.net/forum/view ... mp;page=4#pid306525

NConvert.exe(5.10):改变图片的大小和格式、图像旋转
http://www.cn-dos.net/forum/view ... mp;page=4#pid312201

OSQL&ISQL:MS SQL Server 2000/2005 命令行工具
http://www.cn-dos.net/forum/view ... mp;page=2#pid323432

PWDHASH.vbs:PWDHASH加密工具
http://www.cn-dos.net/forum/view ... mp;page=2#pid303953

recycle.exe(1.5):可以将删除的文件放入回收站的工具
http://www.cn-dos.net/forum/viewthread.php?tid=37529#pid270019

RenamePlus.exe(1.0):可以重命名畸形文件和文件夹的工具
http://www.cn-dos.net/forum/view ... mp;page=3#pid303938

runassrv.exe:把任何可执行文件(包括批处理)当作系统服务
http://www.cn-dos.net/forum/viewthread.php?tid=21426

screnc.exe(1.0):可以对VBS等脚本进行加密的微软官方工具Windows Script Encoder
http://www.cn-dos.net/forum/view ... mp;page=4#pid305567

scrdec18.exe:解密经过Windows Script Encoder加密的VBS代码
http://www.cn-dos.net/forum/viewthread.php?tid=44587#pid312387

sed.exe(4.1.4):为以行为单位的流文字处理软件
http://www.cn-dos.net/forum/view ... mp;page=4#pid304368

SetACL.exe(2.0.2.0):文件、文件夹、注册表项、服务、打印机、网络共享等权限设置工具
http://www.cn-dos.net/forum/viewthread.php?tid=33706

SetRes.exe(1.0):调整显示器刷新率、分辨率等
http://www.cn-dos.net/forum/viewthread.php?tid=21685#pid130080

setx.exe:批量修改环境变量的工具
http://www.cn-dos.net/forum/viewthread.php?tid=25057#pid154789

shortcut.exe(1.11):创建快捷方式的工具
http://www.cn-dos.net/forum/viewthread.php?tid=35790#pid242596

sleep.exe:批处理延时程序
http://www.cn-dos.net/forum/viewthread.php?tid=24955

strings.exe(2.4):显示嵌于文件内的Unicode、ASCII以及二进制资源字符串等信息的工具
http://www.cn-dos.net/forum/viewthread.php?tid=41825#pid290195

tee.exe(2.5):把命令返回结果显示到屏幕的同时写入指定的文件
http://www.cn-dos.net/forum/viewthread.php?tid=24175#pid146957

wfr.exe(2.3.1):支持多字符集编码的字符串替换工具
http://www.cn-dos.net/forum/viewthread.php?tid=39741#pid275252

wget.exe:非交互式的网络文档下载工具
http://www.cn-dos.net/forum/viewthread.php?tid=24668#pid151083

x.exe:禁用CMD窗口的关闭按钮的工具
http://www.cn-dos.net/forum/viewthread.php?tid=42899#pid298410

XCACLS.vbs:设置高级NTFS权限的工具
http://www.cn-dos.net/forum/viewthread.php?tid=25902

xxcopy.exe(2.95.3):xcopy命令的增强工具
http://www.cn-dos.net/forum/viewthread.php?tid=31457#pid207818

user2sid.exe:查看用户SID的工具
http://www.cn-dos.net/forum/viewthread.php?tid=22909

关闭显示器.exe
http://www.cn-dos.net/forum/viewthread.php?tid=40234#pid277798

─────────────────────────────────────────

以文件名为序,收集整理本版的第三方DOS工具。

count.com:DOS下可以用来计数的工具
http://www.cn-dos.net/forum/viewthread.php?tid=44338#pid309618

stings.com(2.5):DOS下的文本读取工具
http://www.cn-dos.net/forum/view ... mp;page=3#pid303924

PEPA(1.9):DOS下的PPPOE工具
http://www.cn-dos.net/forum/viewthread.php?tid=18659

tee.exe:把命令返回结果显示到屏幕的同时写入指定的文件
http://www.cn-dos.net/forum/viewthread.php?tid=21531#pid129112

─────────────────────────────────────────

以文件名为序,收集整理本版的第三方非命令行工具。

ExeScript(3.0):bat转exe的工具
http://www.cn-dos.net/forum/viewthread.php?tid=31610

Quick Batch File Compiler(3.1.5):bat转exe的工具
http://www.cn-dos.net/forum/viewthread.php?tid=23177#pid138705

批处理潜行者(6.0):bat转exe的工具
http://www.cn-dos.net/forum/view ... mp;page=2#pid309258

OllyDBG(1.1):反汇编工具
http://www.cn-dos.net/forum/viewthread.php?tid=41147

─────────────────────────────────────────


[ Last edited by HAT on 2009-2-11 at 11:36 ]
作者: vkill     时间: 2006-12-23 02:43
command line tools for win32

[ Last edited by vkill on 2006-12-24 at 12:32 AM ]
作者: ccwan     时间: 2006-12-23 02:43
强烈支持!!!

我先来一个.

1、sleep.rar:批处理延时程序
   http://www.cn-dos.net/forum/view ... ge=1&highlight= (1楼)

2、bat.rar & DOS批处理代码.rar : ccwan和namejm的批处理收藏
   http://www.cn-dos.net/forum/view ... ghlight=&page=2 (1楼   19楼)

3、显示隐藏系统文件、扩展名.rar :功能见名称
   http://www.cn-dos.net/forum/view ... ge=1&highlight= (1楼)
作者: namejm     时间: 2006-12-24 01:51
  因为2楼的兄弟给出的链接并非 本版 中的内容,和我在顶楼的初衷不甚相符,但是考虑到该网站乃他本人的心血,收集的软件非常好,酌情加了4分。希望各位在以后的跟帖中,只给出本版的链接,以方便本版面的整理工作。
作者: ccwan     时间: 2006-12-24 02:07
谢谢版主给加了那么多分^_^

我继续努力,大家别光看不动手啊!

4、IE 界面批处理通讯录.rar & IE 界面批处理通讯录第二版.rar :
   http://www.cn-dos.net/forum/viewthread.php?tid=25415&fpage=5  (1楼)

5、DELTREE.rar  :快速删除目录的命令--deltree
   http://www.cn-dos.net/forum/viewthread.php?tid=25592&fpage=8  (13楼)

6、Shortcut.rar :创建快捷方式的工具
   http://www.cn-dos.net/forum/viewthread.php?tid=25494&fpage=8  (3楼)

7、ReScanUsb.rar:删除(卸载)U盘的工具
   http://www.cn-dos.net/forum/viewthread.php?tid=25634&fpage=9  (2楼)

8、批量文件改名.rar & pren.rar :
   http://www.cn-dos.net/forum/viewthread.php?tid=25387&fpage=9  (1楼)
作者: vkill     时间: 2006-12-24 02:09
呵呵,namejm兄,其实好多东东都是本版块的啊~
作者: ccwan     时间: 2006-12-24 02:24
9、 runassrv.rar :把任何可执行文件(包括批处理)当作系统服务
    http://www.cn-dos.net/forum/viewthread.php?tid=21426&fpage=17  (1楼)

10、setx.rar :批量修改环境变量的工具
    http://www.cn-dos.net/forum/viewthread.php?tid=25057&fpage=18  (11楼)

11、BAT加密.rar :批处理加密与转EXE工具
    http://www.cn-dos.net/forum/viewthread.php?tid=22298&fpage=22  (1楼)

12、公交车次查询--例:兰州公交.rar & wget.rar :
    http://www.cn-dos.net/forum/viewthread.php?tid=24668&fpage=25  (12楼)
作者: ccwan     时间: 2006-12-24 02:38
13、歌曲批量下载试听歌词批量下载.rar & sed.rar :
    http://www.cn-dos.net/forum/atta ... b72b&download=1  (2楼)

14、mtee.rar :把输出的文本保存成ANSI格式或者Unicod格式
    http://www.cn-dos.net/forum/viewthread.php?tid=23054&fpage=27  (1楼)

15、OOBL.rar :面向对象的批处理语言OOBL 的批处理范例
    http://www.cn-dos.net/forum/viewthread.php?tid=16392&fpage=2  (1楼)

16、1.rar & 2.rar :Shell Scripting Toolkit --cmd下的工具集
    http://www.cn-dos.net/forum/viewthread.php?tid=24175&fpage=31  (1楼)
作者: namejm     时间: 2006-12-24 03:00


  Quote:
Originally posted by vkill at 2006-12-23 13:09:
呵呵,namejm兄,其实好多东东都是本版块的啊~

  我的初衷是整理散落在批处理室里的有价值的附件,以方便日后其他内容的整理,所以,希望给出的链接只限于本版块。其他版块或其他网站、其他论坛的暂时不作收录——即使这些附件的内容确实是从本版块流传出去的,或者本版的这些附件是从那些地方复制过来的。就算要收录,那也得另开专帖。
作者: namejm     时间: 2006-12-24 05:50
  呵呵,一口气给 ccwan 的每个帖子都加上了4分,估计再整理几天,就没有可供加分的整理帖了,各位继续努力。
作者: anqing     时间: 2007-2-4 06:35    标题: 在bat查看系统,有没有隐藏的服务,并删除的软件

17、knlsc13 -f :检测系统中有没有隐藏的服务并禁用
http://www.cn-dos.net/forum/viewthread.php?tid=27389&fpage=1

[ Last edited by lxmxn on 2007-7-10 at 06:26 PM ]
作者: qasa     时间: 2007-2-25 02:35
18、HtoX32c.zip : 命令行下网页转文本的超强工具
http://www.cn-dos.net/forum/viewthread.php?tid=25122###

[ Last edited by lxmxn on 2007-7-10 at 06:26 PM ]
作者: qasa     时间: 2007-3-19 06:56
请无关重要的发言不要在这里发了,让点地方给别人发附件上来,因为太多无聊的留言,影响大家查看本贴的效率。谢谢大家合作。
作者: namejm     时间: 2007-3-21 12:13


  Quote:
Originally posted by qasa at 2007-3-18 17:56:
请无关重要的发言不要在这里发了,让点地方给别人发附件上来,因为太多无聊的留言,影响大家查看本贴的效率。谢谢大家合作。

  多谢你的提醒,我已经删除了和本主题内容关系不紧密的回帖,同时,也希望其他版主能不定期地清理此类帖子,以方便大家迅速查找有用的附件。
作者: lxmxn     时间: 2007-7-10 18:36
19、Gawk.exe —— 格式化文本处理命令行工具
http://www.cn-dos.net/forum/view ... mp;page=1#pid205571

20、Attr.com —— 为特殊文件夹设置属性
http://www.cn-dos.net/forum/view ... mp;page=1#pid139591

21、autorunsc.exe —— 著名系统辅助工具autoruns的命令行版本
http://www.cn-dos.net/forum/view ... mp;page=2#pid214738

22、Sed.exe —— 文本流编辑器
http://www.cn-dos.net/forum/view ... mp;page=2#pid201020

ps一下:
大家添加附件下载链接时,请按照下面的格式来,一来方面查找和搜索,二来为以后的批量下载提供脚本支持的可用性。

  Quote:
<序号>、<附件的名称> <分隔符 : 、—— 、-> <附件的简要介绍说明>
<附件的下载链接或者附件所在的贴子链接>

[ Last edited by lxmxn on 2007-7-10 at 06:37 PM ]
作者: ainlll     时间: 2007-11-24 20:52
好东西.不错..
作者: xxzjs     时间: 2007-12-7 00:16
那位大虾将GHOST8.3中文多分区系统备份简易版软盘镜像传上来,不胜感激
作者: spvip     时间: 2007-12-12 13:21    标题: 太辛苦了

感谢 非常有用的东西!
作者: ckclan     时间: 2007-12-17 17:37
好东西确实不少,谢谢楼主分享,支持你!
作者: fangjin163     时间: 2007-12-20 15:42

作者: binghuoxk     时间: 2008-1-17 12:37
谢谢分享
作者: icm     时间: 2008-1-17 14:35
收藏
斑竹辛苦了
作者: gao86     时间: 2008-1-23 16:38
谢谢分享!
在下载下列文件时,迅雷有病毒提示。
slimftpd_3.181.rar
vidc_2.0.rar
aio_1.0.rar
lineX_2.5.rar
pstools_2.2.rar
mt_.rar
ab_2.0.55.0.rar
作者: kgdetg1127     时间: 2008-1-26 00:07
收藏,谢谢分享。
作者: brucell     时间: 2008-2-3 10:12
写的太深,看不明白
作者: xiaoqiangzx     时间: 2008-2-19 11:10


  Quote:
dos练习机



  Quote:
dos练习机   http://www.cn-dos.net/forum/view ... 7789&sid=LJ4bnb


作者: wxzyj     时间: 2008-5-29 15:15
学习学习
作者: hansom     时间: 2008-6-9 00:22
顶一个,学习哈
作者: avl1997     时间: 2008-7-10 21:17
收藏了,下来好好学习!
作者: qiming63     时间: 2008-7-25 17:20
好,好,好
作者: shanyinwx     时间: 2008-7-30 13:54
好东西.不错..
作者: Evangel     时间: 2008-8-28 19:38
再学习!
作者: hhasee     时间: 2008-9-25 16:26
谢谢!
作者: lisus     时间: 2008-9-27 15:47
多谢提供.真是好东西.
作者: ljw3611     时间: 2008-9-30 21:44
多谢你的提醒
作者: HAT     时间: 2008-10-10 07:57
curl.exe (7.19.0):一个强大的文件下载工具一个利用URL语法在命令行方式下工作的文件传输工具
http://upload.cn-dos.net/img/909.zip

相关应用:

  Quote:
利用Curl和任务计划打造自动BT下载BOT
http://www.cn-dos.net/forum/viewthread.php?tid=22258

CMD与Curl双剑合璧:自动合并多页主题
http://www.cn-dos.net/forum/viewthread.php?tid=22238

[ Last edited by HAT on 2008-10-11 at 14:24 ]
作者: HAT     时间: 2008-10-10 07:57
MakeCAB.exe:微软提供的制作CAB的文件的工具
http://upload.cn-dos.net/img/920.zip

转帖:
最简单的用法:
makecab 文件完整的名称 如 makecab wmd.dll

指定压缩类型及使用内存的大小:
makecab /d compressiontype=lzx /d compressionmemory=21 wmd.dll 压缩比高

批量压缩的办法:
for %v in (*.*) do makecab %v

之前俺研究了好久,都不知道怎么用一条命令将一个目录下的所有文件压缩成CAB包,现在终于知道了,压缩成一个CAB包的办法:
makecab /f list.txt /d compressiontype=mszip /d compressionmemory=21 /d maxdisksize=1024000000 /d diskdirectorytemplate=dd* /d cabinetnametemplate=dd*.cab

来个高压缩比的:
makecab /f list.txt /d compressiontype=lzx /d compressionmemory=21 /d maxdisksize=1024000000 /d diskdirectorytemplate=dd* /d cabinetnametemplate=dd*.cab

这儿的list.txt里面是文件的列表,如果是相对路径那么要放到要压缩的文件夹中,如果是绝对路径就可以放到任何地方喽!
[ Last edited by HAT on 2008-10-11 at 22:36 ]
作者: HAT     时间: 2008-10-10 08:12
Listdlls.exe(2.25):显示系统加载的DLL文件的名称和路径等信息的工具
http://upload.cn-dos.net/img/910.zip

  Quote:
ListDLLs v2.25
By Mark Russinovich
Published: November 1, 2006

Introduction
A question that I often get asked is "Do you know of a utility that will show me which DLLs are loaded on Windows 9x or NT ". The answer I gave up until recently was "no", until I discovered a tool in the Windows NT Resource Kit called tlist that does show this information. I decided to write a free-ware version, ListDLLs. Unlike tlist, however, ListDLLs is able to show you the full path names of loaded modules - not just their base names. In addition, ListDLLs will flag loaded DLLs that have different version numbers than their corresponding on-disk files (which occurs when the file is updated after a program loads the DLL), and can tell you which DLLs were relocated because they are not loaded at their base address.

You can also get Process Explorer, a GUI-based version of this program, here at Sysinternals.

Installation
Just copy ListDLLs onto your executable path, and type "listdlls".

ListDLLs works on Windows 9x, NT 3.51, NT 4.0, and Win2K.

[ Last edited by HAT on 2008-10-11 at 22:37 ]
作者: HAT     时间: 2008-10-11 23:01
stings.com(2.5):DOS下的文本读取工具
http://www.cn-dos.net/forum/viewthread.php?tid=32906#pid220220
http://www.cn-dos.net/forum/viewthread.php?tid=35827#pid242619

  Quote:
STRINGS 的语法和作用
http://www.cn-dos.net/forum/viewthread.php?tid=14350

[ Last edited by HAT on 2008-11-11 at 17:48 ]
作者: HAT     时间: 2008-10-11 23:01
math.exe(2.34):强大的数学计算工具
http://upload.cn-dos.net/img/921.zip

  Quote:
相关帖子:
http://www.cn-dos.net/forum/viewthread.php?tid=37543#pid256993


作者: HAT     时间: 2008-10-12 00:31
RenamePlus.exe(1.0):可以重命名畸形文件和文件夹的工具
http://upload.cn-dos.net/img/922.zip

  Quote:
相关帖子:
http://www.cn-dos.net/forum/viewthread.php?tid=42579#pid295850
http://www.cn-dos.net/forum/viewthread.php?tid=42578


作者: HAT     时间: 2008-10-14 11:06
gawk.exe
http://www.cn-dos.net/forum/viewthread.php?tid=41183#pid285246

教程:shell基础十二篇之awk
http://www.chinaunix.net/index.p ... read.php?tid=448687

[ Last edited by HAT on 2008-11-4 at 09:41 ]
作者: HAT     时间: 2008-10-14 11:06
sed.exe(4.1.4):为以行为单位的流文字处理软件
http://upload.cn-dos.net/img/937.zip

  Quote:
相关帖子
http://www.cn-dos.net/forum/viewthread.php?tid=30573

教程:shell基础十二篇之sed
http://www.chinaunix.net/index.p ... read.php?tid=452942

[ Last edited by HAT on 2008-11-4 at 09:41 ]
作者: laihaibin08     时间: 2008-10-19 17:19
非常感谢
很多很实用的工具
作者: HAT     时间: 2008-10-20 20:18
screnc.exe(1.0):可以对VBS等脚本进行加密的微软官方工具Windows Script Encoder
http://upload.cn-dos.net/img/1124.zip

  Quote:
  描述   
  对脚本编写源代码进行编码,使其不会轻易地被用户查看或修改。   
   
  语法   
  SCRENC   [/s]   [/f]   [/xl]   [/l   defLanguage   ]   [/e   defExtension]   inputfile   outputfile   
   
  脚本编码器语法的组成部分如下:     
   
  部分   描述     
  /s   可选的。   开关,它指定脚本编码器的工作状态是静态的,即产生无屏幕输出。如省略,缺省为提供冗余输出。      
  /f   可选的。指定输入文件将被输出文件覆盖。   注意,该选项会破坏您原来的输入源代码。如省略,输出文件不会被覆盖。      
   
  /xl   可选的。指定不把   @language   伪指令添加到   .ASP   文件顶部。如省略,@language   指令添加到所有的   .ASP   文件中。     
  /l   defLanguage   可选的。指定在编码过程中使用的缺省脚本编写语言   (JScript&reg;   或   VBScript)。被编码文件中的脚本块如不包含语言属性,即被认为是由指定语言写成。   如省略,JScript   是   HTML   页和脚本小程序的缺省语言,VBScript   是动态网页的缺省语言。对于普通文本文件,由文件扩展名   (   .js   或   .vbs)决定缺省脚本编写语言。     
  /e   defExtension   可选的。把输入文件与一个特定的文件类型相关联。当输入文件的扩展名不能明显显示出文件的类型时,即,当输入文件扩展名不是可识别的扩展名,但文件内容又可以归为可识别的类型时,使用该开关。该选项无缺省值。如果遇到一个带不可识别的扩展名的文件,且该选项未被指定,则脚本编码器不能处理该不可识别的文件。可识别的文件扩展名有   asa、asp、cdx、htm、html、js、sct和   vbs。     
  inputfile   必需的。要被编码的文件名称,包括相对于当前目录的任何需要的路径信息。      
  outputfile   必需的。要生成的输出文件的名称,包括相对于当前目录的任何需要的路径信息。

  说明   
  如下是脚本编写器能处理的四种文件:     
  ASP。该格式由一个文本动态网页组成,此网页在   <SCRIPT>   ...   </SCRIPT>   标记或   <%   ...   %>   标记内包含有效的   HTML   和内嵌脚本块。使用该格式的应用程序包括   Microsoft&reg;   Internet   Information   Services   (IIS)。识别文件扩展名有   .asp、.asa   和   .cdx。     
  HTML。该格式由一个包含有效的   HTML   和内嵌脚本块的文本文件组成。使用该脚本格式编写的应用程序包括   Microsoft   FrontPage&reg;,   Microsoft&reg;   Visual   InterDev™   和所有虚拟的   Web   设计器及浏览器。识别文件扩展名有   .htm   和   .html。     
  普通文本。该格式由只包含脚本而无两端标记的文本文件组成。使用该脚本格式编写的应用程序包括   Windows&reg;   Scripting   Host   (WSH)   和   Microsoft&reg;   Outlook&reg;。   识别文件扩展名有   .js   和   .vbs,经编码后,分别变为   .jse   和   .vbe。     
  脚本小程序。该格式由一个在   <SCRIPT>   ...   </SCRIPT>   标记中包含有效脚本小程序的文本文件组成。识别文件扩展名有   .sct   和   .wsh。   
  
  示例   
  如下是使用脚本编码器的一个例子以及对其结果的简单解释:   
  对输入文件   test.html   进行编码,生成输出文件   encode.html,使用:     
   
  screnc   test.html   encode.html   
   
  对输入文件   test.htm   进行编码,并用编码后的输出文件覆盖输入文件,使用:     
  screnc   /f   test.htm   
   
  对当前目录中的所有   .ASP   文件进行编码,并把编码后的输出文件放在c:\temp中,使用:     
  screnc   *.asp   c:\temp   
   
  对当前目录中的所有   .ASP   文件进行编码,并把编码后的输出文件放在c:\temp中,使用:     
  screnc   /e   asp   *.*   c:\temp   
   
  对输入文件   test.htm   进行编码,并生成输出文件   encode.htm,确保没有指定语言属性的脚本块使用   VBScript,使用:     
  screnc   /l   vbscript   test.htm   encode.htm   
   
  对当前目录中的所有脚本小程序文件进行编码,并不经信息显示就用编码后的文件覆盖这些文件,使用:     
  screnc   /s   /f   *.sct

[ Last edited by HAT on 2008-11-23 at 03:20 ]
作者: HAT     时间: 2008-10-20 20:18
ipseccmd.exe(1.5):屏蔽指定端口的工具
http://upload.cn-dos.net/img/229.rar
http://www.cn-dos.net/forum/viewthread.php?tid=39788
作者: HAT     时间: 2008-10-27 15:07
CheckISO.exe(1.0):检查.iso文件是否有效的工具
http://upload.cn-dos.net/img/1007.zip

  Quote:
用VC++写的一个小工具,原理是判断文件头0x8001处是否存在"CD001"标志。

E:\File\CheckISO\objfre_wnet_x86>CheckISO.exe
CheckISO 1.0                                      deepxw, 2008.10.11
Description:
    Check whether the file is a valid ISO image.
    检查文件是否是有效的ISO映像。
errorlevel code:
    2-FILENOTFOUND  1-NO  0-YES
Usage:
    CheckISO.exe  FileName

E:\File\CheckISO\objfre_wnet_x86>CheckISO.exe test.iso
ISO Image: YES
E:\File\CheckISO\objfre_wnet_x86>CheckISO.exe test.iso0
ISO Image: NO
E:\File\CheckISO\objfre_wnet_x86>CheckISO.exe test.iso1
ISO Image: File Not Found

在BAT中调用的演示代码:
@echo off
CheckISO.exe test.iso
echo.
if errorlevel 2 goto ISO_FILENOTFOUND
if errorlevel 1 goto ISO_NO
if errorlevel 0 goto ISO_YES
goto Exit
:ISO_YES
echo 文件是正确的ISO映像
goto Exit
:ISO_NO
echo 文件不是正确的ISO映像
goto Exit
:ISO_FILENOTFOUND
echo 文件不存在
goto Exit
:Exit
pause

作者: HAT     时间: 2008-10-27 15:07
nbtscan.exe(1.0.35):对指定网段主机进行批量快速扫描的工具
http://upload.cn-dos.net/img/1159.zip

  Quote:
Background
NETBIOS is commonly known as the Windows "Network Neighborhood" protocol, and (among other things), it provides a nameservice that listens on UDP port 137. When it receives a query on this port, it responds with a list of all services it offers. Windows ships with a standard tool nbtstat which queries a single IP address when given the -A parameter. When run against a machine on the local network (a development box), it shows:

C:\> nbtstat -A 192.168.1.99
       NetBIOS Remote Machine Name Table

   Name               Type         Status
---------------------------------------------
XPDEV          <00>  UNIQUE      Registered
UNIXWIX        <00>  GROUP       Registered
XPDEV          <03>  UNIQUE      Registered
XPDEV          <20>  UNIQUE      Registered
UNIXWIX        <1E>  GROUP       Registered

MAC Address = 00-50-04-6D-50-37
The numeric code (in hexadecimal) and the type serve to identify the service being offered, and (for instance) a UNIQUE code of <20> indicates that the machine is running the file-sharing service. Unfortunately, nbtstat only reports the codes, and it requires looking up the meanings elsewhere. The References section at the end of this document lists some resources to learn what all the codes mean.

Machines participating in NETBIOS listen on UDP port 137 for these queries and respond accordingly. Simple configurations might only have a few resource records (as above), but an NT server supporting a large enterprise could easily have more than a dozen. Though it's sometimes useful to examine the full set of resource records for a given machine, in practice it's more useful to summarize them into the key "interesting" services.

Our tool has taken this approach. Not only does it scan ranges of addresses -- instead of just one machine -- but it can fully decode most of the resource record types and can summarize the interesting data on a one-line display.

On our network we have quite a few machines, but it appears that only three respond to our queries:

C:\> nbtscan 192.168.1.0/24
192.168.1.3     MTNDEW\WINDEV               SHARING DC
192.168.1.5     MTNDEW\TESTING
192.168.1.9     MTNDEW\WIZ                  SHARING U=STEVE
192.168.1.99    MTNDEW\XPDEV                SHARING
The first column is the IP address, then the NT domain and machine name, followed by the list of "interesting" services about each one. In many cases, the summary information is based on guesses, observations, and highly incomplete information, and we invite submissions by others who can help us pinpoint more entries like this.

Token  Meaning  
SHARING  The machine in question is running the file and print sharing service, but this does not necessarily mean any shares are published or that we'll be able to see any of them. Actual enumeration of the shares is done via a different mechanism outside the scope of this program.  
DC  This machine appears to be a Windows NT domain controller, either primary or secondary.
U=user  This machine appears to have a logged-in user with the name indicated. This is often only a guess, and it's common for our algorithms to miss a valid user (especially if the user name is the same as the machine name).  
IIS  This machine appears to have Microsoft's Internet Information Server (IIS) installed, though we believe that there are related tools that can cause this to appear as well. It doesn't necessarily mean that IIS is actually running.  
EXCHANGE  This machine appears to be running Microsoft Exchange.  
NOTES  This machine appears to be running Lotus Notes  
?  This means that the remote is advertising a NETBIOS resource record that we don't understand, and it can prompt us to run the scan again with the -f option and research it: we hope to use this feedback to make the program smarter in the future.  



  Quote:
Specifying Target Ranges
We try very hard to make it easy to describe the list of machines that are to be scanned, and our "add_target" library function is used by most of our scanning tools. Accordingly, this explanatory text will be shared as well.

In the simplest form, one or more IP addresses or host names can be listed individually, and each will be tried in turn. It's a fatal error if any IP address is malformed or if a domain name is not resolvable, but it's allowed (and pointless) to mention the same address more than once.

$ nbtscan 192.168.1.4 10.4.2.3 www.yahoo.com
To scan an entire range of address, it's much easier to specify the netmask in /nbits notation rather than list dozens or hundreds of hosts. The number after the slash gives the number of bits (out of 32) are the "network" part, the reset being "host". For instance, 192.168.7.0/24 is a full class C from 192.168.7.0 to 192.168.7.255. Traditionally, the slash notation has requird that the "base" address be at the start of the given range, but our tool determines this automatically, so any address will do.

This is a summary of all /nbits notations for 16-30. The values /31 or /32 don't specify valid netmasks, and /1 to /15 cover so much ground that we don't recommend scanning them. Please see Netmask Reference.

When scanning a remote network with the slash notation, the tool excludes the first and last address of the range that would otherwise be implied by the netmask. This is because the first and last addresses are usually reserved for broadcast to the local network segment. For instance, when considering 10.1.1.0/24, the addresses 10.1.1.0 and 10.1.1.255 are not included.

However, this is only useful if the netmask chosen matches the netmask used by the other end. If it doesn't match, the two excluded addresses could very match an address being checked. For instance, trying to scan 10.1.1.32/29 would run from 10.1.1.33 to 10.1.1.38, which corresponds to the /29 network of 8 address (less two used by broadcast). But if the remote network is not a /29 but is (say), a /24, then the dot-32 address could very well be a valid one and would be ignored.

To remedy this case, the double-slash notation of //nbits can be used to include every address within the range, including the purported broadcast addresses, and this should be used when the remote netmask is not known. Example: 10.1.1.32//29 or www.unixwiz.net//27.

In addition to the /nbits notation, targets can be specified with a "range" notation in the last octet. This can be used to specify a range that doesn't correspond to standard subnet, and an example is 10.1.1.17-93. The range notation is incompatible with the /nbits notation and cannot be used with a hostname.



  Quote:
Command Line Parameters
When nbtscan is run without command-line arguments, it reports a short "help" listing that summarizes the options available, which are expanded on here.

--version
-V This simply shows the current version information, and I try to keep it updated on each rebuild. Version history is below.
-f This shows the full NBT resource record responses for each machine scanned, not just the one-line summary. This is recommended when studying one single machine, but it's much less useful when scanning a larger range.
-O outfile Send results to outfile rather than to the standard output.
-H Generate an HTTP header. During penetration testing, sometimes we are able to install the nbtscan.exe program on a remote IIS web server and run it with the "Unicode" exploit, but since the output is "regular" text, the output gets confused by the web server that thinks it's a broken CGI script. The -H option addes a simple Content-type: text/plain header with a blank line that makes the output show up correctly.
-P Generate Perl hashref output, which can be loaded into an existing program for easier processing. This is much easier than parsing text output.
-v This turns on some more verbose debugging, but this is really only meant for the developer's use and probably won't help an end-user that much. The code considered "verbose" changes from release to release as bugs are tracked down, and we make no effort to make this useful in the general case.
-n In a few reporting modes, the IP address of the remote machine is used as a key to look up the "inverse" name. This is normally helpful, but many nameservers are misconfigured in a way that make this appear to "hang", so -n turns off this inverse name lookup.
-p port This allows specification of a UDP port number to be used as the source in sending a query. Normally the program picks a random ephemeral port number, and this is entirely sufficient in most cases.
But some Windows 95 machines send their responses to port 137 no matter where the query came from (we consider this a bug), so using -p 137 will force nbtscan to bind to this port instead of the random one. In addition, some older versions of the ZoneAlarm personal firewall would incorrectly allow NETBIOS queries if the source port is 53 (DNS).
But note that you can't bind to a port that already is in use, and on Windows this usually means that port 137 is unavailable to you.
-m Include the MAC (aka "Ethernet") addresses in the response, which is already implied by the -f option.
-T secs When scanning a large range of addresses, it's not always clear when we are "finished". If we send out (say) five queries, we're clearly done when we get five responses, but if any machine does not respond, we have to rely on timeouts. The -T option controls how long we'll wait for any response, and the default is 2 seconds.
-w msecs Unless the local network is being scanned, we cannot typically blast many queries lest packets be lost on the way. We normally pause for a short time after each network write operation to allow things to clear out before sending another, and this allows the "tuning" of that time. It is specified in milliseconds, and the default is 10 milliseconds.
-t tries Try each address up to tries times, which is useful when dealing with a remote network that is (somehow) dropping packets. Once a given machine has responded, it won't be queried again. Default = 1.
-n Don't look up inverse DNS names in the full listing (show IP addresses).
-1 Force the use of Winsock version 1 (Windows only) rather than the default which is usually version 2.

[ Last edited by HAT on 2008-12-4 at 16:25 ]
作者: zjy1978     时间: 2008-11-6 20:34    标题: 好贴

资源集中,方便了我这样的菜鸟学习,谢谢!!
作者: dejoy     时间: 2008-11-14 00:58
很多很有用的Dos软件下载:
http://nufans.net/grub4dos/Climbing/dosTools/
作者: vic324     时间: 2008-11-17 15:35
初來乍到,這個集中帖很多精華。
作者: HAT     时间: 2008-11-22 03:30
decovbe.vbs:解密经过Windows Script Encoder加密的VBS代码
http://upload.cn-dos.net/img/1123.zip

以下给出具体实例:

1. 把加密后的代码保存为a.vbs
#@~^2QAAAA==6 P3MDKDP"+k;:PH+XY@#@&GqH,G4N?tss@#@&/Y~W8%UtnV^xhkm.raYR^.lO+}8N+^D`rh/1Db2Yc/4+^VEb@#@&U^DbwYcds+w,FX!TT@#@&rIOEMxxG(L?4n^V I!UvJw'om:+k+M-+M-U+S/;2f-Ea \(/JB~T~,K"j3#@#@&U+OPK8LUtns^'1GP4kUo@#@&q?^MkaYR$EbOLUYAAA==^#~@
2. 在命令行解释器中运行:
wscript decovbe.vbs a.vbs
3. 结果保存在DecodeVBS.txt里面:
O- Error Resume Next
DIM objShell
set objShell=wscript.createObject("wscript.shell")
WScript.sleep 15000
iReturn=objShell.Run("\\gameserver\newsup$\up.vbs", 0, TRUE)
Set objShell=NoThing
WScript.quit
[ Last edited by HAT on 2008-11-23 at 02:57 ]
作者: HAT     时间: 2008-11-22 03:31
NConvert.exe(5.10):改变图片的大小和格式、图像旋转
http://upload.cn-dos.net/img/1120.zip

http://www.cn-dos.net/forum/viewthread.php?tid=44572#pid311939

[ Last edited by HAT on 2008-11-22 at 21:19 ]
作者: dejoy     时间: 2009-2-8 00:18
非常感谢
作者: hy2009     时间: 2009-2-13 15:08
真的不错。
作者: kennyfan     时间: 2009-3-1 00:48
呵呵,有这类帖子挺方便的!
作者: tlhzr01     时间: 2009-3-2 23:50
谢谢,学习了!!!
作者: evilive     时间: 2009-3-19 03:46
thanks a lot!!!!
作者: deaniqpl     时间: 2009-4-12 21:21
下载来试一下没用这个这呢
作者: yangfengoo     时间: 2009-4-26 10:36
好东西啊!!我喜欢。
作者: suneast     时间: 2009-4-28 06:59
我是新来的....
说不上臭~~但也不厉害...学习了..谢谢
作者: wseemed     时间: 2009-5-15 09:26
学习了,收藏了
作者: misskiss     时间: 2009-6-3 00:18
好帖子啊,
作者: jwm112377     时间: 2009-7-13 22:25
都是好东西,谢谢楼主了
作者: q97012791     时间: 2009-10-24 23:40


  Quote:
Originally posted by HAT at 2008-10-14 11:06:
sed.exe(4.1.4):为以行为单位的流文字处理软件
http://upload.cn-dos.net/img/937.zip

文件大小  234 KB (239,751 字节)  

是不是有毒啊?
作者: q97012791     时间: 2009-10-24 23:50    标题: 奇怪,奇怪!

奇怪,为什么我下载的

sed.exe(4.1.4):为以行为单位的流文字处理软件
http://upload.cn-dos.net/img/937.zip


在xp的命令提示符里用--help没反应的?

但是在
http://www.cn-dos.net/forum/view ... ghlight=&page=2

里17楼下载的又可以正常使用...

奇怪了 ....我以为是那个文件中毒了,
上传到
http://www.virustotal.com/zh-cn/
结果扫描显示文件正常
作者: pcwww     时间: 2009-11-1 14:51    标题: 好东西呀

就是这样的计算器呀,怎么不太会用。
作者: HAT     时间: 2009-11-1 15:27    标题: Re 66楼

c:\Test>sed --version
GNU sed version 4.1.4  (DJGPP port 2005-04-01 (r2))
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.

作者: hongcheng668     时间: 2009-11-16 15:46
是的 大家别发无关紧要的信息 发点有用的
作者: muou     时间: 2009-12-22 14:22
都是好东西
作者: tophu0041463     时间: 2009-12-27 09:45
留名
作者: fengjing001     时间: 2009-12-31 14:35
好帖子。楼主真是有心人。
作者: arkcao     时间: 2010-1-26 08:17
实在弄不清如何使用sed
作者: joeyxhpeng     时间: 2010-4-22 09:59
谢谢啊
作者: 740011611     时间: 2010-5-5 09:34
链接实效了,哪有地址可以下载?
作者: coolgirl     时间: 2010-7-31 18:28
呵呵 这里真是高手中多啊
作者: mini2324     时间: 2010-8-25 04:10
太多了,慢慢看!谢啦
作者: sprite6860     时间: 2010-9-14 09:40
谢谢分享
作者: 114527345     时间: 2011-1-8 14:26
学习收藏~~~
作者: cz200701180017     时间: 2019-11-2 13:42
谢谢分享
作者: cmd1152     时间: 2022-4-25 20:04
HIDECMD,以VBHIDE的方法执行程序
[我的空间]\新的文件 - 第二个扩展\HIDECMD.exe
PS:为什么有个和我差不多的?但我这个可以调用其他
ECOLOR,彩色字体
[我的空间]\新的文件 - 第二个扩展\Ecolor.exe
Beep,让主机发出蜂鸣声
[我的空间]\新的文件 - 扩展\Beep.exe
XBeep,让主机发出音乐(DO LA MI FA)蜂鸣声
[我的空间]\新的文件 - 扩展\XBeep.exe

都是原创...