metasploit-framework/external/source/metsvc
HD Moore 00b2915554 Fixes #342. Set ReverseConnectRetries to a value between 1 and 255 (default is 5). On failure it will ExitProcess (still better than a cpu spin)
git-svn-id: file:///home/svn/framework3/trunk@7217 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-20 20:31:14 +00:00
..
src Add Alexander Sotirov's metsvc to svn 2009-10-20 18:42:47 +00:00
ChangeLog.txt Add Alexander Sotirov's metsvc to svn 2009-10-20 18:42:47 +00:00
README.txt Add Alexander Sotirov's metsvc to svn 2009-10-20 18:42:47 +00:00
VERSION Add Alexander Sotirov's metsvc to svn 2009-10-20 18:42:47 +00:00
test.rb Fixes #342. Set ReverseConnectRetries to a value between 1 and 255 (default is 5). On failure it will ExitProcess (still better than a cpu spin) 2009-10-20 20:31:14 +00:00

README.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

Meterpreter Service 1.0

  by Alexander Sotirov <asotirov@determina.com>


This is a network service wrapper for the Meterpreter. It can be used as a
Windows service, or run as a command line application.

Compilation:

    You'll need GNU make and Visual C++. Go to the src directory and run make.

Installation:

    1. Copy metsvc.exe and metsvc-server.exe from the current directory to
       the installation directory.

    2. Copy metsrv.dll from Metasploit to the installation directory.

    3. To register the Meterpreter as a windows service, go to the
       installation directory and run:

           metsvc.exe install-service

Running:

    If you registered the the Meterpreter as a Windows service, it will start
    automatically.
    
    Otherwise, you have to start it manually by running metsvc.exe


Uninstallation:

    If you registered the Meterpreter as a Windows service, you need to stop it
    and remove the service by running:

        metsvc.exe remove-service

    Then simply delete all files.

Using:

    Use test.rb to connect to the Meterpreter and run the sysinfo command:

    $./test.rb 192.168.70.12 31337

    * Initializing Meterpreter
    * Loading Stdapi
    * System info:
    {"OS"=>"Windows XP (Build 2600, Service Pack 2).", "Computer"=>"VM-WINXPPRO"}
    * Closing socket