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
|
|
|
|
include Msf::Handler
|
2011-11-20 01:32:06 +00:00
|
|
|
|
2005-07-17 06:01:11 +00:00
|
|
|
#
|
2005-11-15 15:11:43 +00:00
|
|
|
# Returns the handler type of none since payloads that use this handler
|
|
|
|
# have no connection.
|
2005-07-17 06:01:11 +00:00
|
|
|
#
|
|
|
|
def self.handler_type
|
|
|
|
return "none"
|
|
|
|
end
|
2005-11-15 15:11:43 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Returns none to indicate no connection.
|
|
|
|
#
|
2005-10-19 01:48:10 +00:00
|
|
|
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
|