Method: Msf::Plugin::MSGRPC#run

Defined in:
plugins/msgrpc.rb

#runObject

The meat of the plugin, sets up handlers for requests


91
92
93
94
95
96
97
98
99
100
# File 'plugins/msgrpc.rb', line 91

def run
  # Start the actual service
  server.start

  # Register
  framework.threads.register(Thread.current, 'MetasploitRPCServer', true)

  # Wait for the service to complete
  server.wait
end