metasploit-framework/lib/msf/core/handler/none.rb

32 lines
418 B
Ruby
Raw Normal View History

# -*- coding: binary -*-
module Msf
module Handler
###
#
# The 'none' handler, for no connection.
#
###
module None
2013-08-30 21:28:33 +00:00
include Msf::Handler
2013-08-30 21:28:33 +00:00
#
# Returns the handler type of none since payloads that use this handler
# have no connection.
#
def self.handler_type
return "none"
end
2013-08-30 21:28:33 +00:00
#
# Returns none to indicate no connection.
#
def self.general_handler_type
return "none"
end
end
end
end