Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/metsvc/README.txt
Views: 11766
Meterpreter Service 1.012by Alexander Sotirov <[email protected]>345This is a network service wrapper for the Meterpreter. It can be used as a6Windows service, or run as a command line application.78Compilation:910You'll need GNU make and Visual C++. Go to the src directory and run make.1112Installation:13141. Copy metsvc.exe and metsvc-server.exe from the current directory to15the installation directory.16172. Copy metsrv.dll from Metasploit to the installation directory.18193. To register the Meterpreter as a windows service, go to the20installation directory and run:2122metsvc.exe install-service2324Running:2526If you registered the the Meterpreter as a Windows service, it will start27automatically.2829Otherwise, you have to start it manually by running metsvc.exe303132Uninstallation:3334If you registered the Meterpreter as a Windows service, you need to stop it35and remove the service by running:3637metsvc.exe remove-service3839Then simply delete all files.4041Using:4243Use test.rb to connect to the Meterpreter and run the sysinfo command:4445$./test.rb 192.168.70.12 313374647* Initializing Meterpreter48* Loading Stdapi49* System info:50{"OS"=>"Windows XP (Build 2600, Service Pack 2).", "Computer"=>"VM-WINXPPRO"}51* Closing socket525354