Fix this error:
error error_class NoMethodError error_string undefined method `state=' for #<Msf::RPC::Service:0x000000094ddd58> error_backtrace lib/msf/core/rpc/v10/service.rb:76:in `stop'1 lib/msf/core/rpc/v10/rpc_core.rb:14:in `rpc_stop'9 lib/msf/core/rpc/v10/service.rb:149:in `block in process') lib/ruby/1.9.1/timeout.rb:57:in `timeout'0 lib/msf/core/rpc/v10/service.rb:149:in `process'6 lib/msf/core/rpc/v10/service.rb:89:in `on_request_uri'6 lib/msf/core/rpc/v10/service.rb:70:in `block in start'/ lib/rex/proto/http/handler/proc.rb:37:in `call'5 lib/rex/proto/http/handler/proc.rb:37:in `on_request'6 lib/rex/proto/http/server.rb:354:in `dispatch_request'4 lib/rex/proto/http/server.rb:288:in `on_client_data'4 lib/rex/proto/http/server.rb:148:in `block in start'( lib/rex/io/stream_server.rb:47:in `call'2 lib/rex/io/stream_server.rb:47:in `on_client_data'= lib/rex/io/stream_server.rb:191:in `block in monitor_clients') lib/rex/io/stream_server.rb:189:in `each'4 lib/rex/io/stream_server.rb:189:in `monitor_clients'2 lib/rex/io/stream_server.rb:72:in `block in start'& lib/rex/thread_factory.rb:21:in `call'0 lib/rex/thread_factory.rb:21:in `block in spawn'+ lib/msf/core/thread_manager.rb:64:in `call'5 lib/msf/core/thread_manager.rb:64:in `block in spawn' error_message undefined method `state=' for #<Msf::RPC::Service:0x000000094ddd58> git-svn-id: file:///home/svn/framework3/trunk@13614 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
425a032a31
commit
c8a0039b98
|
@ -73,7 +73,6 @@ class Service
|
|||
end
|
||||
|
||||
def stop
|
||||
self.state = {}
|
||||
self.service.stop
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue