2012-06-29 05:18:28 +00:00
|
|
|
# -*- coding: binary -*-
|
2005-07-17 06:01:11 +00:00
|
|
|
module Msf
|
|
|
|
module Handler
|
|
|
|
|
|
|
|
###
|
|
|
|
#
|
|
|
|
# The 'none' handler, for no connection.
|
|
|
|
#
|
|
|
|
###
|
|
|
|
module None
|
2013-08-30 21:28:33 +00:00
|
|
|
include Msf::Handler
|
2011-11-20 01:32:06 +00:00
|
|
|
|
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
|
2005-11-15 15:11:43 +00:00
|
|
|
|
2013-08-30 21:28:33 +00:00
|
|
|
#
|
|
|
|
# Returns none to indicate no connection.
|
|
|
|
#
|
|
|
|
def self.general_handler_type
|
|
|
|
return "none"
|
|
|
|
end
|
2005-07-17 06:01:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
2011-11-20 01:32:06 +00:00
|
|
|
end
|