From c8a0039b98dcbbae7e2b12bd6cc4f6e43e48d980 Mon Sep 17 00:00:00 2001 From: Matt Weeks Date: Tue, 23 Aug 2011 23:20:20 +0000 Subject: [PATCH] Fix this error: error error_class NoMethodError error_string undefined method `state=' for # 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 # git-svn-id: file:///home/svn/framework3/trunk@13614 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/rpc/v10/service.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/msf/core/rpc/v10/service.rb b/lib/msf/core/rpc/v10/service.rb index 2d2c6f3fec..83e29f2641 100644 --- a/lib/msf/core/rpc/v10/service.rb +++ b/lib/msf/core/rpc/v10/service.rb @@ -73,7 +73,6 @@ class Service end def stop - self.state = {} self.service.stop end