Changeset 3807
- Timestamp:
- 08/07/06 22:29:26 (2 years ago)
- Files:
-
- framework3/trunk/data/passivex/passivex.dll (modified) (previous)
- framework3/trunk/external/source/passivex/passivex.sln (added)
- framework3/trunk/external/source/passivex/passivex.vcproj (added)
- framework3/trunk/lib/msf/core/handler/passivex.rb (modified) (1 diff)
- framework3/trunk/lib/rex/io/stream_server.rb (modified) (1 diff)
- framework3/trunk/lib/rex/proto/http/server.rb (modified) (1 diff)
- framework3/trunk/lib/rex/service.rb (modified) (1 diff)
- framework3/trunk/lib/rex/service_manager.rb (modified) (1 diff)
- framework3/trunk/lib/rex/services/local_relay.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework3/trunk/lib/msf/core/handler/passivex.rb
r3654 r3807 117 117 end 118 118 rescue ::Exception 119 dlog("PassiveX:#{self} Exception during remote queue flush: #{$!}", 'core', LEV_0) 119 120 end 120 121 end framework3/trunk/lib/rex/io/stream_server.rb
r3496 r3807 91 91 clients.delete(client) 92 92 93 client.close 93 begin 94 client.close 95 rescue IOError 96 end 94 97 end 95 98 end framework3/trunk/lib/rex/proto/http/server.rb
r3616 r3807 111 111 112 112 # 113 # Returns the hardcore alias for the HTTP service 114 # 115 def self.hardcore_alias(*args) 116 "#{(args[0] || '')}#{(args[1] || '')}" 117 end 118 119 # 113 120 # HTTP server. 114 121 # framework3/trunk/lib/rex/service.rb
r3004 r3807 17 17 18 18 # 19 # Returns the hardcore, as in porno, alias for this service. This is used 20 # by the service manager to manage singleton services. 21 # 22 def self.hardcore_alias(*args) 23 return "__#{args.to_s}" 24 end 25 26 # 19 27 # Calls stop on the service once the ref count drops. 20 28 # framework3/trunk/lib/rex/service_manager.rb
r3029 r3807 51 51 def start(klass, *args) 52 52 # Get the hardcore alias. 53 hals = hardcore_alias(klass,*args)53 hals = "#{klass.to_s}" + klass.hardcore_alias(*args) 54 54 55 55 # Has a service already been constructed for this guy? If so, increment framework3/trunk/lib/rex/services/local_relay.rb
r3201 r3807 116 116 117 117 # 118 # Returns the hardcore alias for the local relay service. 119 # 120 def self.hardcore_alias(*args) 121 "__#{args.to_s}" 122 end 123 124 # 118 125 # Returns the alias for this service. 119 126 #
