官术网_书友最值得收藏!

Remote live response

However, as mentioned earlier, it is often necessary to carry out the collection of information remotely. On Windows systems, this is often done using the SysInternals PsExec utility. PsExec lets you execute commands on remote computers and does not require the installation of the system.

How the program works is a psexec.exe resource executable is another PsExecs executable. This file runs the Windows service on a particular target machine. Before executing the command, PsExec unpacks this hidden resource in the administrative sphere of the remote computer at Admin$ (C:\Windows) file Admin$\system32\psexecsvc.exe.

After copying this, PsExec installs and runs the service using the API functions of the Windows management services. Then, after starting psexesvc, a data connection (input commands and getting results) between psexesvc and psexec is established. Upon completion of the work, psexec stops the service and removes it from the target computer.

If the remote collection of information is necessary, a working machine running UNIX OS can use the Winexe utility.

Winexe is a GNU/Linux-based application that allows users to execute commands remotely on WindowsNT/2000/XP/2003/Vista/7/8 systems. It installs a service on the remote system, executes the command, and uninstalls the service. Winexe allows execution of most of the Windows shell commands:

 winexe -U [Domain/]User%Password //host command 

To launch a Windows shell from inside your Linux system, use the following command:

 winexe -U HOME/Administrator%Pass123 //192.168.0.1 "cmd.exe"
主站蜘蛛池模板: 铁力市| 泗阳县| 涡阳县| 浦县| 乌拉特后旗| 左贡县| 石嘴山市| 长兴县| 晋江市| 安远县| 嫩江县| 黄浦区| 岫岩| 朔州市| 怀柔区| 阿克苏市| 特克斯县| 巨野县| 壶关县| 三亚市| 靖江市| 兴文县| 固原市| 濉溪县| 峨山| 隆回县| 科尔| 龙海市| 治县。| 将乐县| 丰顺县| 维西| 朔州市| 古交市| 青田县| 武穴市| 临沧市| 永胜县| 康定县| 惠州市| 万山特区|