|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第 16 楼』:
Shell Scripting Toolkit 2.6
使用 LLM 解释/回答一下
http://www.westmesatech.com/sst.html
This is a small collection of Win32 console programs (command-line utilities) to assist with Cmd.exe shell scripting in Windows NT 4.0 and later. Documentation is provided in PDF format.
Program Description
CCase Converts standard input to upper or lowercase, and writes to standard output.
ColorX Echoes the current screen colors to standard output, or sets the colors for the next text to be written to standard output.
DateX Echoes the current date, a specified date, or an offset of either the current date or a specified date to standard output in a variety of formats.
DriveX Returns the drive type for the current or a specified drive as an exit code, or echoes drives of a specified type to standard output.
EchoX Echoes text to standard output in a specified color. Supports several escape characters and a formatting width and alignment.
FInfo Echoes information about one or more files to standard output.
IfX Case-insensitive string or or numeric comparison of two arguments (not needed on WinNT).
LineX Counts the number of lines in standard input; prints a specific line, a range of lines, or a specified number of lines from the beginning or end of standard input. Can also output in reverse order.
S2V A real-mode MS-DOS program that reads the first line of standard input and stores it into an environment variable (non-functional, and not needed, on WinNT).
ShellEsc For each line of standard input, inserts a shell escape character (^) before each reserved shell character, and writes it to standard output.
SleepX Pauses a script for a specified period of time. Can display a prompt, and can optionally be interrupted by a keystroke.
Str Counts characters in a string, echoes a string in upper or lowercase, and searches for one string in another.
Tee Writes each line of standard input to a file and to standard output simultaneously.
TempName Generates a temporary unique file or directory name.
http://www.westmesatech.com/sst.html
This is a small collection of Win32 console programs (command-line utilities) to assist with Cmd.exe shell scripting in Windows NT 4.0 and later. Documentation is provided in PDF format.
Program Description
CCase Converts standard input to upper or lowercase, and writes to standard output.
ColorX Echoes the current screen colors的 current screen colors to standard output, or sets the colors for the next text to be written to standard output.
DateX Echoes the current date, a specified date, or an offset of either the current date or a specified date to standard output in a variety of formats.
DriveX Returns the drive type for the current or a specified drive as an exit code, or echoes drives of a specified type to standard output.
EchoX Echoes text to standard output in a specified color. Supports several escape characters and a formatting width and alignment.
FInfo Echoes information about one or more files to standard output.
IfX Case-insensitive string or numeric comparison of two arguments (not needed on WinNT).
LineX Counts the number of lines in standard input; prints a specific line, a range of lines, or a specified number of lines from the beginning or end of standard input. Can also output in reverse order.
S2V A real-mode MS-DOS program that reads the first line of standard input and stores it into an environment variable (non-functional, and not needed, on WinNT).
ShellEsc For each line of standard input, inserts a shell escape character (^) before each reserved shell character, and writes it to standard output.
SleepX Pauses a script for a specified period of曰a specified period of time. Can display a prompt, and can optionally be interrupted by a keystroke.
Str Counts characters in a string, echoes a string in upper or lowercase, and searches for one string in another.
Tee Writes each line of standard input to a file and to standard output simultaneously.
TempName Generates a temporary unique file or directory name.
|
|
2008-9-4 11:12 |
|
|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第 17 楼』:
Windows Admin Script Tools 6.5
使用 LLM 解释/回答一下
http://www.westmesatech.com/wast.html
FVER - FVER allows a shell script to perform version checking on a Win32 executable file, provided it contains version information.
ISADMIN ISADMIN checks if the currently logged-on user is an administrator (Windows NT 4.0 and later). It runs fine on Windows 9x/Me, where the current logged on user is always an administrator.
ISMEMBER - ISMEMBER can check if the currently logged-on user is a member of one or more groups that you can specify on the command line, and it can also list group memberships. Requires Windows NT 4.0 or later.
MINWIN MINWIN minimizes the topmost window on the screen (useful in logon scripts).
NEEDBOOT - NEEDBOOT determines if there are pending file rename/move/delete operations for the next system boot. On Windows 9x/Me, it checks for the existence of any entries in the section of WININIT.INI; on the Windows NT platform, it checks for the existence of the PendingFileRenameOperations registry entry. It can also list the entries in the section or the contents of the registry entry.
NUPP NUPP lets you temporarily map a drive letter, do some things, then restore the mapping to its previous value.
OSTEST - OSTEST tests the current operating system to see if it meets one or more criteria. You can check if the current platform is Windows 9x/Me or NT, the version number, service pack number, and build number. It can also detect whether the current OS is running a 'home' edition, whether it's a server or workstation, and the Terminal Server mode (remote desktop or application server).
RASCONNS - RASCONNS allows a shell script to determine if one or more RAS connections are active. It can also list active RAS connections and determine if a named RAS connection is active.
WINMSG - WINMSG displays a Windows dialog box with a customizable message, buttons and icon. A shell script can detect which button was pressed. You can also read the dialog box text from a text file and specify a timeout period.
Last edited by uiopuiop on 2008-9-12 at 02:11 PM ]
http://www.westmesatech.com/wast.html
FVER - FVER enables a shell script to perform version checks on a Win32 executable file, provided it contains version information.
ISADMIN ISADMIN checks whether the currently logged - on user is an administrator (Windows NT 4.0 and later). It works properly on Windows 9x/Me, where the current logged - on user is always an administrator.
ISMEMBER - ISMEMBER can check whether the currently logged - on user is a member of one or more groups you can specify on the command line, and it can also list group memberships. Requires Windows NT 4.0 or later.
MINWIN MINWIN minimizes the topmost window on the screen (useful in logon scripts).
NEEDBOOT - NEEDBOOT determines if there are pending file rename/move/delete operations for the next system boot. On Windows 9x/Me, it checks for the existence of any entries in the section of WININIT.INI; on the Windows NT platform, it checks for the existence of the PendingFileRenameOperations registry entry. It can also list the entries in the section or the contents of the registry entry.
NUPP NUPP allows you to temporarily map a drive letter, do some things, and then restore the mapping to its previous value.
OSTEST - OSTEST tests the current operating system to see if it meets one or more criteria. You can check if the current platform is Windows 9x/Me or NT, the version number, service pack number, and build number. It can also detect whether the current OS is running a 'home' edition, whether it's a server or workstation, and the Terminal Server mode (remote desktop or application server).
RASCONNS - RASCONNS allows a shell script to determine if one or more RAS connections are active. It can also list active RAS connections and determine if a named RAS connection is active.
WINMSG - WINMSG displays a Windows dialog box with a customizable message, buttons, and icon. A shell script can detect which button was pressed. You can also read the dialog box text from a text file and specify a timeout period.
Last edited by uiopuiop on 2008 - 9 - 12 at 02:11 PM ]
|
|
2008-9-4 11:23 |
|
|
radem
高级用户
    CMD感染者
积分 691
发帖 383
注册 2008-5-23
状态 离线
|
|
2008-9-4 18:27 |
|
|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第 19 楼』:
Wake-on-LAN
使用 LLM 解释/回答一下
http://www.matcode.com/wol.htm
This small command line utility makes possible to switch on a computer from a second one by sending a "Magic Packet". Both of computers can be located on the same LAN or on the different LAN segments.
MC-WOL ethernet-address
http://www.matcode.com/wol.htm
This small command line utility makes possible to switch on a computer from a second one by sending a "Magic Packet". Both of computers can be located on the same LAN or on the different LAN segments.
MC-WOL ethernet-address
|
|
2008-9-12 14:01 |
|
|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第 20 楼』:
MD5.exe - Command Line Message Digest Utility
使用 LLM 解释/回答一下
|
|
2008-9-12 14:04 |
|
|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第 21 楼』:
Freeware scriptable command line network connectivity tools
使用 LLM 解释/回答一下
http://www.tools4ever.com/products/free/command/
T4eWebPing
Gets the response time and header code for any input URL; great for testing scripts, execution times and 404 errors on your website.
T4eSQL
Connects to any ODBC database and executes a custom query, results can be written to a text file; useful for database monitoring (systables).
T4eDirSize
Gets the free and used space of any directory or share, also counts the number of special files (encrypted, readonly, hidden, system, etc); great for monitoring free space and file statistics.
T4ePortPing
Connects to any TCP/IP port and retrieves the response time and error code.
T4eRexec
This command line utility is similar to the Windows REXEC command, but accepts a password as input and can therefore run in unattended mode. To run commands on a REXEC compatible OS, such as Linux, the REXEC daemon has to be running on the target system.
T4eSSH
A secure implementation of the SSH protocol to get access to a UNIX/Linux operating system.
T4eUnixInfo
This tool uses the REXEC daemon to remotely execute several pre-defined scripts compatible with Linux, to get system specific information such as DISK, MEMORY, SWAP and CPU. This information is easily accessible for MonitorMagic to be used as monitoring plugin.
T4eSSHUnixInfo
This tool uses the SSH daemon to securely execute several pre-defined scripts compatible with Linux, to get system specific information such as DISK, MEMORY, SWAP and CPU.
http://www.tools4ever.com/products/free/command/
T4eWebPing
Gets the response time and header code for any input URL; great for testing scripts, execution times and 404 errors on your website.
T4eSQL
Connects to any ODBC database and executes a custom query, results can be written to a text file; useful for database monitoring (systables).
T4eDirSize
Gets the free and used space of any directory or share, also counts the number of special files (encrypted, readonly, hidden, system, etc); great for monitoring free space and file statistics.
T4ePortPing
Connects to any TCP/IP意义port and retrieves the response time and error code.
T4eRexec
This command line utility is similar to the Windows REXEC command, but accepts a password as input and can therefore run in unattended mode. To run commands on a REXEC compatible OS, such as Linux, the REXEC daemon has to be running on the target system.
T4eSSH
A secure implementation of the SSH protocol to get access to a UNIX/Linux operating system.
T4eUnixInfo
This tool uses the REXEC daemon to remotely execute several pre-defined scripts compatible with Linux, to get system specific information such as DISK, MEMORY, SWAP and CPU. This information is easily accessible for MonitorMagic to be used as monitoring plugin.
T4eSSHUnixInfo
This tool uses the SSH daemon to securely execute several pre-defined scripts compatible with Linux, to get system specific information such as DISK, MEMORY, SWAP and CPU.
|
|
2008-9-12 14:10 |
|
|
tireless
银牌会员
    
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
EditV32 and Choose32
http://www.westmesatech.com/editv.html
EditV32 and Choose32 are Win32 console programs that are designed to allow user input in shell scripts (batch files). The download also includes MS-DOS version of both programs, EditVar and Choose, that may be useful on DOS bootable media.
EditV32 works by obtaining the contents of an environment variable and presenting it for interactive editing. If you make any changes to the variable's contents and press Enter, EditV32 writes the changed variable to the parent environment of the program that started it (usually Cmd.exe). EditV32 requires Windows NT 4.0 or later; for Windows 9x/Me, use the MS-DOS version.
EditV32 is similar to the Cmd.exe Set /p command in Windows 2000 and later, but it may be preferable for the following reasons:
It allows you to edit a variable, not just set one.
It can limit the length of the typed variable.
It can mask the typed input for simple password security.
It can limit typed input to numbers only.
It offers a timeout feature (useful when a script needs to run unattended).
It can automatically "escape" reserved shell characters in variables it creates.
It provides useful exit codes: For example, an exit code of 4 means that the user pressed Ctrl-C to abort.
It comes with an MS-DOS version that works in Windows 9x/Me as well as on MS-DOS boot media.
Choose32 is similar to the Microsoft Choice tool, but it has more features. Here are some reasons why it might be preferable to Choice:
It doesn't beep when the user makes an invalid choice.
It offers a "default key" feature, which lets a user press Enter to select a default choice.
It comes with a DOS version (useful for MS-DOS boot media).
The Win32 version's timeout feature doesn't get confused when you run multiple instances in separate console windows (this was a problem with earlier Win32 console versions of Microsoft's Choice tool).
It can suppress the display of the user's choice.
It offers a "line input" mode where the user must press Enter after making a choice.
Last edited by tireless on 2008-12-27 at 13:46 ]
EditV32 and Choose32
http://www.westmesatech.com/editv.html
EditV32 和 Choose32 是Win32控制台程序,旨在允许用户在shell脚本(批处理文件)中输入。下载内容还包括这两个程序的MS-DOS版本,EditVar 和 Choose,它们在DOS可引导介质上可能很有用。
EditV32 通过获取环境变量的内容并将其呈现以供交互式编辑来工作。如果您对变量的内容进行任何更改并按Enter键,EditV32 会将更改后的变量写入启动它的程序的父环境(通常是Cmd.exe)。EditV32 需要Windows NT 4.0或更高版本;对于Windows 9x/Me,请使用MS-DOS版本。
EditV32 类似于Windows 2000及更高版本中的Cmd.exe Set /p 命令,但可能由于以下原因更可取:
它允许您编辑变量,而不仅仅是设置变量。
它可以限制输入变量的长度。
它可以屏蔽输入的内容以实现简单的密码安全。
它可以限制输入仅为数字。
它提供超时功能(在脚本需要无人值守运行时很有用)。
它可以自动“转义”它创建的变量中的保留shell字符。
它提供有用的退出代码:例如,退出代码4表示用户按Ctrl-C中止。
它带有一个MS-DOS版本,可在Windows 9x/Me以及MS-DOS可引导介质上运行。
Choose32 类似于Microsoft的Choice工具,但它具有更多功能。以下是它可能比Choice更可取的一些原因:
当用户做出无效选择时不会发出蜂鸣声。
它提供“默认键”功能,允许用户按Enter键选择默认选项。
它带有一个DOS版本(对MS-DOS可引导介质有用)。
Win32版本的超时功能在单独的控制台窗口中运行多个实例时不会混淆(这是Microsoft早期Win32控制台版本的Choice工具的问题)。
它可以抑制显示用户的选择。
它提供“行输入”模式,用户在做出选择后必须按Enter键。
Last edited by tireless on 2008-12-27 at 13:46 ]
|
|
2008-9-12 14:44 |
|
|
tireless
银牌会员
    
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
『第 23 楼』:
exec
使用 LLM 解释/回答一下
http://www.westmesatech.com/files/exec15.zip
Executes a program using the Win32 CreateProcess API. It can optionally wait for a process to finish and also display the program's elapsed time. Exec doesn't have a problem with quoted paths or command-line arguments. Both console and GUI versions are provided. Works on Windows 9x/Me as well. (79,562 bytes; 07 Apr 2006)
Last edited by tireless on 2008-12-27 at 13:46 ]
http://www.westmesatech.com/files/exec15.zip
Executes a program using the Win32 CreateProcess API. It can optionally wait for a process to finish and also display the program's elapsed【译:运行时间】 time. Exec doesn't have a problem with quoted paths or command-line arguments. Both console and GUI versions are provided. Works on Windows 9x/Me as well. (79,562 bytes; 07 Apr 2006)
Last edited by tireless on 2008-12-27 at 13:46 ]
|
|
2008-9-12 14:46 |
|
|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
Originally posted by tireless at 2008-9-12 02:46 PM:
http://www.westmesatech.com/files/exec15.zip
Executes a program using the Win32 CreateProcess API. It can optionally wait for a process to finish and also display the program's elapse ...
也可用 win2003光盘提供的support小工具 "timeit.exe"
Originally posted by tireless at 2008-9-12 02:46 PM:
http://www.westmesatech.com/files/exec15.zip
Executes a program using the Win32 CreateProcess API. It can optionally wait for a process to finish and also display the program's elapse ...
You can also use the "timeit.exe" support tool provided on the Windows Server 2003 CD.
|
|
2008-9-12 14:51 |
|
|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第 25 楼』:
fport.exe 查看进程端口号和路径
使用 LLM 解释/回答一下
http://www.foundstone.com/us/resources/proddesc/fport.htm
fport reports all open TCP/IP and UDP ports and maps them to the owning application. This is the same information you would see using the 'netstat -an' command, but it also maps those ports to running processes with the PID, process name and path. Fport can be used to quickly identify unknown open ports and their associated applications.
http://www.foundstone.com/us/resources/proddesc/fport.htm
fport reports all open TCP/IP and UDP ports and maps them to the owning application. This is the same information you would see using the 'netstat -an' command, but it also maps those ports to running processes with the PID, process name and path. Fport can be used to quickly identify unknown open ports and their associated applications.
|
|
2008-9-12 14:53 |
|
|
tireless
银牌会员
    
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
|
2008-9-12 19:48 |
|
|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
|
2008-9-14 13:45 |
|
|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
『第 28 楼』:
远程桌面命令行工具
使用 LLM 解释/回答一下
autordp.exe
比MSTSC 功能强!
http://www.abinsight.com/tools/
Autordp >]
<Connection file> -- .rdp file to specify parameters not handled by the utility: e.g. Remote desktop size, number of colors etc. To create this file run mstsc.exe, expand Options menu and click Save as.
<server> -- terminal server to which you want to connect
u:<user> -- user name (e.g. DOMAIN\\User)
p:<password> -- user password
/console -- connection to the console session of a server.
/? -- generates help message
这个也可以:
http://www.remkoweijnen.nl/blog/2007/10/17/launch-rdp-from-commandline/
Last edited by uiopuiop on 2008-9-23 at 08:15 PM ]
autordp.exe
More powerful than MSTSC!
http://www.abinsight.com/tools/
Autordp >]
<Connection file> -- .rdp file to specify parameters not handled by the utility: e.g. Remote desktop size, number of colors etc. To create this file run mstsc.exe, expand Options menu and click Save as.
<server> -- terminal server to which you want to connect
u:<user> -- user name (e.g. DOMAIN\\User)
p:<password> -- user password
/console -- connection to the console session of a server.
/? -- generates help message
This is also possible:
http://www.remkoweijnen.nl/blog/2007/10/17/launch-rdp-from-commandline/
Last edited by uiopuiop on 2008-9-23 at 08:15 PM ]
|
|
2008-9-23 20:08 |
|
|
tireless
银牌会员
    
积分 2025
发帖 1122
注册 2007-9-5
状态 离线
|
|
2008-9-23 22:58 |
|
|
uiopuiop
中级用户
  
积分 400
发帖 211
注册 2007-9-30
状态 离线
|
|
2008-9-24 15:46 |
|