Skip to content

Commit

Permalink
Remove use of ActiveSupport::Deprecator until we're sure of implicati…
Browse files Browse the repository at this point in the history
…ons on 3rd-party tools
  • Loading branch information
ekalinichev-r7 committed Mar 27, 2024
1 parent 10c84d9 commit 35cc9f5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/msf/core/rpc/v10/rpc_session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@ module Msf
module RPC
class RPC_Session < RPC_Base

def initialize(service)
@deprecator = ActiveSupport::Deprecation.new('7.0', 'metasploit-framework')
@deprecator.deprecate_methods(
self.class,
rpc_meterpreter_read: :rpc_interactive_read,
rpc_meterpreter_write: :rpc_interactive_write
)
super(service)
end

# Returns a list of sessions that belong to the framework instance used by the RPC service.
#
# @return [Hash] Information about sessions. Each key is the session ID, and each value is a hash
Expand Down

0 comments on commit 35cc9f5

Please sign in to comment.