hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Xnet
Jeeve5
Well, I found this one a while ago and since no one (according to search function) has ever mentioned it in this forum besides me, I thought I'd post it.

The main advatage of this one is that you can start diabled services and you can rename them etc.

QUOTE
XNET 1.07
=============================================================================
Win32 character-based/commandline utility enabling you to manage local and
remote Windows NT services.


USAGE
=============================================================================

1 general usage.
-----------------------------------------------------------------------------
Usage : XNET <Start  | Stop   | Restart| Pause  | Continue | List |
              Install| Remove | Modify | Reboot | Shutdown | Help>

Run XNET HELP <command> for information on the individual commands.

Example : XNET HELP MODIFY


2 starting, pausing, continuing or listing a service.
-----------------------------------------------------------------------------
Usage : XNET <Start | Pause | Continue | List>
             [[\\Server\]ServiceName] [/w:Wait]

Start       - Starts specified service, or lists all running services if no
              service specified.
Pause       - Pauses specified service.
Continue    - Resumes specified service.
List        - Lists all services, or details on specific service.
ServiceName - name of service, optionally preceded by name of remote
              machine (eg : \\REMOTE\MSSQLServer).
Wait        - number of seconds to wait for request to complete (default : 30
              seconds)

Example : XNET START \\HOUND\Spooler
          XNET PAUSE MSSqlserver /w:90
          XNET LIST \\HYENA
          XNET LIST
          XNET LIST NetLogon


3 stopping a service.
-----------------------------------------------------------------------------
Usage : XNET STOP [[\\Server\]ServiceName] [/w:Wait] [/y]

ServiceName - name of service, optionally preceded by name of remote
              machine (eg : \\REMOTE\MSSQLServer).
Wait        - number of seconds to wait for request to complete (default : 30
              seconds)
/y          - Don't ask for confirmation to stop dependent services.

Example : XNET STOP \\HOUND\Spooler
          XNET STOP MSSqlserver /w:90
          XNET STOP Netlogon /y


4 restarting a service.
-----------------------------------------------------------------------------
Usage : XNET RESTART [[\\Server\]ServiceName] [/w:Wait] [/y]

ServiceName - name of service, optionally preceded by name of remote
              machine (eg : \\REMOTE\MSSQLServer).
Wait        - number of seconds to wait for request to complete (default : 30
              seconds)
/y          - Don't ask for confirmation to stop dependent services.

Example : XNET RESTART \\HOUND\Spooler
          XNET RESTART MSSqlserver /w:90
          XNET RESTART Netlogon /y


5 installing a service.
-----------------------------------------------------------------------------
XNET INSTALL [[\\Server\]ServiceName] [/b:Binary] [/d:Dependencies]
             [/l:LoadOrderGroup] [/n:DisplayName] [/u:User] [/p:Password]
             [/i:Interactive] [/s:StartType]

ServiceName    - name of service, optionally preceded by name of remote
                 machine (eg : \\REMOTE\MSSQLServer).
Binary         - Name of executable.
Dependencies   - Dependencies of service.
LoadOrderGroup - LoadOrderGroup of service.
DisplayName    - 'Long' name of service (aka DisplayName).
User           - name of (domain) user account to assign to service. Specify
                 'LocalSystem' to assign system account.
Password       - Password for service.
Interactive    - specify Yes or No to allow service to interact with desktop.
StartType      - indicates when a service will be started. Possible values
                 are 'AUTO' (started at system startup), 'DEMAND' (started
                 at user request) and 'DISABLED'.

Example : XNET INSTALL \\HOUND\MyService /b:C:\WIN32\MS.EXE /u:LocalSystem
          XNET INSTALL MyService /b:C:\WIN32\MS.EXE /u:RuudV /p:password
          XNET INSTALL MyService /b:C:\WIN32\MS.EXE /u:HiYa\There /p:right


6 modifying a service.
-----------------------------------------------------------------------------
XNET MODIFY [[\\Server\]ServiceName] [/u:User] [/p:Password] [/b:Binary]
             [/d:Dependencies] [/l:LoadOrderGroup] [/n:DisplayName]

ServiceName    - name of service, optionally preceded by name of remote
                 machine (eg : \\REMOTE\MSSQLServer).
User           - name of (domain) user account to assign to service. Specify
                 'LocalSystem' to assign system account.
Password       - Password for service.
Binary         - Name of executable.
Dependencies   - Dependencies of service.
LoadOrderGroup - LoadOrderGroup of service.
DisplayName    - 'Long' name of service (aka DisplayName).
Interactive    - specify Yes or No to allow service to interact with desktop.
StartType      - indicates when a service will be started. Possible values
                 are 'AUTO' (started at system startup), 'DEMAND' (started
                 at user request) and 'DISABLED'.

Example : XNET MODIFY \\HOUND\MyService /u:SE\User1 /p:NewPass
          XNET MODIFY \\HOUND\MyService /u:LocalSystem
          XNET MODIFY MyService /n:FancyName


7 removing a service.
-----------------------------------------------------------------------------
Usage : XNET REMOVE [[\\Server\]ServiceName]

ServiceName - name of service, optionally preceded by name of remote
              machine (eg : \\REMOTE\MSSQLServer).
/y          - Don't ask for confirmation of remove.

Example : XNET REMOVE SampleService


8 rebooting/shutting down Windows NT.
-----------------------------------------------------------------------------
XNET <Reboot | Shutdown> [\\server] [/w:Wait] [/m:Message] [/f] [/y]

Reboot      - Reboots specified server, or local machine if no server
              specified.
Shutdown    - Shuts down specified server, or local machine if no server
              specified.
Message     - Warning/message to display on specified server during countdown.
Wait        - Wait xx seconds for request to complete (default : 30 seconds)
/f          - Force applications closed (don't allow 'FileSave' dialogs).
/y          - Don't ask for confirmation of request.

Example : XNET REBOOT \\HOUND /y
          XNET SHUTDOWN /w=120
          XNET SHUTDOWN /f


NOTES
=============================================================================
1 Current version = 1.07

2 XNet was developed by Ruud van Velsen of Microsoft Benelux.
h3llraz0r
nice tool Jeeve5 smile.gif I will test this!! thanks for sharing it
liquidSilver
Uhm.. Plenty of such multi-tools around.. But, well, added to my collection!

Regards,
LS
jead99
Thanks for sharing m8, gonna add this to my toolbox smile.gif
limbox
thanks a lot, i'll gonna check if it's working under NT4 as well
Paul
You need admin acces to run the tool.
Local it could be nice biggrin.gif
maxxis
thx nice tool smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.